public TaskGtsRequest( GtsCharacteristics gtsCharacteristics, SecurityOptions securityOptions, GtsConfirmHandler handler) : base(TaskType.GTSRequest) { this.gtsCharacteristics = gtsCharacteristics; this.securityOptions = securityOptions; this.handler = handler; }
public void GtsRequest( GtsCharacteristics gtsCharacteristics, SecurityOptions securityOptions, GtsConfirmHandler handler) { TaskGtsRequest task = new TaskGtsRequest( gtsCharacteristics, securityOptions, handler); if (!_taskQueue.Add(task) && handler != null) { handler.Invoke(this, gtsCharacteristics, MacEnum.Congested); } }
public void GtsRequest( GtsCharacteristics gtsCharacteristics, SecurityOptions securityOptions, GtsConfirmHandler handler) { TaskGtsRequest task = new TaskGtsRequest( gtsCharacteristics, securityOptions, handler); if (!_taskQueue.Add(task) && handler != null) { handler.Invoke(this, gtsCharacteristics, MacEnum.Congested); } }
public TaskGtsRequest( GtsCharacteristics gtsCharacteristics, SecurityOptions securityOptions, GtsConfirmHandler handler) : base(TaskType.GTSRequest) { this.gtsCharacteristics = gtsCharacteristics; this.securityOptions = securityOptions; this.handler = handler; }