OpenDOF Project
boolean DOFConfigBuilder_SetRouter ( DOFConfigBuilder  self,
boolean  isRouter 
)

Sets whether a DOF will route operations other than those it directly requests or provides.

A DOF that is a router becomes a centralized node in the network topology (a proxy in DOF architecture), capable of routing operations between other requestors and providers. DOFs that are not routers act as network endpoints and route only operations they initiate or that are addressed to them.

The default DOFConfigBuilder has routing set to FALSE.

Parameters
selfthe DOFConfigBuilder to set the routing value in. This must not be NULL.
isRouterTRUE sets the node to be a centralized router. FALSE sets the node to be a network endpoint.
Returns
TRUE if routing was set in the DOFConfigBuilder.
Exceptions
FALSEif routing could not be set. The DOFConfigBuilder remains unchanged.
See Also
DOFState_IsRouter
DOFConfig_IsRouter
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22