IPWorks EDI 2020 Delphi Edition

Questions / Feedback?

MLLPConnection Type

An MLLP client connection.

Remarks

This type represents an MLLP client connection.

Fields

Connected
Boolean

Triggers a connection or disconnection.

This property triggers a connection or disconnection.

Setting this property to True initiates a connection attempt to the host specified by the RemoteHost property. If successful, the value of this property changes to True and the Connected event is fired.

ConnectionId
String

The Id of the connection.

This property contains an identifier generated by the component that uniquely identifies the connection.

InputData
String

The raw HL7 data to send.

This property is used to specify the HL7 data to send when the Send method is called.

Note that the component checks the following places for input data, in order, when Send is called. Input data is sent from the first place it is found:

  • The contents of a file whose path has been set to the connection's InputFilename property.
  • The data set to the connection's InputData property.

InputDataB
TBytes

The raw HL7 data to send.

This property is used to specify the HL7 data to send when the Send method is called.

Note that the component checks the following places for input data, in order, when Send is called. Input data is sent from the first place it is found:

  • The contents of a file whose path has been set to the connection's InputFilename property.
  • The data set to the connection's InputData property.

InputFilename
String

The path of a file containing HL7 data to send.

This property is used to specify a path to a file whose contents will be sent when the Send method is called.

Note that the component checks the following places for input data, in order, when Send is called. Input data is sent from the first place it is found:

  • The contents of a file whose path has been set to the connection's InputFilename property.
  • The data set to the connection's InputData property.

LocalAddress
String

The address of the local interface through which the connection is passing.

This property reflects the address of the local network interface through which the connection is passing. This information is typically only important for multi-homed devices.

OutputData
String

The raw HL7 data received.

This property holds the raw HL7 data received from the MLLP client.

Note that the component will store output data in one of the following places, choosing the first one that is valid:

OutputDataB
TBytes

The raw HL7 data received.

This property holds the raw HL7 data received from the MLLP client.

Note that the component will store output data in one of the following places, choosing the first one that is valid:

OutputFilename
String

The path of a file in which to store received HL7 data.

This property is used to specify a path to a file in which to store HL7 data received from the MLLP client.

Note that the component will store output data in one of the following places, choosing the first one that is valid:

RemoteHost
String

The address of the MLLP client associated with the connection.

This property reflects the address of the MLLP client associated with the connection.

RemotePort
Integer

The port of the MLLP client associated with the connection.

This property reflects the port of the MLLP client associated with the connection.

Timeout
Integer

The timeout value, in seconds, for the connection.

This property specifies the timeout, in seconds, to use for the connection.

If set to 0, all operations return immediately, potentially failing with a WOULDBLOCK error if data can't be sent immediately.

If set to a positive value, the component will automatically retry each operation that would otherwise result in a WOULDBLOCK error for a maximum of Timeout seconds.

The component will use DoEvents to enter an efficient wait loop during any potential waiting period, making sure that all system events are processed immediately as they arrive. This ensures that the host application does not "freeze" and remains responsive.

If Timeout expires, and the operation is not yet complete, the component raises an exception.

Please note that by default, all timeouts are inactivity timeouts, i.e. the timeout period is extended by Timeout seconds when any amount of data is successfully sent or received.

The default value is 0 (asynchronous operation).

Constructors

constructor Create();

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Delphi Edition - Version 20.0 [Build 8203]