Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CarrierLinkWorker"/> class
 /// </summary>
 /// <param name="info">Requested information</param>
 internal CarrierLinkWorker(CarrierLinkParameter info)
     : base()
 {
     this.Info = info;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CarrierLinkQuerySubscriber"/> class
 /// </summary>
 /// <param name="node">Yate node information</param>
 /// <param name="param">Parameter to query from Yate</param>
 internal CarrierLinkQuerySubscriber(INode node, CarrierLinkParameter parameter)
     : base(node, MessageType.CarrierLinkNode)
 {
     this.queryLock = new SemaphoreSlim(initialCount: 1, maxCount: 1);
     this.Parameter = parameter;
 }