C# Класс SensorSample.Reporters.EventBrokerReporter

Наследование: Appccelerate.EventBroker.Extensions.EventBrokerExtensionBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddedPublication() публичный Метод

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.
Результат void

AddedSubscription() публичный Метод

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.
Результат void

CreatedPublication() публичный Метод

Called after a publication was created.
public CreatedPublication ( IEventTopicInfo eventTopic, IPublication publication ) : void
eventTopic IEventTopicInfo The event topic.
publication IPublication The publication.
Результат void

CreatedSubscription() публичный Метод

Called after a subscription was created.
public CreatedSubscription ( IEventTopicInfo eventTopic, ISubscription subscription ) : void
eventTopic IEventTopicInfo The event topic.
subscription ISubscription The subscription.
Результат void

CreatedTopic() публичный Метод

Called after an event topic was created.
public CreatedTopic ( IEventTopicInfo eventTopic ) : void
eventTopic IEventTopicInfo The event topic.
Результат void

FiredEvent() публичный Метод

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.
Результат void

FiringEvent() публичный Метод

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.
Результат void

RegisteredItem() публичный Метод

Called when an item was registered.
public RegisteredItem ( object item ) : void
item object The item that was registered.
Результат void

RelayedEvent() публичный Метод

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.
Результат void

RelayingEvent() публичный Метод

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.
Результат void

RemovedPublication() публичный Метод

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.
Результат void

RemovedSubscription() публичный Метод

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.
Результат void

SkippedEvent() публичный Метод

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.
Результат void

SubscriberExceptionOccurred() публичный Метод

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.
Результат void

UnregisteredItem() публичный Метод

Called when an item was unregistered.
public UnregisteredItem ( object item ) : void
item object The item that was unregistered.
Результат void