public TaskPollRequest( MacAddress coordAddr, UInt16 coordPanId, SecurityOptions securityOptions, PollConfirmHandler handler) : base(TaskType.PollRequest) { this.coordAddr = coordAddr; this.coordPanId = coordPanId; this.securityOptions = securityOptions; this.handler = handler; }
public void PollRequest( MacAddress coordAddr, UInt16 coordPanId, SecurityOptions securityOptions, PollConfirmHandler handler) { TaskPollRequest task = new TaskPollRequest( coordAddr, coordPanId, securityOptions, handler); if (!_taskQueue.Add(task) && handler != null) { handler.Invoke(this, MacEnum.Congested); } }
public void PollRequest( MacAddress coordAddr, UInt16 coordPanId, SecurityOptions securityOptions, PollConfirmHandler handler) { TaskPollRequest task = new TaskPollRequest( coordAddr, coordPanId, securityOptions, handler); if (!_taskQueue.Add(task) && handler != null) { handler.Invoke(this, MacEnum.Congested); } }
public TaskPollRequest( MacAddress coordAddr, UInt16 coordPanId, SecurityOptions securityOptions, PollConfirmHandler handler) : base(TaskType.PollRequest) { this.coordAddr = coordAddr; this.coordPanId = coordPanId; this.securityOptions = securityOptions; this.handler = handler; }