activemq::io::Reader Class Reference

#include <Reader.h>

Inheritance diagram for activemq::io::Reader:

activemq::io::EndianReader activemq::transport::CommandReader activemq::connector::stomp::StompCommandReader List of all members.

Public Member Functions

virtual ~Reader ()
virtual void setInputStream (InputStream *is)=0
virtual InputStreamgetInputStream ()=0
virtual int read (unsigned char *buffer, int count)=0 throw ( IOException )
virtual unsigned char readByte ()=0 throw ( IOException )

Constructor & Destructor Documentation

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


Member Function Documentation

virtual InputStream* activemq::io::Reader::getInputStream  )  [pure virtual]
 

Gets the target input stream.

Implemented in activemq::connector::stomp::StompCommandReader, and activemq::io::EndianReader.

virtual int activemq::io::Reader::read unsigned char *  buffer,
int  count
throw ( IOException ) [pure virtual]
 

Attempts to read an array of bytes from the stream.

Parameters:
buffer The target byte buffer.
count The number of bytes to read.
Returns:
The number of bytes read.
Exceptions:
IOException thrown if an error occurs.

Implemented in activemq::connector::stomp::StompCommandReader, and activemq::io::EndianReader.

virtual unsigned char activemq::io::Reader::readByte  )  throw ( IOException ) [pure virtual]
 

Attempts to read a byte from the input stream

Returns:
The byte.
Exceptions:
IOException thrown if an error occurs.

Implemented in activemq::connector::stomp::StompCommandReader, and activemq::io::EndianReader.

virtual void activemq::io::Reader::setInputStream InputStream is  )  [pure virtual]
 

Sets the target input stream.

Implemented in activemq::connector::stomp::StompCommandReader, and activemq::io::EndianReader.


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