NetMQ.Core.SessionBase.TimerEvent C# (CSharp) Method

TimerEvent() public method

This is called when the timer expires.
public TimerEvent ( int id ) : void
id int an integer used to identify the timer
return void
        public void TimerEvent(int id)
        {
            // Linger period expired. We can proceed with termination even though
            // there are still pending messages to be sent.
            Debug.Assert(id == LingerTimerId);
            m_hasLingerTimer = false;

            // Ask pipe to terminate even though there may be pending messages in it.
            Debug.Assert(m_pipe != null);
            m_pipe.Terminate(false);
        }