상속: 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;
        }