ulxr::MethodCallParserBase Class Reference
[Low-level parser classes]

An xml parser for a MethodCall. More...

#include <ulxr_callparse_base.h>

Inheritance diagram for ulxr::MethodCallParserBase:

Inheritance graph
[legend]
Collaboration diagram for ulxr::MethodCallParserBase:

Collaboration graph
[legend]
List of all members.

Public Types

enum  CallState {
  eMethodCall = ValueParserBase::eValueParserLast, eMethodName, eParams, eParam,
  eCallParserLast
}

Public Member Functions

virtual ~MethodCallParserBase ()
 Destroy parser.
unsigned numParams () const
 Gets the number of parameters in the method call.
Value getParam (unsigned ind) const
 Gets the amount of parameters in the method call.
CppString getMethodName () const
 Gets the name of the method.
MethodCall getMethodCall () const
 Gets the complete MethodCall with all its data.

Protected Attributes

MethodCall methodcall

Detailed Description

An xml parser for a MethodCall.

Definition at line 45 of file ulxr_callparse_base.h.


Member Enumeration Documentation

enum ulxr::MethodCallParserBase::CallState

Enumerator:
eMethodCall 
eMethodName 
eParams 
eParam 
eCallParserLast 

Definition at line 74 of file ulxr_callparse_base.h.


Constructor & Destructor Documentation

ulxr::MethodCallParserBase::~MethodCallParserBase (  )  [virtual]

Destroy parser.

Definition at line 40 of file ulxr_callparse_base.cpp.


Member Function Documentation

unsigned ulxr::MethodCallParserBase::numParams (  )  const

Gets the number of parameters in the method call.

Returns:
amount of parameters.

Definition at line 45 of file ulxr_callparse_base.cpp.

Value ulxr::MethodCallParserBase::getParam ( unsigned  ind  )  const

Gets the amount of parameters in the method call.

Parameters:
ind index of the parameter
Returns:
Value of the parameter

Definition at line 51 of file ulxr_callparse_base.cpp.

CppString ulxr::MethodCallParserBase::getMethodName (  )  const

Gets the name of the method.

Returns:
the method name.

Definition at line 57 of file ulxr_callparse_base.cpp.

MethodCall ulxr::MethodCallParserBase::getMethodCall (  )  const

Gets the complete MethodCall with all its data.

Returns:
the method.

Definition at line 63 of file ulxr_callparse_base.cpp.

Referenced by ulxr::HttpServer::executeHttpRPC(), funtik::MultiProcessRpcServer::handleXmlRequest(), and ulxr::Dispatcher::waitForCall().


Member Data Documentation

MethodCall ulxr::MethodCallParserBase::methodcall [protected]

Definition at line 85 of file ulxr_callparse_base.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:01 2007 for ulxmlrpcpp by  doxygen 1.5.1