StMacTCPOperation is a PowerPlant class that is used for managing TCPParamBlock and thread blocking for MacTCP interface calls. This keeps a global reference to the MacTCP driver and DNS code segment.
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:
StMacTCPOperation( SInt16 inOperationCode,
StreamPtr inStreamPtr );Parameters:
This constructor has the following parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
~StMacTCPOperation();
Purpose:
Run the operation and return immediately. The completion will appear as a notification on the endpoint.
Functions using this method can NOT be aborted.
Presently used only for LMacTCPTCPEndpoint::SendDisconnect() to mimic behavior of OT.
Access :
Prototype:
void AsyncRun( LMacTCPTCPEndpoint* inEndpoint,
UInt16 inEventCode );Parameters:
This method has the following parameters:
Return:
Purpose:
Return the value of sMacTCPCompletionProc.
Access :
Prototype:
inline TCPIOCompletionUPP GetCompletionProc();Parameters:
Return:
The Completion routine Universal Procedure Pointer (UPP).
Purpose:
Retrieve the value of mTCPParamBlock.
Access :
Prototype:
inline STCPParamBlock& GetParamBlock();Parameters:
Return:
Purpose:
The completion routine for the operation.
Access :
Prototype:
pascal void Int_TCPCompletionProc(
STCPParamBlock* inParamBlock
#if !GENERATINGCFM
: __A0
#endif
); This method has the following parameters:
Return:
Purpose:
Attempt the operation. Check for immediate failure.
Access :
Prototype:
void Run();Parameters:
Return:
Purpose:
Access :
Prototype:
STCPParamBlock * mTCPParamBlock;
Purpose:
The MacTCP completion procedure.
Access :
Prototype:
TCPIOCompletionUPP sMacTCPCompletionProc;
Purpose:
The MacTCP parameter block deletion queue.
Access :
Prototype:
LTCPParamBlockDeleteQueue * sTCPParamBlockDeleteQueue;