activemq-cpp-3.4.0

activemq::io::LoggingOutputStream Class Reference

OutputStream filter that just logs the data being written. More...

#include <src/main/activemq/io/LoggingOutputStream.h>

Inheritance diagram for activemq::io::LoggingOutputStream:

Public Member Functions

 LoggingOutputStream (OutputStream *next, bool own=false)
 Constructor.
virtual ~LoggingOutputStream ()

Protected Member Functions

virtual void doWriteByte (unsigned char c)
virtual void doWriteArrayBounded (const unsigned char *buffer, int size, int offset, int length)

Detailed Description

OutputStream filter that just logs the data being written.


Constructor & Destructor Documentation

activemq::io::LoggingOutputStream::LoggingOutputStream ( OutputStream *  next,
bool  own = false 
)

Constructor.

Parameters:
nextThe OutputStream to wrap an write logs to.
ownIf true, this object will control the lifetime of the output stream that it encapsulates.
virtual activemq::io::LoggingOutputStream::~LoggingOutputStream ( ) [virtual]

Member Function Documentation

virtual void activemq::io::LoggingOutputStream::doWriteArrayBounded ( const unsigned char *  buffer,
int  size,
int  offset,
int  length 
) [protected, virtual]

Reimplemented from decaf::io::FilterOutputStream.

virtual void activemq::io::LoggingOutputStream::doWriteByte ( unsigned char  c) [protected, virtual]

Reimplemented from decaf::io::FilterOutputStream.


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