class DOCallContext : public nn::nex::CallContext
Manages asynchronous execution on duplicated objects.
This class is used for remote method calls (RMC) on duplicated objects, fetching duplicated objects, and migrating duplicated objects.
Type
|
Enumerated type that represents the call type. | |
---|---|---|
Flags
|
Enumerated type that defines flags that can be used in the CallContext . |
|
Outcome
|
Enumerated type that represents the result of a call. | |
State
|
Enumerated type that represents the CallContext state. (Inherits CallContext .) |
CompletionCallback
|
Defines CompletionCallback . (Inherits CallContext .) |
---|
DOCallContext | Initializes an object. | |
---|---|---|
SetTargetStation
|
Sets the target station of the call. | |
GetTargetStation
|
Gets the target station of the call. | |
V |
FlagsAreValid
|
Gets whether the combination of flags (Flags ) is valid. |
ClearTargets | Clears the target station(s) that have previously been set for this DOCallContext . |
|
Wait
|
Forces the system to wait until asynchronous processes complete or the timeout is exceeded. | |
Cancel
|
The call is automatically canceled if DOCallContext is deleted. |
|
SetSubStreamID
|
For reliable communication, specifies the SubStreamID to use during sending. |
|
GetSubStreamID
|
For reliable communication, gets the SubStreamID to use during sending. |
|
GetOutcome
|
Gets the result of the asynchronous process as DOCallContext::Outcome . |
|
V |
Trace
|
Traces the content of this CallContext object. Automatically disabled when executed in release mode. |
SetTimeout
|
Sets a timeout for asynchronous processes. (Inherits CallContext .) |
|
GetState
|
Returns the current CallContext state. (Inherits CallContext .) |
|
SetUserContext
|
Sets the UserContext associated with this CallContext . (Inherits CallContext .) |
|
GetUserContext
|
Returns the UserContext associated with this CallContext . (Inherits CallContext .) |
|
SetFlag
|
Sets the flags used for asynchronous processes. (Inherits CallContext .) |
|
ClearFlag
|
Clears the flags that were set using SetFlag . (Inherits CallContext .) |
|
FlagIsSet
|
Returns whether a particular flag has been set. (Inherits CallContext .) |
|
RegisterCompletionCallback
|
Sets the operation to execute when this CallContext completes. (Inherits CallContext .) |
|
Reset
|
Resets the CallContext state to Available . (Inherits CallContext .) |
|
AcquireRef
|
Increments the reference count by 1. (Inherits RefCountedObject .) |
|
ReleaseRef
|
Decrements the reference count by 1. Deletes itself when the count reaches 0 . (Inherits RefCountedObject .) |
|
S |
GetOutcomeString
|
Converts to a name corresponding to the DOCallContext::Outcome value. |
nn::nex::RootObject
nn::nex::RefCountedObject
nn::nex::CallContext
nn::nex::DOCallContext
CONFIDENTIAL