/// <summary>
        /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class.
        /// </summary>
        /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
        /// <param name="eventBrokerBus">The event broker bus.</param>
        /// <param name="factory">The factory.</param>
        protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory)
        {
            this.Factory = factory;
            this.Serializer = this.Factory.CreateEventArgsSerializer();
            this.DistributedEventBrokerIdentification = distributedEventBrokerIdentification;
            this.MessageFactory = this.Factory.CreateMessageFactory();
            this.SelectionStrategy = this.Factory.CreateTopicSelectionStrategy();

            this.EventBrokerBus = eventBrokerBus;

            this.topics = new List<string>();
        }
 public TestableDistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class.
 /// </summary>
 /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
 /// <param name="eventBrokerBus">The event broker bus.</param>
 protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus)
     : this(distributedEventBrokerIdentification, eventBrokerBus, new DefaultDistributedFactory())
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MassTransitDistributedEventBrokerExtension"/> class.
 /// </summary>
 /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
 /// <param name="eventBrokerBus">The event broker bus.</param>
 /// <param name="factory">The factory.</param>
 public MassTransitDistributedEventBrokerExtension(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NServiceBusDistributedEventBrokerExtension"/> class.
 /// </summary>
 /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
 /// <param name="eventBrokerBus">The event broker bus.</param>
 /// <param name="factory">The factory.</param>
 public NServiceBusDistributedEventBrokerExtension(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class.
 /// </summary>
 /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
 /// <param name="eventBrokerBus">The event broker bus.</param>
 protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus)
     : this(distributedEventBrokerIdentification, eventBrokerBus, new DefaultDistributedFactory())
 {
 }
Ejemplo n.º 7
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class.
        /// </summary>
        /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
        /// <param name="eventBrokerBus">The event broker bus.</param>
        /// <param name="factory">The factory.</param>
        protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory)
        {
            this.Factory    = factory;
            this.Serializer = this.Factory.CreateEventArgsSerializer();
            this.DistributedEventBrokerIdentification = distributedEventBrokerIdentification;
            this.MessageFactory    = this.Factory.CreateMessageFactory();
            this.SelectionStrategy = this.Factory.CreateTopicSelectionStrategy();

            this.EventBrokerBus = eventBrokerBus;

            this.topics = new List <string>();
        }
 public FakeDistributedEventBrokerExtension(IEventBrokerBus eventBrokerBus)
     : base("Specification Distributed Event Broker", eventBrokerBus)
 {
 }
Ejemplo n.º 9
0
 public TestableDistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory, IEventRegistrar registerer) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
     this.registerer = registerer;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MassTransitDistributedEventBrokerExtension"/> class.
 /// </summary>
 /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param>
 /// <param name="eventBrokerBus">The event broker bus.</param>
 /// <param name="factory">The factory.</param>
 public MassTransitDistributedEventBrokerExtension(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
 }
 public TestableDistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) :
     base(distributedEventBrokerIdentification, eventBrokerBus, factory)
 {
 }
Ejemplo n.º 12
0
 public FakeDistributedEventBrokerExtension(IEventBrokerBus eventBrokerBus)
     : base("Specification Distributed Event Broker", eventBrokerBus)
 {
 }