DOFState InterfaceOpenDOF Object Access Library
A State instance represents a snapshot of the DOF's configuration information as it exists at the moment when you call DOF.getState() . After calling DOF.getState, use the methods of this interface to retrieve specific information about the DOF's configuration. Because the DOF's configuration information may change, you should call DOF.getState() again each time you want updated information.

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

C#
public interface State : DOFImmutable

The DOFState type exposes the following members.

Methods

  NameDescription
Public methodgetConnectionLimit
Gets the maximum number of connections, both inbound and outbound, that a DOF currently supports.
Public methodgetName
Gets the name of the DOF.
Public methodgetProtocolFactory
Gets the protocol factory in use by the DOF.
Public methodgetRank
Gets the node's rank, which represents its desire to manage a secure multicast group.
Public methodgetSourceID
Gets the identifier that is used for the DOF's operations in the unsecured domain.
Public methodgetThreadPoolSize
Gets the maximum number of threads that the DOF can create to process requests.
Public methodisParameterValidation
Checks whether the DOF validates DOFValue objects to verify that the associated DOFType matches a required type.
Public methodisRouter
Discovers whether a DOF is configured as a router.
Top
See Also

Reference