コード例 #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);
 }
コード例 #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);
        }