cms::BytesMessage Class Reference

#include <BytesMessage.h>

Inheritance diagram for cms::BytesMessage:

cms::Message List of all members.

Public Member Functions

virtual ~BytesMessage ()
virtual void setBodyBytes (const unsigned char *buffer, const unsigned long numBytes)=0 throw ( CMSException )
virtual const unsigned char * getBodyBytes (void) const =0
virtual unsigned long getBodyLength (void) const =0

Constructor & Destructor Documentation

virtual cms::BytesMessage::~BytesMessage  )  [inline, virtual]
 


Member Function Documentation

virtual const unsigned char* cms::BytesMessage::getBodyBytes void   )  const [pure virtual]
 

Gets the bytes that are contained in this message, user should copy this data into a user allocated buffer. Call getBodyLength to determine the number of bytes to expect.

Returns:
const pointer to a byte buffer

virtual unsigned long cms::BytesMessage::getBodyLength void   )  const [pure virtual]
 

Returns the number of bytes contained in the body of this message.

Returns:
number of bytes.

virtual void cms::BytesMessage::setBodyBytes const unsigned char *  buffer,
const unsigned long  numBytes
throw ( CMSException ) [pure virtual]
 

sets the bytes given to the message body.

Parameters:
Byte Buffer to copy
Number of bytes in Buffer to copy
Exceptions:
CMSException 


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 16:39:15 2006 for cms by  doxygen 1.4.5