Home > Class Reference > ENSLIB namespace > EnsLib.HL7.Service.TCPService

EnsLib.HL7.Service.TCPService

class EnsLib.HL7.Service.TCPService extends EnsLib.HL7.Service.Standard

Property Inventory

Method Inventory

Parameters

parameter ADAPTER = EnsLib.HL7.Adapter.TCPInboundAdapter;
Inherited description: The type of adapter used to communicate with external systems
parameter SETTINGS = TargetConfigNames:Basic:selector?multiSelect=1&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},SearchTableClass::selector?context={Ens.ContextSearch/SearchTableClasses?host=EnsLib.HL7.Service.Standard},LocalFacilityApplication,Framing:Connection:selector?context={Ens.ContextSearch/getDisplayList?host=@currHostId&prop=Framing},AckMode,UseAckCommitCodes,IgnoreInboundAck,AddNackERR,NackErrorCode,PreACKTCPClear;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property PreACKTCPClear as %String (DISPLAYLIST = ",No,Yes and Warn,Yes", VALUELIST = ",0,1,2") [ InitialExpression = "0" , Required ];
Control clearing of TCP receive buffer before sending ACK; options:
- No : do not discard any waiting inbound data before returning ACK for current message.
- Yes & Warn : discard waiting inbound data before returning ACK for current message and log a warning in Event log
- Yes : discard waiting inbound data before returning ACK for current message. Record in Event log only if Debug trace is enabled.
If either Yes option is selected and ArchiveIO is enabled any data discarded will be written to the ArchiveIO log.
Property methods: PreACKTCPClearDisplayToLogical(), PreACKTCPClearGet(), PreACKTCPClearIsValid(), PreACKTCPClearLogicalToDisplay(), PreACKTCPClearLogicalToOdbc(), PreACKTCPClearNormalize(), PreACKTCPClearSet()

Methods

method OnInit() as %Status
Inherited description: This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
method OnProcessInput(pLine As Ens.StringContainer, Output pLineLeftOver As Ens.StringContainer, ByRef pHint As %Library.String) as %Status
Inherited description: Note: pDocIn is not declared as EnsLib.HL7.Message so that subclasses can handle other types and transform them before calling ##super().
method SendReply(pReplyDocument As EnsLib.EDI.Document, pOriginalDoc As EnsLib.EDI.Document = $$$NULLOREF) as %Status

Inherited Members

Inherited Properties

Inherited Methods