public void Close() { _reactor.CloseConnection(this); if (NetworkEventLoop.Disconnection != null) { NetworkEventLoop.Disconnection(new HeliosConnectionException(ExceptionType.Closed), this); } EventLoop.Dispose(); }
public void Close() { _reactor.CloseConnection(this); }
/// <summary> /// 关闭 /// </summary> public void Close() { _reactor.CloseConnection(this); this.connectionStatus = ResultStatusCode.CONNECTION_CLOSE; }