Apache.NMS.ActiveMQ.Transport.InactivityMonitor.CheckConnection C# (CSharp) Method

CheckConnection() public method

public CheckConnection ( object state ) : void
state object
return void
        public void CheckConnection(object state)
        {
            // First see if we have written or can write.
            WriteCheck();

            // Now check is we've read anything, if not then we send
            // a new KeepAlive with response required.
            ReadCheck();
        }