// The server delegates handling client requests to a serverConnection object. public XmlRpcServerConnection(Socket socket, XmlRpcServer server) { logger.LogInformation("XmlRpcServerConnection: new socket {0}.", socket.RemoteEndPoint.ToString()); this.server = server; this.socket = socket; this.stream = new NetworkStream(this.socket, true); this.connectionState = ServerConnectionState.READ_HEADER; this.KeepOpen = true; this.keepAlive = true; }
// The server delegates handling client requests to a serverConnection object. public XmlRpcServerConnection(Socket fd, XmlRpcServer server) { //Console.WriteLine( "XmlRpcServerConnection: new socket {0}.", fd.RemoteEndPoint.ToString() ); this.server = server; socket = fd; stream = new NetworkStream(socket, true); _connectionState = ServerConnectionState.READ_HEADER; this.KeepOpen = true; _keepAlive = true; }
public HelpMethod(XmlRpcServer server) : base(server, METHOD_HELP) { }
public ListMethodsMethod(XmlRpcServer server) : base(server, LIST_METHODS) { }