#include <cachescriptstreamer.hpp>
Inheritance diagram for CacheScriptStreamer:
Definition at line 54 of file cachescriptstreamer.hpp.
Public Methods | |
CacheScriptStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput) | |
~CacheScriptStreamer () | |
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) |
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 56 of file cachescriptstreamer.cpp. References DEBUG_CREATE. |
|
Definition at line 66 of file cachescriptstreamer.cpp. References DEBUG_DEL. |
|
xML Stream commit function.
Reimplemented from XMLStreamer. Definition at line 102 of file cachescriptstreamer.cpp. References CACHESCRIPTSTREAMER_TAGNAME, CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, XMLProcessor::compile(), XMLStreamer::getParamValue(), XMLFlowContext::getProcessor(), XMLFlowContext::getThreadId(), XMLStreamer::m_pContext, ON_XML_FLOW_ERROR_DO, ON_XML_FLOW_ERROR_THROW, PREP_CATCH_XML_FLOW_ERROR, and WATCH_XML_FLOW_ERROR. |
|
Stream beginning notifier.
Reimplemented from XMLStreamer. Definition at line 76 of file cachescriptstreamer.cpp. References DEBUG_IN, DEBUG_OUT, XMLFlowContext::getProcessor(), and XMLStreamer::m_pContext. |
|
XML Stream reception function.
Reimplemented from XMLStreamer. Definition at line 90 of file cachescriptstreamer.cpp. |