コード例 #1
0
 /// <summary>
 /// Constructs a DssThread object.
 /// </summary>
 public DssThread(ControlStatusManager ctrlStatusMgr, IUiInvoke ui, TestSimulator simulator, INetwork network)
 {
     this.ctrlStatusMgr        = ctrlStatusMgr;
     this.ui                   = ui;
     this.uiCallMarshal        = new UiCallMarshal(this.ctrlStatusMgr, this.ui);
     this.simulator            = simulator;
     this.actionQueue          = new UiActionQueue();
     this.currentChannelStates = null;
     this.network              = network;
 }
コード例 #2
0
 public DssHostThread(ControlStatusManager ctrlStatusMgr, IUiInvoke ui, TestSimulator simulator, int opCount, INetwork network)
     : base(ctrlStatusMgr, ui, simulator, network)
 {
     this.firstSetupStep        = true;
     this.opCount               = opCount;
     this.previousChannelStates = null;
     this.rqs = new List <RCPackage> [opCount - 1];
     for (int i = 0; i < this.rqs.Length; i++)
     {
         this.rqs[i] = new List <RCPackage>();
     }
 }
コード例 #3
0
 public DssGuestThread(ControlStatusManager ctrlStatusMgr, IUiInvoke ui, TestSimulator simulator, LobbyInfo tgtLobby, INetwork network)
     : base(ctrlStatusMgr, ui, simulator, network)
 {
     this.firstSetupStep         = true;
     this.newColor               = PlayerColor.White;
     this.newColorSelected       = false;
     this.applyNewColorSelection = false;
     //this.colorSelectRq = new ColorSelectRQ();
     this.targetLobby           = tgtLobby;
     this.aw                    = new List <RCPackage>();
     this.previousChannelStates = null;
 }
コード例 #4
0
 /// <summary>
 /// Contructs a UiCallMarshal object.
 /// </summary>
 public UiCallMarshal(ControlStatusManager statusMgr, IUiInvoke ui)
 {
     this.statusMgr = statusMgr;
     this.ui        = ui;
 }