Click or drag to resize

SynchronizationAuditDispatcher Class

Represents an audit dispatcher which uses the administrative queue for the dispatching of audits.
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Disconnected.ServicesSynchronizationAuditDispatcher

Namespace: SanteDB.Client.Disconnected.Services
Assembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class SynchronizationAuditDispatcher : IAuditDispatchService, 
	IServiceImplementation, IDisposable

The SynchronizationAuditDispatcher type exposes the following members.

Constructors
 NameDescription
Public methodSynchronizationAuditDispatcher Synchronization queue
Top
Properties
 NameDescription
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodDispose Service is being disposed - so send the audits out
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)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSendAudit Sends the audit to the central authority
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Remarks
In order to reduce the number of audits which are sent to the central environment, a dispatcher is used. This allows only audits relevant audits to be sent to the central server via ISynchronizationQueueManager
See Also