#include <NetMessageProtocol.h>
Public Member Functions | |
NetMessageProtocol () | |
virtual | ~NetMessageProtocol () |
Object * | clone () const |
bool | checkBufferForCompatibility (char *buffer, int length) |
bool | initializeConversation (JSocket *socket) |
bool | initializeAsReceiver (JSocket *socket, JString from) |
bool | sendObject (JSocket *socket, Message *msg, bool isReply) |
Message * | receiveObject (JSocket *socket, int timeout) |
long | getLongFromBytes (char *buffer) |
bool | writeLongToBytes (char *buffer, long val) |
Definition at line 39 of file NetMessageProtocol.h.
cmlabs::NetMessageProtocol::NetMessageProtocol | ( | ) |
Definition at line 33 of file NetMessageProtocol.cpp.
cmlabs::NetMessageProtocol::~NetMessageProtocol | ( | ) | [virtual] |
Definition at line 38 of file NetMessageProtocol.cpp.
Object * cmlabs::NetMessageProtocol::clone | ( | ) | const [virtual] |
bool cmlabs::NetMessageProtocol::checkBufferForCompatibility | ( | char * | buffer, | |
int | length | |||
) | [virtual] |
bool cmlabs::NetMessageProtocol::initializeConversation | ( | JSocket * | socket | ) | [virtual] |
long cmlabs::NetMessageProtocol::getLongFromBytes | ( | char * | buffer | ) |
Definition at line 552 of file NetMessageProtocol.cpp.
bool cmlabs::NetMessageProtocol::writeLongToBytes | ( | char * | buffer, | |
long | val | |||
) |
Definition at line 559 of file NetMessageProtocol.cpp.