DOFConfigBuildersetRouter Method OpenDOF Object Access Library
Sets whether a DOF will route operations other than those it directly requests or provides.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFConfigBuilder setRouter(
	bool isRouter
)

Parameters

isRouter
Type: SystemBoolean
True sets the node to be a centralized router. False sets the node to be a network endpoint.

Return Value

Type: DOFConfigBuilder
The Builder, with routing set to the new value.
Remarks

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 the operations that they initiate or that are addressed to them.

The default Builder has routing set to false.

See Also

Reference