Esempio n. 1
0
        public static void Close(string method)
        {
            var server = _setting.GetFactory().Create(method);

            server.Close();
            RPCEvents.RaiseServerClosed(server, new RPCEvents.ServerClosedArgs(method));
        }
Esempio n. 2
0
        public static void Open(string method, IRPCHandler handler)
        {
            var server = _setting.GetFactory().Create(method);

            server.Open(handler);
            RPCEvents.RaiseServerOpened(server, new RPCEvents.ServerOpenedArgs(method));
        }