Plasma Engine  2.0
Loading...
Searching...
No Matches
plRemoteMessage Class Reference

Encapsulates all the data that is transmitted when sending or receiving a message with plRemoteInterface. More...

#include <RemoteMessage.h>

Public Member Functions

 plRemoteMessage (plUInt32 uiSystemID, plUInt32 uiMessageID)
 
 plRemoteMessage (const plRemoteMessage &rhs)
 
void operator= (const plRemoteMessage &rhs)
 
Sending
PL_ALWAYS_INLINE void SetMessageID (plUInt32 uiSystemID, plUInt32 uiMessageID)
 For setting the message IDs before sending it.
 
PL_ALWAYS_INLINE plStreamWriterGetWriter ()
 Returns a stream writer to append data to the message.
 
Receiving
PL_ALWAYS_INLINE plStreamReaderGetReader ()
 Returns a stream reader for reading the message data.
 
PL_ALWAYS_INLINE plUInt32 GetApplicationID () const
 
PL_ALWAYS_INLINE plUInt32 GetSystemID () const
 
PL_ALWAYS_INLINE plUInt32 GetMessageID () const
 
PL_ALWAYS_INLINE plArrayPtr< const plUInt8 > GetMessageData () const
 

Friends

class plRemoteInterface
 

Detailed Description

Encapsulates all the data that is transmitted when sending or receiving a message with plRemoteInterface.

Todo
Add move semantics for plRemoteMessage

The documentation for this class was generated from the following files: