Example #1
0
 internal ClientConfig(TcpClient _clientSocket)
 {
     ClientConnection = _clientSocket;
     Uid                        = string.Empty;
     IpAddress                  = string.Empty;
     CurrentState               = Enums.CLIENT_STATE.CONNECTING;
     ClientEndpoint             = null;
     ShouldDisconnectConnection = false;
 }
Example #2
0
 private void SetState(Enums.CLIENT_STATE state) => Config.CurrentState = state;