Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

FuncCallStreamer Class Reference

#include <funccallstreamer.hpp>

Inheritance diagram for FuncCallStreamer:

Inheritance graph
[legend]
Collaboration diagram for FuncCallStreamer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Named buffer reader XML handler class.

Definition at line 55 of file funccallstreamer.hpp.

Public Methods

 FuncCallStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput)
 ~FuncCallStreamer ()
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.



Constructor & Destructor Documentation

BEGIN_XDFLENGINE_NS FuncCallStreamer::FuncCallStreamer const XMLStreamerFactory   p_pParent,
StreamerParams   p_pParameters,
XMLFlowContext   p_pContext,
XMLStreamConsumer   p_pOutput
 

Definition at line 56 of file funccallstreamer.cpp.

References DEBUG_CREATE.

FuncCallStreamer::~FuncCallStreamer  
 

Definition at line 66 of file funccallstreamer.cpp.

References DEBUG_DEL.


Member Function Documentation

bool FuncCallStreamer::commitStream bool    p_fFinal [virtual]
 

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.

Reimplemented from XMLStreamer.

Definition at line 103 of file funccallstreamer.cpp.

References XMLFlowContext::addNamedBuffer(), XMLFlowContext::addParameter(), CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, XMLProcessor::execute(), FUNCCALLSTREAMER_TAGNAME, VAarray< char * >::get(), XMLFlowContext::getEncoding(), VAarray< char * >::getKey(), XMLStreamer::getParamValue(), XMLFlowContext::getProcessor(), XMLFlowContext::getThreadId(), XMLStreamer::m_pContext, XMLStreamer::m_pParameters, XMLStreamer::m_pParent, ON_XML_FLOW_ERROR_THROW, PREP_CATCH_XML_FLOW_ERROR, XMLFlowContext::removeNamedBuffer(), VAarray< char * >::size(), THROW_XMLFLOW_EXCEPTION, WATCH_XML_FLOW_ERROR, and XMLFlowContext.

bool FuncCallStreamer::initStream   [virtual]
 

Stream beginning notifier.
This function is called before receiving any byte of the input XML stream. It should performs init tasks.

Returns:
Not used, should return TRUE.

Reimplemented from XMLStreamer.

Definition at line 76 of file funccallstreamer.cpp.

References DEBUG_IN, DEBUG_OUT, XMLFlowContext::getProcessor(), and XMLStreamer::m_pContext.

void FuncCallStreamer::writeData const char *    p_pszData,
unsigned int    p_uiDataLen
[virtual]
 

XML Stream reception function.
This function is called to write input XML stream to the Streamer.

Parameters:
p_pszData XML stream chunk.
p_uiDataLen XML stream chunk length.

Reimplemented from XMLStreamer.

Definition at line 91 of file funccallstreamer.cpp.

References DEBUG_IN, and DEBUG_OUT.


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:24:07 2003 for XDFLengine by doxygen1.3-rc2