Click or drag to resize

RemotePubSubManager Class

A pub-sub manager which interacts with the remote pub-sub services
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.RemoteRemotePubSubManager

Namespace:  SanteDB.DisconnectedClient.Services.Remote
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class RemotePubSubManager : IPubSubManagerService, 
	IServiceImplementation

The RemotePubSubManager type exposes the following members.

Constructors
  NameDescription
Public methodRemotePubSubManager
Initializes a new instance of the RemotePubSubManager class
Top
Properties
  NameDescription
Public propertyServiceName
Gets the pub/sub name
Top
Methods
  NameDescription
Public methodActivateSubscription
Activate a subscription on the remote server
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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 channels
Public methodFindChannel(ExpressionFuncPubSubChannelDefinition, Boolean, Int32, Int32, Int32)
Find channel
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean)
Find subscriptions
Public methodFindSubscription(ExpressionFuncPubSubSubscriptionDefinition, Boolean, Int32, Int32, Int32)
Find subscriptions
Public methodGetChannel
Get the channel
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSubscription
Get subscriptions
Public methodGetSubscriptionByName
Get subscription by name
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterChannel(String, String, Uri, IDictionaryString, String)
Register a channel with default handler
Public methodRegisterChannel(String, Type, Uri, IDictionaryString, String)
Regiser a channel
Public methodRegisterSubscription(Type, String, String, PubSubEventType, String, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)
Register subscription
Public methodRegisterSubscriptionTModel(String, String, PubSubEventType, ExpressionFuncTModel, Boolean, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)
Register subscription
Public methodRemoveChannel
Remove the specified subscription
Public methodRemoveSubscription
Remove subscription
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateChannel
Update channel
Public methodUpdateSubscription
Update subscription
Top
Events
  NameDescription
Public eventActivated
Fired when activated
Public eventActivating
Fired when activating
Public eventDeActivated
Fired when de-activated
Public eventDeActivating
Fired when de-activating
Public eventSubscribed
Fired after subscription
Public eventSubscribing
Fired when subscribing
Public eventUnSubscribed
Fired when subscribed
Public eventUnSubscribing
Fired when un-subscribing
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also