Public Member Functions | Static Public Member Functions

netlib::MessageBuffer Class Reference
[Networking API]

#include <message-buffer.h>

Inheritance diagram for netlib::MessageBuffer:
Inheritance graph

List of all members.

Public Member Functions

virtual ~MessageBuffer (void) throw ()
virtual long getBytes (void) const =0 throw ()
virtual const char * getData (void) const =0 throw ()
virtual bool isClosed (void) const =0 throw ()
virtual void reserve (long bytes)=0
virtual void appendData (const char *data, long bytes)=0
virtual void appendToken (const char *token)=0
virtual void close (void)=0

Static Public Member Functions

static smart_ptr< MessageBuffercreate (void)

Detailed Description

basic message object (used for incoming and outgoing messages)

Definition at line 52 of file message-buffer.h.

Constructor & Destructor Documentation

netlib::MessageBuffer::~MessageBuffer ( void   )  throw () [virtual]

Definition at line 42 of file message-buffer.cpp.

Member Function Documentation

virtual long netlib::MessageBuffer::getBytes ( void   )  const throw () [pure virtual]
virtual const char* netlib::MessageBuffer::getData ( void   )  const throw () [pure virtual]
virtual bool netlib::MessageBuffer::isClosed ( void   )  const throw () [pure virtual]
virtual void netlib::MessageBuffer::reserve ( long  bytes  )  [pure virtual]
virtual void netlib::MessageBuffer::appendData ( const char *  data,
long  bytes 
) [pure virtual]
virtual void netlib::MessageBuffer::appendToken ( const char *  token  )  [pure virtual]
virtual void netlib::MessageBuffer::close ( void   )  [pure virtual]
smart_ptr< MessageBuffer > netlib::MessageBuffer::create ( void   )  [static]

Definition at line 175 of file message-buffer.cpp.

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