Control MethodsOpenDOF Object Access Library

The DOFOperationControl type exposes the following members.

Methods

  NameDescription
Public methodaddProviderExclusion
Add a variable number of providers to the list of providers who should not respond to requests made using this Control.
Public methodaddProviderExclusions
Add to the list of providers (DOFObjectID's) who should not respond to requests made using this Control.
Public methodclearProviderExclusions
Clear the list of provider exclusions.
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodgetAckTimeout
Get the maximum time allowed for this operation to be acknowledged.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodgetHeuristic
Get the value indicating randomized acceptance of the operation.
Public methodgetMaxCacheAge
Return the maximum acceptable age of a cached value.
Public methodgetMaxResponderCount
Get the maximum number of desired responders.
Public methodgetProviderExclusions
Get provider exclusions.
Public methodgetResponseLevel
Get the operation's level of verbosity for responses.
Public methodgetRetryPeriod
Get the retry period.
Public methodgetRetryTime
Get the RetryTime.
Public methodgetTargetConnection
Get the target connection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisAutoExclude
Is the operation auto exclude?

NOTE: This is ignored for OAP Unicast operations (see DOFObjectID.isUnicast() , and DOFOperation.Session, DOFOperation.Register and DOFOperation.Subscribe.

Public methodisDefault
Check whether this Control is equal to the default Control.
Public methodisDelay
Return whether or not receiving nodes should cause responses to be randomly distributed across the operation's lifetime.
Public methodisFloodAllowed
Get whether the operation allows broadcast.
Public methodmarshal
Public methodsetAckTimeout
Set the maximum time to allow for the operation to be acknowledged.
Public methodsetAutoExclude
Set whether or not providers, who have previously responded, are automatically excluded when a request made using this Control is retried.
Public methodsetDelay
Set whether or not receiving nodes should cause responses to be randomly distributed across the operation's lifetime.
Public methodsetFloodAllowed
Set whether or not unicast requests (requests made on an object with a specific object ID, not
DOFObjectID.BROADCAST
) can be broadcast when there is no known route to a provider.
Public methodsetHeuristic
Set randomized acceptance of the operation.
Public methodsetMaxCacheAge
Set the maximum acceptable age of a cached value.
Public methodsetMaxResponderCount
Sets the maximum number of desired responders.
Public methodsetResponseLevel
Set the level of verbosity for responses for requests made using this Control.
Public methodsetRetryPeriod
Set a periodic retry period for requests made using this Control.
Public methodsetRetryTime
Set a retry retryTime to dynamically determine each retry period.
Public methodsetTargetConnection
Set the connection that the request must use.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference