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: 2.2.1
Syntax
public class HL7MessageHandler : IDaemonService, 
	IServiceImplementation, IApiEndpointProvider

The HL7MessageHandler type exposes the following members.

Constructors
  NameDescription
Public methodHL7MessageHandler
Initializes 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 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRemoteEndpointInfo
Retrieve the remote endpoint information
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 methodStart
Start the v2 message handler
Public methodStop
Stop the v2 message handler
Public methodToString
Returns 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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
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