Pdelvo.Minecraft.Proxy.Library.Connection.ProxyConnection.OnConnectionLost C# (CSharp) Method

OnConnectionLost() private method

private OnConnectionLost ( ) : void
return void
        private void OnConnectionLost()
        {
            if (_connectionClosed) return;
            _connectionClosed = true;
            ServerEndPoint.Close ();
            ClientEndPoint.Close ();
            if (!_quitMessagePosted)
            {
                _logger.Info(Username + " lost connection");
                _quitMessagePosted = true;
            }
            _server.RemoveConnection(this);
        }