
Public Member Functions | |
| XmlRpcClientForTest (const char *host, int port, const char *uri=0) | |
Public Member Functions inherited from XmlRpc::XmlRpcClient | |
| virtual void | close () |
| Close the connection. More... | |
| bool | execute (const char *method, XmlRpcValue const ¶ms, XmlRpcValue &result) |
| bool | executeCheckDone (XmlRpcValue &result) |
| bool | executeNonBlock (const char *method, XmlRpcValue const ¶ms) |
| const std::string & | getHost () |
| int | getPort () const |
| const std::string & | getUri () |
| virtual unsigned | handleEvent (unsigned eventType) |
| bool | isFault () const |
| Returns true if the result of the last execute() was a fault response. More... | |
| XmlRpcClient (const char *host, int port, const char *uri=0) | |
| virtual | ~XmlRpcClient () |
| Destructor. More... | |
Public Member Functions inherited from XmlRpc::XmlRpcSource | |
| int | getfd () const |
| Return the file descriptor being monitored. More... | |
| bool | getKeepOpen () const |
| Return whether the file descriptor should be kept open if it is no longer monitored. More... | |
| void | setfd (int fd) |
| Specify the file descriptor to monitor. More... | |
| void | setKeepOpen (bool b=true) |
| Specify whether the file descriptor should be kept open if it is no longer monitored. More... | |
| XmlRpcSource (int fd=-1, bool deleteOnClose=false) | |
| virtual | ~XmlRpcSource () |
| Destructor. More... | |
Additional Inherited Members | |
Public Attributes inherited from XmlRpc::XmlRpcClient | |
| int | _bytesWritten |
| int | _contentLength |
| XmlRpcDispatch | _disp |
| bool | _eof |
| bool | _executing |
| std::string | _header |
| bool | _isFault |
| std::string | _request |
| std::string | _response |
| int | _sendAttempts |
Static Public Attributes inherited from XmlRpc::XmlRpcClient | |
| static const char | FAULT_TAG [] = "<fault>" |
| static const char | METHODRESPONSE_TAG [] = "<methodResponse>" |
| static const char | PARAM_ETAG [] = "</param>" |
| static const char | PARAM_TAG [] = "<param>" |
| static const char | PARAMS_ETAG [] = "</params>" |
| static const char | PARAMS_TAG [] = "<params>" |
| static const char | REQUEST_BEGIN [] |
| static const char | REQUEST_END [] = "</methodCall>\r\n" |
| static const char | REQUEST_END_METHODNAME [] = "</methodName>\r\n" |
Protected Types inherited from XmlRpc::XmlRpcClient | |
| enum | ClientConnectionState { NO_CONNECTION, CONNECTING, WRITE_REQUEST, READ_HEADER, READ_RESPONSE, IDLE } |
Protected Member Functions inherited from XmlRpc::XmlRpcClient | |
| virtual bool | doConnect () |
| virtual std::string | generateHeader (size_t length) const |
| virtual bool | generateRequest (const char *method, XmlRpcValue const ¶ms) |
| virtual bool | parseResponse (XmlRpcValue &result) |
| virtual bool | readHeader () |
| virtual bool | readResponse () |
| virtual bool | setupConnection () |
| virtual bool | writeRequest () |
Static Protected Member Functions inherited from XmlRpc::XmlRpcClient | |
| static const char * | connectionStateStr (ClientConnectionState state) |
Protected Attributes inherited from XmlRpc::XmlRpcClient | |
| ClientConnectionState | _connectionState |
| std::string | _host |
| int | _port |
| std::string | _uri |
Definition at line 37 of file test_client.cpp.
|
inline |
Definition at line 40 of file test_client.cpp.