void OnReceiveEnd(End end) { this.OnReceiveCloseCommand("R:END", end.Error); }
protected void SendEnd() { this.TransitState("S:END", StateTransition.SendClose); End end = new End(); Exception exception = this.TerminalException; if (exception != null) { end.Error = AmqpError.FromException(exception); } this.SendCommand(end); }