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();
 }
예제 #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;
 }
예제 #3
0
 public HostBoardResult(TableManagerHost h, Board2 board, SeatCollection <string> newParticipants, BridgeEventBus bus)
     : base("HostBoardResult", board, newParticipants, bus, null)
 {
     this.host = h;
 }
예제 #4
0
 public TMController(TableManagerHost h, Tournament t, ParticipantInfo p, BridgeEventBus bus) : base(t, p, bus)
 {
     this.host = h;
 }