Ejemplo n.º 1
0
 public ClientSocket(ClientSocketSettings clientSettings)
 {
     _waitHandle = new[] { new AutoResetEvent(false) };
     this.clientSettings = clientSettings;
     this.prefixHandler = new PrefixHandler();
     this.messageHandler = new MessageHandler();
 }
Ejemplo n.º 2
0
 public ClientSocket(ClientSocketSettings clientSettings)
 {
     _waitHandle         = new[] { new AutoResetEvent(false) };
     this.clientSettings = clientSettings;
     this.prefixHandler  = new PrefixHandler();
     this.messageHandler = new MessageHandler();
 }