nn::rdt::CTR::Receiver::Wait Member Function

Syntax

nn::Result Wait(
     void
);

Arguments

None.

Return Values

Returns success if the request was accepted. The function will return failure if it is called when the state of the instance is anything other than RECEIVER_STATE_CLOSED. Specifically, the following values may be returned: ResultSuccess, ResultNotInitialized, and ResultUntimelyFunctionCall.

Description

Issues a request to wait for a connection.

Issues a request to wait for a remote Sender instance to issue a connection request. If the call to this function succeeds, the state will transition to RECEIVER_STATE_WAITING. The actual wait operation is done within the Process function.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL