Click or drag to resize

AdoPubSubManager Class

Represents a pub/sub manager which stores definitions in a database
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.PubSub.ADOAdoPubSubManager

Namespace: SanteDB.Persistence.PubSub.ADO
Assembly: SanteDB.Persistence.PubSub.ADO (in SanteDB.Persistence.PubSub.ADO.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public class AdoPubSubManager : IPubSubManagerService, 
	IServiceImplementation, IPubSubLogService, IMappedQueryProvider<PubSubChannelDefinition>, IMappedQueryProvider<PubSubSubscriptionDefinition>, 
	IReportProgressChanged

The AdoPubSubManager type exposes the following members.

Constructors
 NameDescription
Public methodAdoPubSubManager Creates a new instance of this pub-sub manager
Top
Properties
 NameDescription
Public propertyProvider Gets the provider for this
Public propertyQueryPersistence Gets the query persistence service
Public propertyServiceName Gets the service name for this service
Top
Methods
 NameDescription
Public methodActivateSubscription Activates or de-activates key
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteQueryOrm(DataContext, ExpressionFuncPubSubChannelDefinition, Boolean) Execute a query query via the ORM for the PubSubSubscription definition
Public methodExecuteQueryOrm(DataContext, ExpressionFuncPubSubSubscriptionDefinition, Boolean) Execute a query query via the ORM for the PubSubSubscription definition
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean) Find the channels matching filter
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean, Int32, Int32, Int32) Find channel - obsolete
Obsolete
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean) Find subscription based on the specified filter
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean, Int32, Int32, Int32) Find subscription obsolete
Obsolete
Public methodGet Get the specified pub-sub subscription definition
Public methodGetChannel Retrieve the specified channel by ID
Public methodGetDispatches Get all the times that the object was dispatched on the specified channel
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLastDispatch Get the last dispatch log entry from the object on the subscription
Public methodGetSubscription Get the specified subscription by identifier
Public methodGetSubscriptionByName Get subscription by its name
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLogDispatch Log the dispatching of an object to the remote server
Public methodMapExpressionTReturn(ExpressionFuncPubSubChannelDefinition, TReturn) Map property expression
Public methodMapExpressionTReturn(ExpressionFuncPubSubSubscriptionDefinition, TReturn) Map property expression
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRegisterChannel(String, String, Uri, IDictionaryString, String) Register the specified channel
Public methodRegisterChannel(String, Type, Uri, IDictionaryString, String) Registers a new channel in the manager (database)
Public methodRegisterSubscription(Type, String, String, PubSubEventType, String, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset) Register a subscription for modelType
Public methodRegisterSubscriptionTModel(String, String, PubSubEventType, ExpressionFuncTModel, Boolean, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset) Registers a new subscription
Public methodRemoveChannel Remove the channel
Public methodRemoveSubscription Remove the subscription
Public methodToModelInstance Map this to model instance
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateChannel Update the specified channel
Public methodUpdateSubscription Update the subscription
Top
Events
 NameDescription
Public eventActivated Fired after activation
Public eventActivating Fired before activating
Public eventDeActivated Fired after deactivation
Public eventDeActivating Fired before de-activating
Public eventProgressChanged Fired when the progress of this instance has changed
Public eventSubscribed Fired after subscription has occurred
Public eventSubscribing Fired when subscribing is about to occur
Public eventUnSubscribed Fired after subscription has been removed
Public eventUnSubscribing Fired when subscription is removing
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also