public XmlRpcServerMethod(string function_name, XMLRPCFunc func, XmlRpcServer server) { name = function_name; this.server = server; //SegFault(); FUNC = func; if (server != null) server.AddMethod(this); }
public XMLRPCCallWrapper(string function_name, XMLRPCFunc func, XmlRpcServer server) { name = function_name; this.server = server; __instance = create(function_name, server.instance); AddRef(__instance); SegFault(); FUNC = func; }
// The server delegates handling client requests to a serverConnection object. public XmlRpcServerConnection(Socket fd, XmlRpcServer server, bool deleteOnClose /*= false*/) //: base(fd, deleteOnClose) { XmlRpcUtil.log(XmlRpcUtil.XMLRPC_LOG_LEVEL.INFO, "XmlRpcServerConnection: new socket {0}.", fd.RemoteEndPoint.ToString()); this.server = server; socket = fd; stream = new NetworkStream(socket, true); _connectionState = ServerConnectionState.READ_HEADER; KeepOpen = true; _keepAlive = true; }
// The server delegates handling client requests to a serverConnection object. public XmlRpcServerConnection(Socket fd, XmlRpcServer server, bool deleteOnClose /*= false*/) //: base(fd, deleteOnClose) { XmlRpcUtil.log(XmlRpcUtil.XMLRPC_LOG_LEVEL.INFO, "XmlRpcServerConnection: new socket {0}.", fd.RemoteEndPoint.ToString()); this.server = server; socket = fd; stream = new NetworkStream(socket,true); _connectionState = ServerConnectionState.READ_HEADER; KeepOpen = true; _keepAlive = true; }
public XmlRpcServerMethod(string function_name, XMLRPCFunc func, XmlRpcServer server) { name = function_name; this.server = server; //SegFault(); FUNC = func; if (server != null) { server.AddMethod(this); } }
public XmlRpcManager() { XmlRpcUtil.SetLogLevel( #if !DEBUG XmlRpcUtil.XMLRPC_LOG_LEVEL.ERROR #else #if TRACE XmlRpcUtil.XMLRPC_LOG_LEVEL.INFO #else XmlRpcUtil.XMLRPC_LOG_LEVEL.WARNING #endif #endif ); server = new XmlRpcServer(); getPid = (parms, result) => responseInt(1, "", Process.GetCurrentProcess().Id)(result); }
public MethodHelp(XmlRpcServer s) : base(METHOD_HELP, null, s) { FUNC = execute; }
ListMethods(XmlRpcServer s) : base(LIST_METHODS, null, s) { FUNC = execute; }
public XmlRpcManager() { XmlRpcUtil.ShowOutputFromXmlRpcPInvoke(XmlRpcUtil.XMLRPC_LOG_LEVEL.NOTHING); server = new XmlRpcServer(); getPid = (parms, result) => responseInt(1, "", Process.GetCurrentProcess().Id)(result); }
public XmlRpcManager(Master_API.ROSMasterHandler _handler = null) { handler = _handler; server = new XmlRpcServer(); getPid = (parms, result) => responseInt(1, "", Process.GetCurrentProcess().Id)(result); }
public XmlRpcManager() { //XmlRpcUtil.ShowOutputFromXmlRpcPInvoke(); server = new XmlRpcServer(); getPid = (parms, result) => responseInt(1, "", Process.GetCurrentProcess().Id)(result); }