Lines Matching refs:XmlRpcServer
2 #include "XmlRpcServer.h"
13 XmlRpcServer::XmlRpcServer()
21 XmlRpcServer::~XmlRpcServer()
32 XmlRpcServer::addMethod(XmlRpcServerMethod* method)
39 XmlRpcServer::removeMethod(XmlRpcServerMethod* method)
48 XmlRpcServer::removeMethod(const std::string& methodName)
58 XmlRpcServer::findMethod(const std::string& name) const
70 XmlRpcServer::bindAndListen(int port, int backlog /*= 5*/)
75 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not create socket (%s).", XmlRpcSocket::getErrorMsg().c_str());
85 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set socket to non-blocking input mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
93 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set SO_REUSEADDR socket option (%s).", XmlRpcSocket::getErrorMsg().c_str());
101 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not bind to specified port (%s).", XmlRpcSocket::getErrorMsg().c_str());
109 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set socket in listening mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
113 XmlRpcUtil::log(2, "XmlRpcServer::bindAndListen: server listening on port %d fd %d", port, fd);
124 XmlRpcServer::work(double msTime)
126 XmlRpcUtil::log(2, "XmlRpcServer::work: waiting for a connection");
135 XmlRpcServer::handleEvent(unsigned /* mask */)
145 XmlRpcServer::acceptConnection()
148 XmlRpcUtil::log(2, "XmlRpcServer::acceptConnection: socket %d", s);
152 XmlRpcUtil::error("XmlRpcServer::acceptConnection: Could not accept connection (%s).", XmlRpcSocket::getErrorMsg().c_str());
157 XmlRpcUtil::error("XmlRpcServer::acceptConnection: Could not set socket to non-blocking input mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
161 XmlRpcUtil::log(2, "XmlRpcServer::acceptConnection: creating a connection");
169 XmlRpcServer::createConnection(int s)
177 XmlRpcServer::removeConnection(XmlRpcServerConnection* sc)
185 XmlRpcServer::exit()
193 XmlRpcServer::shutdown()
210 ListMethods(XmlRpcServer* s) : XmlRpcServerMethod(LIST_METHODS, s) {}
225 MethodHelp(XmlRpcServer* s) : XmlRpcServerMethod(METHOD_HELP, s) {}
245 XmlRpcServer::enableIntrospection(bool enabled)
272 XmlRpcServer::listMethods(XmlRpcValue& result)