OnEnd() private method

private OnEnd ( Amqp.Framing.End end ) : bool
end Amqp.Framing.End
return bool
Example #1
0
        void OnEnd(ushort remoteChannel, End end)
        {
            Session session = this.GetSession(this.remoteSessions, remoteChannel);

            if (session.OnEnd(end))
            {
                lock (this.ThisLock)
                {
                    this.localSessions[session.Channel] = null;
                    this.remoteSessions[remoteChannel]  = null;
                }
            }
        }