#include <logstreamer.hpp>
Inheritance diagram for LogStreamer:
Definition at line 54 of file logstreamer.hpp.
Public Methods | |
LogStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput) | |
~LogStreamer () | |
bool | initStream () |
Stream beginning notifier. This function is called before receiving any byte of the input XML stream. It should performs init tasks. | |
void | writeData (const char *p_pszData, unsigned int p_uiDataLen) |
XML Stream reception function. This function is called to write input XML stream to the Streamer. | |
bool | commitStream (bool p_fFinal=false) |
xML Stream commit function. This function is called to commit a chunk or the whole of the input XML stream. A partial commit means that the data provided since last commit is OK for processing. A final commit means that the whole input stream has been provided and that the streamer should consider the input XML document as complete. |
|
Definition at line 54 of file logstreamer.cpp. |
|
Definition at line 60 of file logstreamer.cpp. |
|
xML Stream commit function.
Reimplemented from XMLStreamer. Definition at line 89 of file logstreamer.cpp. References XMLStreamConsumer::commitStream(), and XMLStreamer::m_pOutput. |
|
Stream beginning notifier.
Reimplemented from XMLStreamer. Definition at line 67 of file logstreamer.cpp. |
|
XML Stream reception function.
Reimplemented from XMLStreamer. Definition at line 74 of file logstreamer.cpp. References allocCharBuffer(), XMLStreamer::m_pOutput, releaseCharBuffer(), and XMLStreamConsumer::writeData(). |