Click or drag to resize

UpstreamSynchronizationService Class

An implementation of the ISynchronizationService which pulls HDSI and AMI data from the remote
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.RepositoriesUpstreamServiceBase
    SanteDB.Client.Disconnected.Data.SynchronizationUpstreamSynchronizationService

Namespace: SanteDB.Client.Disconnected.Data.Synchronization
Assembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class UpstreamSynchronizationService : UpstreamServiceBase, 
	ISynchronizationService, IServiceImplementation, IDaemonService, IReportProgressChanged

The UpstreamSynchronizationService type exposes the following members.

Constructors
 NameDescription
Public methodUpstreamSynchronizationService DI constructor
Top
Properties
 NameDescription
Public propertyIsRunning Indicates whether the daemon service is running
Public propertyIsSynchronizing Get whether the service is syncing
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
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHandleDataDeletedTArgData Enqueue data when it has been deleted
Public methodHandleDataInsertedTArgData Enqueue data to be pushed when it is inserted
Public methodHandleDataSavedTArgData Enqueue data when it has been saved (inserted or updated)
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 methodPull(SubscriptionTriggerType) Perform a pull with the specified trigger
Public methodPull(Type) Pull data from the remove server and place it on the inbound queue
Public methodPull(Type, NameValueCollection) Pull data from the remove server and place it on the inbound queue
Public methodPull(Type, NameValueCollection, Boolean) Pull data from the remove server and place it on the inbound queue
Public methodPush Push data to the server
Public methodStart Indicates the caller wishes to start the daemon service lifecycle
Public methodStop Indicates the caller wishes to stop the daemon service
Public methodSubscribeTo Instructs the synchronization service to perform the necessary steps to ensure that the specified object is included on subsequent pull requests
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventProgressChanged Fired when the progress of this instance has changed
Public eventPullCompleted Fired when a pull has completed and imported data
Public eventPushCompleted Fired when the push has been completed
Public eventStarted Fired when the daemon service has completed it start procedure.
Public eventStarting Fired when the daemon service has commenced start but has not yet finished
Public eventStopped Fired when the daemon has completed its stop procedure
Public eventStopping Fired when the daemon service has commenced stop but has not yet been fully shut down.
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