private void GTSRequest(TaskGtsRequest task)
 {
     if (task == null)
     {
         return;
     }
     // FIXME: not implemented
     Trace.Print("Mac: GTSRequest: not implemented");
     if (task.handler != null)
     {
         task.handler.Invoke(this, new GtsCharacteristics(), MacEnum.NotImplemented);
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 private void GTSRequest(TaskGtsRequest task)
 {
     if (task == null)
         return;
     // FIXME: not implemented
     Trace.Print("Mac: GTSRequest: not implemented");
     if (task.handler != null)
     {
         task.handler.Invoke(this, new GtsCharacteristics(), MacEnum.NotImplemented);
     }
 }