Click or drag to resize

IPubSubManagerService Interface

Represents a pub/sub manager service

Namespace:  SanteDB.Core.PubSub
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IPubSubManagerService : IServiceImplementation

The IPubSubManagerService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodActivateSubscription
Activate a subscription
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean)
Find an existing channel
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean, Int32, Int32, Int32)
Find an existing channel
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean)
Find an existing subscription
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean, Int32, Int32, Int32)
Find an existing subscription
Public methodGetChannel
Gets the channel information
Public methodGetSubscription
Gets the subscription information
Public methodGetSubscriptionByName
Get subscription by its name
Public methodRegisterChannel(String, String, Uri, IDictionaryString, String)
Registers the specified pub-sub channel using the specified dispatcher
Public methodRegisterChannel(String, Type, Uri, IDictionaryString, String)
Registers the specified pub-sub channel using the specified dispatcher
Public methodRegisterSubscription(Type, String, String, PubSubEventType, String, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)
Register a new subscription for the specified type
Public methodRegisterSubscriptionTModel(String, String, PubSubEventType, ExpressionFuncTModel, Boolean, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)
Register a new subscription for the specified type
Public methodRemoveChannel
Removes the specified channel and all related subscriptions
Public methodRemoveSubscription
Removes the subscription
Public methodUpdateChannel
Updates the specified pub-sub channel
Public methodUpdateSubscription
Update subscription data
Top
Events
  NameDescription
Public eventActivated
Fired after a subscription and channel are activated
Public eventActivating
Fired after a subscription and channel are activating
Public eventDeActivated
Fired after a subscription and channel are deactivated
Public eventDeActivating
Fired after a subscription and channel are deactivating
Public eventSubscribed
Fired after a subscription has been registered
Public eventSubscribing
Fired when a subscription is requested, but not yet registered
Public eventUnSubscribed
Fired when a subscription has been terminated
Public eventUnSubscribing
Fired when an unsubscription is requested
Top
See Also