A class to handle XML RPC requests from a particular client.
More...
#include <XmlRpcServerConnection.h>
A class to handle XML RPC requests from a particular client.
Definition at line 26 of file XmlRpcServerConnection.h.
◆ ServerConnectionState
◆ XmlRpcServerConnection()
XmlRpcServerConnection::XmlRpcServerConnection |
( |
int |
fd, |
|
|
XmlRpcServer * |
server, |
|
|
bool |
deleteOnClose = false |
|
) |
| |
◆ ~XmlRpcServerConnection()
XmlRpcServerConnection::~XmlRpcServerConnection |
( |
| ) |
|
|
virtual |
◆ executeMethod()
bool XmlRpcServerConnection::executeMethod |
( |
const std::string & |
methodName, |
|
|
XmlRpcValue & |
params, |
|
|
XmlRpcValue & |
result |
|
) |
| |
|
protected |
◆ executeMulticall()
bool XmlRpcServerConnection::executeMulticall |
( |
const std::string & |
methodName, |
|
|
XmlRpcValue & |
params, |
|
|
XmlRpcValue & |
result |
|
) |
| |
|
protected |
◆ executeRequest()
void XmlRpcServerConnection::executeRequest |
( |
| ) |
|
|
protectedvirtual |
◆ generateFaultResponse()
void XmlRpcServerConnection::generateFaultResponse |
( |
std::string const & |
msg, |
|
|
int |
errorCode = -1 |
|
) |
| |
|
protected |
◆ generateHeader()
std::string XmlRpcServerConnection::generateHeader |
( |
std::string const & |
body | ) |
|
|
protected |
◆ generateResponse()
void XmlRpcServerConnection::generateResponse |
( |
std::string const & |
resultXml | ) |
|
|
protected |
◆ handleEvent()
unsigned XmlRpcServerConnection::handleEvent |
( |
unsigned |
eventType | ) |
|
|
virtual |
◆ parseRequest()
std::string XmlRpcServerConnection::parseRequest |
( |
XmlRpcValue & |
params | ) |
|
|
protected |
◆ readHeader()
bool XmlRpcServerConnection::readHeader |
( |
| ) |
|
|
protected |
◆ readRequest()
bool XmlRpcServerConnection::readRequest |
( |
| ) |
|
|
protected |
◆ writeResponse()
bool XmlRpcServerConnection::writeResponse |
( |
| ) |
|
|
protected |
◆ _bytesWritten
int XmlRpc::XmlRpcServerConnection::_bytesWritten |
|
protected |
◆ _connectionState
◆ _contentLength
int XmlRpc::XmlRpcServerConnection::_contentLength |
|
protected |
◆ _header
std::string XmlRpc::XmlRpcServerConnection::_header |
|
protected |
◆ _keepAlive
bool XmlRpc::XmlRpcServerConnection::_keepAlive |
|
protected |
◆ _request
std::string XmlRpc::XmlRpcServerConnection::_request |
|
protected |
◆ _response
std::string XmlRpc::XmlRpcServerConnection::_response |
|
protected |
◆ _server
◆ FAULTCODE
const std::string XmlRpcServerConnection::FAULTCODE = "faultCode" |
|
static |
◆ FAULTSTRING
const std::string XmlRpcServerConnection::FAULTSTRING = "faultString" |
|
static |
◆ METHODNAME
const std::string XmlRpcServerConnection::METHODNAME = "methodName" |
|
static |
◆ METHODNAME_TAG
const char XmlRpcServerConnection::METHODNAME_TAG = "<methodName>" |
|
static |
◆ PARAM_ETAG
const char XmlRpcServerConnection::PARAM_ETAG = "</param>" |
|
static |
◆ PARAM_TAG
const char XmlRpcServerConnection::PARAM_TAG = "<param>" |
|
static |
◆ PARAMS
const std::string XmlRpcServerConnection::PARAMS = "params" |
|
static |
◆ PARAMS_ETAG
const char XmlRpcServerConnection::PARAMS_ETAG = "</params>" |
|
static |
◆ PARAMS_TAG
const char XmlRpcServerConnection::PARAMS_TAG = "<params>" |
|
static |
◆ SYSTEM_MULTICALL
const std::string XmlRpcServerConnection::SYSTEM_MULTICALL = "system.multicall" |
|
static |
The documentation for this class was generated from the following files:
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:22