예제 #1
0
        private void removeConnection()
        {
            if (_lastListener == null)
            {
                _listener.RemoveConnection(this);
                return;
            }

            _lastListener.RemoveConnection(this);
        }
 private void removeConnection()
 {
     if (_lastListener != null)
     {
         _lastListener.RemoveConnection(this);
     }
     else
     {
         _listener.RemoveConnection(this);
     }
 }
예제 #3
0
 void RemoveConnection()
 {
     if (last_listener == null)
     {
         epl.RemoveConnection(this);
     }
     else
     {
         last_listener.RemoveConnection(this);
     }
 }
 private void RemoveConnection()
 {
     if (_lastListener == null)
     {
         _epListener.RemoveConnection(this);
     }
     else
     {
         _lastListener.RemoveConnection(this);
     }
 }
예제 #5
0
        private void close()
        {
            lock (_sync) {
                if (_socket == null)
                {
                    return;
                }

                disposeTimer();
                disposeRequestBuffer();
                disposeStream();
                closeSocket();
            }

            _context.Unregister();
            _listener.RemoveConnection(this);
        }