public void CloseConnect(ProtocolType protocolType) { if (null != _networkClient) { _networkClient.CloseConnect(protocolType); } if (_networkChannel != null) { _networkChannel.Disconnect(); ; } }