Inheritance: Performative
示例#1
0
 void OnReceiveEnd(End end)
 {
     this.OnReceiveCloseCommand("R:END", end.Error);
 }
示例#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;
        }