public void Close(string reason)
 {
     this._socket.Close(CloseStatusCode.NORMAL, reason);
     if (this._timer != null)
     {
         this._timer.Cancel();
         this._timer = null;
     }
 }
Пример #2
0
 public void Close(string reason)
 {
     this._socket.Close(CloseStatusCode.NORMAL, reason);
     if (this._timer != null)
     {
         this._timer.Cancel();
         this._timer = null;
     }
 }
        public void Close(string reason)
        {
            this._socket.Close(CloseStatusCode.NORMAL, reason);
            if (this._timer != null)
            {
                this._timer.Cancel();
                this._timer = null;
#if DEBUG
                Console.WriteLine("TMC: Info@close: " + reason);
#endif
            }
        }
Пример #4
0
        public void Close(string reason)
        {
            this._socket.Close(CloseStatusCode.NORMAL, reason);
            if (this._timer != null)
            {
                this._timer.Cancel();
                this._timer = null;
#if DEBUG
                Console.WriteLine("TMC: Info@close: " + reason);
#endif
            }
        }