C# Class SensorSample.Reporters.EventBrokerReporter

Inheritance: Appccelerate.EventBroker.Extensions.EventBrokerExtensionBase
Datei anzeigen Open project: appccelerate/sensorsample

Public Methods

Method Description
AddedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void

Called after a publication was added to an event topic.

AddedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void

Called after a subscription was added to an event topic.

CreatedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void

Called after a publication was created.

CreatedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void

Called after a subscription was created.

CreatedTopic ( IEventTopicInfo eventTopic ) : void

Called after an event topic was created.

FiredEvent ( IEventTopicInfo eventTopic, IPublication publication, object sender, EventArgs e ) : void

Called when the event was fired (processing completed).

FiringEvent ( IEventTopicInfo eventTopic, IPublication publication, object sender, EventArgs e ) : void

Called when an event is fired.

RegisteredItem ( object item ) : void

Called when an item was registered.

RelayedEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, IHandler handler, object sender, EventArgs e ) : void

Called after the event was relayed from the publication to the subscribers.

RelayingEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, IHandler handler, object sender, EventArgs e ) : void

Called before an event is relayed from the publication to the subscribers.

RemovedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void

Called after a publication was removed from an event topic.

RemovedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void

Called after a subscription was removed from an event topic.

SkippedEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, object sender, EventArgs e ) : void

Called when a publication or subscription matcher did not match and the event was not relayed to a subscription.

SubscriberExceptionOccurred ( IEventTopicInfo eventTopic, Exception exception, Appccelerate.EventBroker.Exceptions.ExceptionHandlingContext context ) : void

Called when an exception occurred during event handling by a subscriber.

UnregisteredItem ( object item ) : void

Called when an item was unregistered.

Method Details

AddedPublication() public method

Called after a publication was added to an event topic.
public AddedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
return void

AddedSubscription() public method

Called after a subscription was added to an event topic.
public AddedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void
eventTopic IEventTopicInfo The event topic.
subscription ISubscription The subscription.
return void

CreatedPublication() public method

Called after a publication was created.
public CreatedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
return void

CreatedSubscription() public method

Called after a subscription was created.
public CreatedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void
eventTopic IEventTopicInfo The event topic.
subscription ISubscription The subscription.
return void

CreatedTopic() public method

Called after an event topic was created.
public CreatedTopic ( IEventTopicInfo eventTopic ) : void
eventTopic IEventTopicInfo The event topic.
return void

FiredEvent() public method

Called when the event was fired (processing completed).
public FiredEvent ( IEventTopicInfo eventTopic, IPublication publication, object sender, EventArgs e ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

FiringEvent() public method

Called when an event is fired.
public FiringEvent ( IEventTopicInfo eventTopic, IPublication publication, object sender, EventArgs e ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

RegisteredItem() public method

Called when an item was registered.
public RegisteredItem ( object item ) : void
item object The item that was registered.
return void

RelayedEvent() public method

Called after the event was relayed from the publication to the subscribers.
public RelayedEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, IHandler handler, object sender, EventArgs e ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
subscription ISubscription The subscription.
handler IHandler The handler.
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

RelayingEvent() public method

Called before an event is relayed from the publication to the subscribers.
public RelayingEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, IHandler handler, object sender, EventArgs e ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
subscription ISubscription The subscription.
handler IHandler The handler.
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

RemovedPublication() public method

Called after a publication was removed from an event topic.
public RemovedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
return void

RemovedSubscription() public method

Called after a subscription was removed from an event topic.
public RemovedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void
eventTopic IEventTopicInfo The event topic.
subscription ISubscription The subscription.
return void

SkippedEvent() public method

Called when a publication or subscription matcher did not match and the event was not relayed to a subscription.
public SkippedEvent ( IEventTopicInfo eventTopic, IPublication publication, ISubscription subscription, object sender, EventArgs e ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
subscription ISubscription The subscription.
sender object The sender.
e System.EventArgs The instance containing the event data.
return void

SubscriberExceptionOccurred() public method

Called when an exception occurred during event handling by a subscriber.
public SubscriberExceptionOccurred ( IEventTopicInfo eventTopic, Exception exception, Appccelerate.EventBroker.Exceptions.ExceptionHandlingContext context ) : void
eventTopic IEventTopicInfo The event topic.
exception System.Exception The exception.
context Appccelerate.EventBroker.Exceptions.ExceptionHandlingContext The context providing information whether the exception is handled by an extension or is re-thrown.
return void

UnregisteredItem() public method

Called when an item was unregistered.
public UnregisteredItem ( object item ) : void
item object The item that was unregistered.
return void