예제 #1
0
 public void CloseCode(ConnectionClose close)
 {
     if (_session != null)
     {
         _session.CloseCode(close);
     }
 }
예제 #2
0
 public void CloseCode(ConnectionClose close)
 {
     lock (_channels)
     {
         foreach (Channel ch in _channels.Values)
         {
             ch.CloseCode(close);
         }
     }
 }
 public override void ConnectionClose(Channel ch, ConnectionClose close)
 {
     ch.Connection.CloseCode(close);
     ch.ConnectionCloseOk();
 }
예제 #4
0
 public void CloseCode(ConnectionClose close)
 {
     _close = close;
 }
 public ConnectionException(ConnectionClose close) : base(close.GetReplyText())
 {
     _close = close;
 }