OverSim
XmlRpcInterface::XmlRpcConnectionState Struct Reference

#include <XmlRpcInterface.h>

Public Attributes

ServerConnectionState _connectionState
 Current IO state for the connection.
std::string _header
 Request headers.
int _contentLength
 Number of bytes expected in the request body (parsed from header)
std::string _request
 Request body.
std::string _response
 Response.
int _bytesWritten
 Number of bytes of the response written so far.
bool _keepAlive
 Whether to keep the current client connection open for further requests.
SOCKET appFd
 the fd for the current app socket
bool localhost
 true, if the connection is from localhost
uint32_t pendingRpc
 the nonce of the pending internal RPC this connection is waiting for

Detailed Description

Definition at line 66 of file XmlRpcInterface.h.

Member Data Documentation

int XmlRpcInterface::XmlRpcConnectionState::_bytesWritten

Number of bytes of the response written so far.

Definition at line 83 of file XmlRpcInterface.h.

ServerConnectionState XmlRpcInterface::XmlRpcConnectionState::_connectionState

Current IO state for the connection.

Definition at line 68 of file XmlRpcInterface.h.

int XmlRpcInterface::XmlRpcConnectionState::_contentLength

Number of bytes expected in the request body (parsed from header)

Definition at line 74 of file XmlRpcInterface.h.

std::string XmlRpcInterface::XmlRpcConnectionState::_header

Request headers.

Definition at line 71 of file XmlRpcInterface.h.

bool XmlRpcInterface::XmlRpcConnectionState::_keepAlive

Whether to keep the current client connection open for further requests.

Definition at line 86 of file XmlRpcInterface.h.

std::string XmlRpcInterface::XmlRpcConnectionState::_request

Request body.

Definition at line 77 of file XmlRpcInterface.h.

std::string XmlRpcInterface::XmlRpcConnectionState::_response

Response.

Definition at line 80 of file XmlRpcInterface.h.

SOCKET XmlRpcInterface::XmlRpcConnectionState::appFd

the fd for the current app socket

Definition at line 89 of file XmlRpcInterface.h.

bool XmlRpcInterface::XmlRpcConnectionState::localhost

true, if the connection is from localhost

Definition at line 92 of file XmlRpcInterface.h.

uint32_t XmlRpcInterface::XmlRpcConnectionState::pendingRpc

the nonce of the pending internal RPC this connection is waiting for

Definition at line 95 of file XmlRpcInterface.h.


The documentation for this struct was generated from the following file: