cmlabs::NetMessageProtocol Class Reference

#include <NetMessageProtocol.h>

Inheritance diagram for cmlabs::NetMessageProtocol:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::NetMessageProtocol:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NetMessageProtocol ()
virtual ~NetMessageProtocol ()
Objectclone () 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)
MessagereceiveObject (JSocket *socket, int timeout)
long getLongFromBytes (char *buffer)
bool writeLongToBytes (char *buffer, long val)


Detailed Description

Definition at line 39 of file NetMessageProtocol.h.


Constructor & Destructor Documentation

cmlabs::NetMessageProtocol::NetMessageProtocol (  ) 

Definition at line 33 of file NetMessageProtocol.cpp.

cmlabs::NetMessageProtocol::~NetMessageProtocol (  )  [virtual]

Definition at line 38 of file NetMessageProtocol.cpp.


Member Function Documentation

Object * cmlabs::NetMessageProtocol::clone (  )  const [virtual]

Implements cmlabs::NetProtocol.

Definition at line 43 of file NetMessageProtocol.cpp.

bool cmlabs::NetMessageProtocol::checkBufferForCompatibility ( char *  buffer,
int  length 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 50 of file NetMessageProtocol.cpp.

bool cmlabs::NetMessageProtocol::initializeConversation ( JSocket socket  )  [virtual]

Implements cmlabs::NetProtocol.

Definition at line 67 of file NetMessageProtocol.cpp.

bool cmlabs::NetMessageProtocol::initializeAsReceiver ( JSocket socket,
JString  from 
) [virtual]

Reimplemented from cmlabs::NetProtocol.

Definition at line 74 of file NetMessageProtocol.cpp.

bool cmlabs::NetMessageProtocol::sendObject ( JSocket socket,
Message msg,
bool  isReply 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 136 of file NetMessageProtocol.cpp.

Message * cmlabs::NetMessageProtocol::receiveObject ( JSocket socket,
int  timeout 
) [virtual]

Implements cmlabs::NetProtocol.

Definition at line 327 of file NetMessageProtocol.cpp.

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.


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

Generated on Tue Jul 7 16:23:27 2009 for CoreLibrary by  doxygen 1.5.6