예제 #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);
     }
 }
예제 #4
0
 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);
     }
 }