C# Class IServiceOriented.ServiceBus.Services.SubscriptionPersistenceService

Base class for subscription persistence
Inheritance: RuntimeService
Mostrar archivo Open project: jezell/iserviceoriented

Protected Methods

Method Description
CreateListener ( ListenerEndpoint endpoint ) : void

Create a listener in the persistence store

CreateSubscription ( SubscriptionEndpoint subscription ) : void

Create a subscription in the persistence store.

DeleteListener ( ListenerEndpoint endpoint ) : void

Delete a listener from the persistence store

DeleteSubscription ( SubscriptionEndpoint subscription ) : void

Delete a subscription from the persistence store.

LoadEndpoints ( ) : IEnumerable

Load saved end points from the persistence store.

OnListenerAdded ( ListenerEndpoint endpoint ) : void
OnListenerRemoved ( ListenerEndpoint endpoint ) : void
OnStart ( ) : void
OnStop ( ) : void
OnSubscriptionAdded ( SubscriptionEndpoint endpoint ) : void
OnSubscriptionRemoved ( SubscriptionEndpoint endpoint ) : void

Method Details

CreateListener() protected abstract method

Create a listener in the persistence store
protected abstract CreateListener ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

CreateSubscription() protected abstract method

Create a subscription in the persistence store.
protected abstract CreateSubscription ( SubscriptionEndpoint subscription ) : void
subscription SubscriptionEndpoint
return void

DeleteListener() protected abstract method

Delete a listener from the persistence store
protected abstract DeleteListener ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

DeleteSubscription() protected abstract method

Delete a subscription from the persistence store.
protected abstract DeleteSubscription ( SubscriptionEndpoint subscription ) : void
subscription SubscriptionEndpoint
return void

LoadEndpoints() protected abstract method

Load saved end points from the persistence store.
protected abstract LoadEndpoints ( ) : IEnumerable
return IEnumerable

OnListenerAdded() protected method

protected OnListenerAdded ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

OnListenerRemoved() protected method

protected OnListenerRemoved ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

OnStart() protected method

protected OnStart ( ) : void
return void

OnStop() protected method

protected OnStop ( ) : void
return void

OnSubscriptionAdded() protected method

protected OnSubscriptionAdded ( SubscriptionEndpoint endpoint ) : void
endpoint SubscriptionEndpoint
return void

OnSubscriptionRemoved() protected method

protected OnSubscriptionRemoved ( SubscriptionEndpoint endpoint ) : void
endpoint SubscriptionEndpoint
return void