Ejemplo n.º 1
0
 public TopicSubscriptionEntity(long id, long subscriptionId, TopicEntity source, TopicEntity destination, SubscriptionDescription subscriptionDescription,
                                RuleDescription rule = null, Filter filter = null)
 {
     Id            = id;
     _source       = source;
     _destination  = destination;
     _subscription = new SubscriptionEntity(subscriptionId, source, subscriptionDescription, rule, filter);
 }
Ejemplo n.º 2
0
        public QueueSubscriptionEntity(long id, long subscriptionId, TopicEntity topic, QueueEntity queue, SubscriptionDescription subscriptionDescription,
                                       RuleDescription rule = null, Filter filter = null)
        {
            Id = id;

            _topic        = topic;
            _queue        = queue;
            _subscription = new SubscriptionEntity(subscriptionId, topic, subscriptionDescription, rule, filter);
        }
Ejemplo n.º 3
0
        public SubscriptionEntity(long id, TopicEntity topic, SubscriptionDescription subscriptionDescription, RuleDescription rule = null, Filter filter = null)
        {
            Id = id;

            _topic = topic;

            SubscriptionDescription = subscriptionDescription;

            Rule   = rule;
            Filter = filter;
        }