activemq::io::OutputStream Class Reference

#include <OutputStream.h>

Inheritance diagram for activemq::io::OutputStream:

activemq::concurrent::Synchronizable activemq::io::BufferedOutputStream activemq::io::ByteArrayOutputStream activemq::network::SocketOutputStream List of all members.

Public Member Functions

virtual ~OutputStream ()
virtual void write (const unsigned char c)=0 throw ( IOException )
virtual void write (const unsigned char *buffer, const int len)=0 throw ( IOException )
virtual void flush ()=0 throw ( IOException )

Detailed Description

Base interface for an output stream.


Constructor & Destructor Documentation

virtual activemq::io::OutputStream::~OutputStream  )  [inline, virtual]
 


Member Function Documentation

virtual void activemq::io::OutputStream::flush  )  throw ( IOException ) [pure virtual]
 

Flushes any pending writes in this output stream.

Exceptions:
IOException 

Implemented in activemq::io::BufferedOutputStream, activemq::io::ByteArrayOutputStream, and activemq::network::SocketOutputStream.

virtual void activemq::io::OutputStream::write const unsigned char *  buffer,
const int  len
throw ( IOException ) [pure virtual]
 

Writes an array of bytes to the output stream.

Parameters:
buffer The array of bytes to write.
len The number of bytes from the buffer to be written.
Exceptions:
IOException thrown if an error occurs.

Implemented in activemq::io::BufferedOutputStream, activemq::io::ByteArrayOutputStream, and activemq::network::SocketOutputStream.

virtual void activemq::io::OutputStream::write const unsigned char  c  )  throw ( IOException ) [pure virtual]
 

Writes a single byte to the output stream.

Parameters:
c the byte.
Exceptions:
IOException thrown if an error occurs.

Implemented in activemq::io::BufferedOutputStream, activemq::io::ByteArrayOutputStream, and activemq::network::SocketOutputStream.


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:33 2006 for activemq-cpp by  doxygen 1.4.5