Main Page | Class Hierarchy | Class List | Class Members

xplMsg * Create int8 const *  _pBuffer  )  [static]
 

Creates an xplMsg.

Creates an xplMsg object from raw message data, exactly as would be sent/received over the network. It also allows the creation of an xplMsg object from a char string. For example, sprintf could be used to assemble the raw message, which would then be converted to an xplMsg object by a call to this method.

Parameters:
_pBuffer pointer to the buffer containing the raw message data.
Returns:
If the buffer contained valid xPL message data, this method returns a pointer to a new xplMsg object, otherwise NULL is returned. The caller is responsible for deleting any return object through a call to xplMsg::Release.
See also:
Destroy, GetAsRawData


Generated on Sun Oct 2 17:22:52 2005 for xPL SDK by  doxygen 1.4.2