Click or drag to resize

HL7MessageHandler Class

Implementation of the IApiEndpointProvider providing support for Health Level 7 Version 2.x messaging
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.HL7HL7MessageHandler

Namespace: SanteDB.Messaging.HL7
Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntax
public class HL7MessageHandler : IDaemonService, 
	IServiceImplementation, IApiEndpointProvider

The HL7MessageHandler type exposes the following members.

Constructors
 NameDescription
Public methodHL7MessageHandlerInitializes a new instance of the HL7MessageHandler class
Top
Properties
 NameDescription
Public propertyApiType Gets the API type
Public propertyBehaviorType Gets the contract type
Public propertyCapabilities Capabilities
Public propertyIsRunning Returns true with the service is running
Public propertyServiceName Gets the service name
Public propertyUrl Get the URL
Top
Methods
 NameDescription
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 methodGetRemoteEndpointInfo Retrieve the remote endpoint information
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStart Start the v2 message handler
Public methodStop Stop the v2 message handler
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventStarted Fired when the service has stopped
Public eventStarting Fired when the service is starting
Public eventStopped Fired when the service has stopped
Public eventStopping Fired when the service is stopping
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

This service is responsible for starting up and tearing down the various IHL7MessageHandler interfaces configured for SanteDB's implementation of HL7v2 support. This service starts up the necessary ITransportProtocol interfaces and initializes the message handlers for receiving and handling inbound messages on LLP, SLLP, or TCP.

See Also