StAsyncOperation is a PowerPlant helper class used by the networking classes to delay thread execution while an asynchronous operation executes.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Source files:
See also:
Purpose:
The constructor creates the object.
Access :
Prototype:
StAsyncOperation();
Purpose:
The destructor destroys the object.
Access :
Prototype:
~StAsyncOperation();
Purpose:
Access :
Prototype:
virtual void AbortOperation();Parameters:
Return:
Purpose:
Access :
Prototype:
static StAsyncOperation *GetThreadOperation(
LThread *inThread ); This method has the following parameter:
Return:
Purpose:
This routine might be called at interrupt time
IMPORTANT: If you override this operation, be sure to override AbortOperation() as well if necessary.
Access :
Prototype:
virtual void Int_AsyncResume( OSStatus inResult );Parameters:
This method has the following parameter:
Return:
Purpose:
Wait for the result by blocking this thread.
Access :
Prototype:
void WaitForResult();Parameters:
Return:
Purpose:
Access :
Prototype:
LThread* mThread;
Purpose:
The storage for the status code.
Access :
Prototype:
OSStatus mResult;
Purpose:
A list of the pending operations.
Access :
Prototype:
static LInterruptSafeList * sPendingOperations;