Home > Class Reference > ENSLIB namespace > EnsLib.EDI.X12.Service.TCPService


class EnsLib.EDI.X12.Service.TCPService extends EnsLib.EDI.X12.Service.Standard

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter ADAPTER = EnsLib.EDI.X12.Adapter.TCPInboundAdapter;
Inherited description: The type of adapter used to communicate with external systems

Properties (Including Private)

property BatchHandling as %String (DISPLAYLIST = ",Whole Batch,Single-Session Batch,Multi-Session Batch,Individual,", VALUELIST = ",Whole,1Session,Batch,Indiv") [ InitialExpression = "Whole" , Required ];
How to treat received Message batches: - Whole Batch = don't process child Message documents individually; accumulate and send the whole batch as one composite document - Single-Session Batch = forward each message in the batch as part of a single session, followed objects representing the batch headers / trailers - Multi-Session Batch = forward each message in the batch in its own session, including objects representing the batch headers / trailers - Individual = forward each child message in the batch in its own session; do not forward objects representing the batch headers / trailers
Property methods: BatchHandlingDisplayToLogical(), BatchHandlingGet(), BatchHandlingIsValid(), BatchHandlingLogicalToDisplay(), BatchHandlingLogicalToOdbc(), BatchHandlingNormalize(), BatchHandlingSet()

Methods (Including Private)

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.EDI.X12.Document 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 (Including Private)

Inherited Methods (Including Private)