activemq-cpp-3.4.0
|
OutputStream filter that just logs the data being written. More...
#include <src/main/activemq/io/LoggingOutputStream.h>
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) |
OutputStream filter that just logs the data being written.
activemq::io::LoggingOutputStream::LoggingOutputStream | ( | OutputStream * | next, |
bool | own = false |
||
) |
Constructor.
next | The OutputStream to wrap an write logs to. |
own | If true, this object will control the lifetime of the output stream that it encapsulates. |
virtual activemq::io::LoggingOutputStream::~LoggingOutputStream | ( | ) | [virtual] |
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.