ABA_MESSAGE Class Reference

ABA_MESSAGE class implements a message buffer for sending arbitrary objects over a communication stream. It fully encapsulates the underlaying XDR stream which provides machine independant data representation. More...

#include <message.h>

List of all members.

Public Member Functions

 ABA_MESSAGE ()
 ~ABA_MESSAGE ()
 The destructor.
ACE_SOCK_Stream & stream ()

Static Protected Member Functions

Static helper functions to read/write data from/to the stream

static int readit (ABA_MESSAGE *msg, char *buf, int len)
static int writeit (ABA_MESSAGE *msg, const char *buf, int len)

Protected Attributes

ACE_SOCK_Stream stream_


Detailed Description

ABA_MESSAGE class implements a message buffer for sending arbitrary objects over a communication stream. It fully encapsulates the underlaying XDR stream which provides machine independant data representation.

Definition at line 48 of file message.h.


Constructor & Destructor Documentation

ABA_MESSAGE::ABA_MESSAGE (  ) 

The constructor.

A message buffer encapsulates a bidirectional communication stream. The underlaying ACE has to be initialized later by using the member function |stream()|.

ABA_MESSAGE::~ABA_MESSAGE (  ) 

The destructor.


Member Function Documentation

ACE_SOCK_Stream & ABA_MESSAGE::stream (  )  [inline]

Definition at line 75 of file message.h.

static int ABA_MESSAGE::readit ( ABA_MESSAGE msg,
char *  buf,
int  len 
) [static, protected]

static int ABA_MESSAGE::writeit ( ABA_MESSAGE msg,
const char *  buf,
int  len 
) [static, protected]


Member Data Documentation

ACE_SOCK_Stream ABA_MESSAGE::stream_ [protected]

Definition at line 72 of file message.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 14 18:09:58 2007 for ABACUS by  doxygen 1.5.1