LDataArrived is a PowerPlant class that assists in the task of sending a message when data arrives via an asynchronous channel.
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:
LDataArrived(
MessageT inMessageType, ResultT inResultCode,
void* inDataBuffer,
UInt32 inDataSize,
LInternetAddress* inRemoteAddress,
Boolean inMustReleaseMemory,
LEndpoint* inEndpoint );
LDataArrived(); /* do not use */
LDataArrived(LDataArrived&); /* do not use */Parameters:
The parameters for this constructor are:
Purpose:
The destructor destroys the object.
Access :
Prototype:
virtual ~LDataArrived();
Purpose:
Retrieve the value of the mDataBuffer data member.
Access :
Prototype:
void* GetDataBuffer() const;Parameters:
Return:
Returns the value of mDataBuffer.
Purpose:
Retrieve the size of the data, held in the mDataSize data member.
Access :
Prototype:
UInt32 GetDataSize() const;Parameters:
Return:
The value of mDataSize.
Purpose:
Retrieve the value of the mRemoteAddress data member.
Access :
Prototype:
LInternetAddress* GetRemoteAddress() const;Parameters:
Return:
The address, held in mRemoteAddress.
Purpose:
Access :
Prototype:
void* mDataBuffer;
Purpose:
Access :
Prototype:
UInt32 mDataSize;
Purpose:
Access :
Prototype:
LInternetAddress* mRemoteAddress;
Purpose:
Whether to release memory or not.
Access :
Prototype:
Boolean mMustReleaseMemory;