public static interface DOF.State extends DOFImmutable
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.Modifier and Type | Method and Description |
---|---|
int |
getConnectionLimit()
Gets the maximum number of connections, both inbound and outbound, that a DOF currently supports.
|
java.lang.String |
getName()
Gets the name of the DOF.
|
DOFProtocolFactory |
getProtocolFactory()
Gets the protocol factory in use by the DOF.
|
short |
getRank()
Gets the node's rank, which represents its desire to manage a secure multicast group.
|
DOFObjectID.Source |
getSourceID()
Gets the identifier that is used for the DOF's operations in the unsecured domain.
|
short |
getThreadPoolSize()
Gets the maximum number of threads that the DOF can create to process requests.
|
boolean |
isParameterValidation()
|
boolean |
isRouter()
Discovers whether a DOF is configured as a router.
|
DOFObjectID.Source getSourceID()
DOF.Config.Builder.setSourceID(org.opendof.core.oal.DOFObjectID.Source)
boolean isRouter()
DOF.Config.Builder.setRouter(boolean)
java.lang.String getName()
DOF.setName(java.lang.String)
. It may also change
when a DOF is rebooted if the name is assigned dynamically.DOF.Config.Builder.setName(java.lang.String)
int getConnectionLimit()
DOF.setConnectionLimit(int)
.DOF.Config.Builder.setConnectionLimit(int)
short getThreadPoolSize()
DOF.setThreadPoolSize(short)
.DOF.Config.Builder.setThreadPoolSize(short)
short getRank()
DOF.setRank(short)
.DOF.Config.Builder.setRank(short)
DOFProtocolFactory getProtocolFactory()
DOF.setProtocolFactory(org.opendof.core.oal.DOFProtocolFactory)
.DOF.Config.Builder.setProtocolFactory(org.opendof.core.oal.DOFProtocolFactory)
boolean isParameterValidation()
DOFValue
objects to verify
that the associated DOFType
matches a required type.DOF.Config.Builder.setParameterValidation(boolean)