public TcpClientData(TableManagerHost h, TcpClient t) : base(h)
 {
     this.client           = t;
     this.client.NoDelay   = true;
     this.buffer           = new Byte[this.client.ReceiveBufferSize];
     this.stream           = this.client.GetStream();
     this.rawMessageBuffer = string.Empty;
     this.WaitForIncomingMessage();
 }
Exemplo n.º 2
0
 public ClientData(TableManagerHost h)
 {
     this.state         = TableManagerProtocolState.Initial;
     this.Pause         = false;
     this.messages      = new ConcurrentQueue <string>();
     this.host          = h;
     this.waitForAnswer = false;
     this.seatTaken     = false;
 }
Exemplo n.º 3
0
 public HostBoardResult(TableManagerHost h, Board2 board, SeatCollection <string> newParticipants, BridgeEventBus bus)
     : base("HostBoardResult", board, newParticipants, bus, null)
 {
     this.host = h;
 }
Exemplo n.º 4
0
 public TMController(TableManagerHost h, Tournament t, ParticipantInfo p, BridgeEventBus bus) : base(t, p, bus)
 {
     this.host = h;
 }