ApiCore.Messages.LongPollServerConnection.Stop C# (CSharp) Method

Stop() public method

Stop listening server connection
public Stop ( ) : void
return void
        public void Stop()
        {
            if (this.Stopped != null)
            {
                this.Stopped(this);
            }
            lock (this.locker)
            {
                this.stopPending = true;
            }
            //this.connectionListenerThread.Join();
            //this.connectionListenerThread.Suspend();
        }