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

Iterate() public method

public Iterate ( ) : bool
return bool
            public bool Iterate()
            {
                if(this.pending.CompareAndSet(true, false) && this.parent.monitorStarted.Value)
                {
                    IOException ex = new IOException("Channel was inactive for too long: " + remote);
                    this.parent.OnException(parent, ex);
                }

                return this.pending.Value;
            }
InactivityMonitor.AsyncSignalReadErrorkTask