Inheritance: Performative
Beispiel #1
0
 void OnReceiveEnd(End end)
 {
     this.OnReceiveCloseCommand("R:END", end.Error);
 }
Beispiel #2
0
        protected AmqpObjectState SendEnd()
        {
            StateTransition transition = this.TransitState("S:END", StateTransition.SendClose);

            End end = new End();
            Exception exception = this.TerminalException;
            if (exception != null)
            {
                end.Error = Error.FromException(exception);
            }

            this.SendCommand(end);
            return transition.To;
        }