public ClientInfo(RpcServer Server, string Name, int Id) { _Server = Server; _Name = Name; _Id = Id; Load(); _Watch.Start(); }
public static bool InitRpcServer(string Name, string Key, int Port) { if (_Rs.ContainsKey(Port)) return false; RpcServer Server = new RpcServer(Name, Key, Port); if (Server.Listen()) _Rs.Add(Port, Server); else return false; return true; }
static public bool InitRpcServer(string Name, string Key, int Port) { if (_Rs.ContainsKey(Port)) { return(false); } RpcServer Server = new RpcServer(Name, Key, Port); if (Server.Listen()) { _Rs.Add(Port, Server); } else { return(false); } return(true); }
public RpcConnector() { PServer = _Server; }
public RpcConnector(RpcServer Server) { Log.Info("RpcConnector", "Server = " + Server); PServer = Server; }