public void CloseCode(ConnectionClose close) { if (_session != null) { _session.CloseCode(close); } }
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(); }
public void CloseCode(ConnectionClose close) { _close = close; }
public ConnectionException(ConnectionClose close) : base(close.GetReplyText()) { _close = close; }