/// <summary>
 /// Creates a new subscription.
 /// </summary>
 /// <param name="addr">The address.</param>
 /// <param name="namespace">The namespace.</param>
 /// <param name="queue">The queue.</param>
 internal EventSubscription(EventAddress addr, Namespace @namespace, BrokerQueue queue)
 {
     _queue     = queue;
     _namespace = @namespace;
     _address   = addr;
 }
示例#2
0
 /// <summary>
 /// Creates a new subscription.
 /// </summary>
 /// <param name="addr">The address.</param>
 /// <param name="node">The node.</param>
 /// <param name="queue">The queue.</param>
 internal EventSubscription(EventAddress addr, Node node, BrokerQueue queue)
 {
     _queue   = queue;
     _node    = node;
     _address = addr;
 }