Esempio n. 1
0
        public void SendDetach(ScriptConsoleClient src)
        {
            var evt = new ScriptConsoleEvent();

            evt.Cmd       = null;
            evt.Type      = ScriptConsoleEvent.EventType.DetachClient;
            evt.SrcClient = src;
            Clientq.Add(evt);
        }
Esempio n. 2
0
        public void SendCmd(ScriptConsoleClient src, string cmd)
        {
            var evt = new ScriptConsoleEvent();

            evt.Cmd       = cmd;
            evt.Type      = ScriptConsoleEvent.EventType.ProcessCmd;
            evt.SrcClient = src;
            Clientq.Add(evt);
        }