Click or drag to resize

UpstreamPubSubManager Class

Upstream publish and subscribe
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.RepositoriesUpstreamServiceBase
    SanteDB.Client.Upstream.ManagementUpstreamPubSubManager

Namespace: SanteDB.Client.Upstream.Management
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class UpstreamPubSubManager : UpstreamServiceBase, 
	IPubSubManagerService, IServiceImplementation

The UpstreamPubSubManager type exposes the following members.

Constructors
 NameDescription
Public methodUpstreamPubSubManager DI constructor
Top
Properties
 NameDescription
Protected propertyIsUpstreamConfigured Get whether the upstream is conifgured
(Inherited from UpstreamServiceBase)
Protected propertyRestClientFactory Get the upstream client factory
(Inherited from UpstreamServiceBase)
Public propertyServiceName Gets the service name
Protected propertyUpstreamAvailabilityProvider Get the upstream availability provider
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamIntegrationService Get the upstream management service
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamManagementService Gets the upstream management
(Inherited from UpstreamServiceBase)
Top
Methods
 NameDescription
Public methodActivateSubscription Activate a subscription
Protected methodCreateAmiServiceClient Get client for the AMI
(Inherited from UpstreamServiceBase)
Protected methodCreateHdsiServiceClient Create an HDSI service client
(Inherited from UpstreamServiceBase)
Protected methodCreateRestClient Create a generic rest client
(Inherited from UpstreamServiceBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 an existing channel
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean, Int32, Int32, Int32) Find an existing channel
Obsolete
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean) Find an existing subscription
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean, Int32, Int32, Int32) Find an existing subscription
Obsolete
Public methodGetChannel Gets the channel information
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSubscription Gets the subscription information
Public methodGetSubscriptionByName Get subscription by its name
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHasUpstreamAuthContext Determine if the current auth context is appropriate for upstream communications
(Inherited from UpstreamServiceBase)
Public methodIsUpstreamAvailable Gets a value that indicates whether the upstream
(Inherited from UpstreamServiceBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Fields
 NameDescription
Protected field_Tracer The tracer to use to log messages
(Inherited from UpstreamServiceBase)
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