Example #1
0
 public void OnClose(WebSocketConnection aConnection, int aCloseCode, string aCloseReason, bool aClosedByPeer)
 {
     Logger.Debug("Client : Connection [" + aConnection.ToString() + "] has closed with message : " + aCloseReason);
     WebSocketClient.Reset();
     WebSocketServer.Reset();
     this._connection = null;
     this._connectionMaintainer.WakeupManager.Set();
 }
 public void OnClose(WebSocketConnection aConnection, int aCloseCode, string aCloseReason, bool aClosedByPeer)
 {
     Logger.Debug("Client : Connection [" + aConnection.ToString() + "] has closed with message : " + aCloseReason);
     this._connection = null;
     _coupledConnection.Close();
 }