/// <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; }
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>(); } }
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; }
/// <summary> /// Contructs a UiCallMarshal object. /// </summary> public UiCallMarshal(ControlStatusManager statusMgr, IUiInvoke ui) { this.statusMgr = statusMgr; this.ui = ui; }