示例#1
0
        public void PurgeRequest(
            Byte msduHandle,
            PurgeConfirmHandler handler)
        {
            TaskPurgeRequest task = new TaskPurgeRequest(
                msduHandle,
                handler);

            if (!_taskQueue.Add(task) && handler != null)
            {
                handler.Invoke(this, msduHandle, MacEnum.Congested);
            }
        }
 private void PurgeRequest(TaskPurgeRequest task)
 {
     if (task == null)
     {
         return;
     }
     // FIXME: not implemented
     Trace.Print("Mac: PurgeRequest: not implemented");
     if (task.handler != null)
     {
         task.handler.Invoke(this, task.msduHandle, MacEnum.NotImplemented);
     }
 }
示例#3
0
文件: Mac.cs 项目: prabby/miniclr
 public void PurgeRequest(
     Byte msduHandle,
     PurgeConfirmHandler handler)
 {
     TaskPurgeRequest task = new TaskPurgeRequest(
         msduHandle,
         handler);
     if (!_taskQueue.Add(task) && handler != null)
     {
         handler.Invoke(this, msduHandle, MacEnum.Congested);
     }
 }
 private void PurgeRequest(TaskPurgeRequest task)
 {
     if (task == null)
         return;
     // FIXME: not implemented
     Trace.Print("Mac: PurgeRequest: not implemented");
     if (task.handler != null)
     {
         task.handler.Invoke(this, task.msduHandle, MacEnum.NotImplemented);
     }
 }