Dump() private method

private Dump ( object source ) : void
source object
return void
Example #1
0
        /// <summary>
        /// Closes the session.
        /// </summary>
        /// <returns>True if the session is closed; false if close is pending.</returns>
        /// <remarks>All links in the session are also closed.</remarks>
        protected override bool CloseInternal()
        {
            if (this.State == AmqpObjectState.OpenReceived)
            {
                this.SendBegin();
            }

            this.CloseLinks(!this.LinkFrameAllowed());
            AmqpDebug.Dump(this);
            AmqpObjectState state = this.SendEnd();

            return(state == AmqpObjectState.End);
        }
Example #2
0
 /// <summary>
 /// Aborts the session object. All links in the session are aborted.
 /// </summary>
 protected override void AbortInternal()
 {
     this.CloseLinks(true);
     AmqpDebug.Dump(this);
 }