C# Class IServiceOriented.ServiceBus.RuntimeService

Base class used to define a service that can extend the functionality of the service bus
Inheritance: IDisposable
Afficher le fichier Open project: jezell/iserviceoriented

Méthodes publiques

Méthode Description
Dispose ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnListenerAdded ( ListenerEndpoint endpoint ) : void

Called when a listener is added to the service bus

OnListenerRemoved ( ListenerEndpoint endpoint ) : void

Called when a listener is removed from the service bus

OnMessageDelivered ( MessageDelivery delivery ) : void

Called when a message is successfully delivered by the service bus

OnMessageDeliveryExpired ( MessageDelivery delivery ) : void

Called when a message delivery expires

OnMessageDeliveryFailed ( MessageDelivery delivery, bool permanent ) : void

Called when a message delivery fails

OnStart ( ) : void

Called when the service is starting

OnStop ( ) : void

Called when the service is stopping

OnSubscriptionAdded ( SubscriptionEndpoint endpoint ) : void

Called when a subscription is added to the service bus

OnSubscriptionRemoved ( SubscriptionEndpoint endpoint ) : void

Called when a service is removed from the service bus

OnValidate ( ) : void
WithLockedState ( System.Action action ) : void
WithLockedState ( RuntimeServiceState state, System.Action action ) : void

Private Methods

Méthode Description
Attach ( ServiceBusRuntime runtime ) : void
StartInternal ( ) : void
StopInternal ( ) : void
Validate ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnListenerAdded() protected méthode

Called when a listener is added to the service bus
protected OnListenerAdded ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
Résultat void

OnListenerRemoved() protected méthode

Called when a listener is removed from the service bus
protected OnListenerRemoved ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
Résultat void

OnMessageDelivered() protected méthode

Called when a message is successfully delivered by the service bus
protected OnMessageDelivered ( MessageDelivery delivery ) : void
delivery MessageDelivery
Résultat void

OnMessageDeliveryExpired() protected méthode

Called when a message delivery expires
protected OnMessageDeliveryExpired ( MessageDelivery delivery ) : void
delivery MessageDelivery
Résultat void

OnMessageDeliveryFailed() protected méthode

Called when a message delivery fails
protected OnMessageDeliveryFailed ( MessageDelivery delivery, bool permanent ) : void
delivery MessageDelivery
permanent bool Indicates if the message will be retried (false) or placed in the failure queue (true)
Résultat void

OnStart() protected méthode

Called when the service is starting
protected OnStart ( ) : void
Résultat void

OnStop() protected méthode

Called when the service is stopping
protected OnStop ( ) : void
Résultat void

OnSubscriptionAdded() protected méthode

Called when a subscription is added to the service bus
protected OnSubscriptionAdded ( SubscriptionEndpoint endpoint ) : void
endpoint SubscriptionEndpoint
Résultat void

OnSubscriptionRemoved() protected méthode

Called when a service is removed from the service bus
protected OnSubscriptionRemoved ( SubscriptionEndpoint endpoint ) : void
endpoint SubscriptionEndpoint
Résultat void

OnValidate() protected méthode

protected OnValidate ( ) : void
Résultat void

WithLockedState() protected méthode

protected WithLockedState ( System.Action action ) : void
action System.Action
Résultat void

WithLockedState() protected méthode

protected WithLockedState ( RuntimeServiceState state, System.Action action ) : void
state RuntimeServiceState
action System.Action
Résultat void