Inheritance: Performative
Exemple #1
0
 void OnReceiveClose(Close close)
 {
     this.OnReceiveCloseCommand("R:CLOSE", close.Error);
     if (this.State == AmqpObjectState.End)
     {
         this.AsyncIO.SafeClose();
     }
 }
Exemple #2
0
        void SendClose()
        {
            this.TransitState("S:CLOSE", StateTransition.SendClose);
            Close close = new Close();
            if (this.TerminalException != null)
            {
                close.Error = Error.FromException(this.TerminalException);
            }

            this.SendCommand(close, 0, null);
        }