Skip to main content

EnsLib.EDI.X12.Adapter.TCPOutboundAdapter

class EnsLib.EDI.X12.Adapter.TCPOutboundAdapter extends EnsLib.TCP.OutboundAdapter

Property Inventory

Method Inventory

Properties

property ConnectTimeout as %Numeric (MINVAL = 0) [ InitialExpression = 5 ];
Number of seconds to wait on each connection attempt
Property methods: ConnectTimeoutDisplayToLogical(), ConnectTimeoutGet(), ConnectTimeoutIsValid(), ConnectTimeoutLogicalToDisplay(), ConnectTimeoutNormalize(), ConnectTimeoutSet()
property GetReply as %Boolean [ InitialExpression = 0 ];
If true, wait to read a reply message back from the socket before returning.
Property methods: GetReplyDisplayToLogical(), GetReplyGet(), GetReplyIsValid(), GetReplyLogicalToDisplay(), GetReplyNormalize(), GetReplySet()
property ResponseTimeout as %Numeric (MINVAL = -1) [ InitialExpression = 30 ];
Number of seconds to wait for a response to begin arriving back from the remote system after sending a request. Setting the timeout to -1 means wait forever.
Property methods: ResponseTimeoutDisplayToLogical(), ResponseTimeoutGet(), ResponseTimeoutIsValid(), ResponseTimeoutLogicalToDisplay(), ResponseTimeoutNormalize(), ResponseTimeoutSet()

Methods

method Disconnect()
method OnInit() as %Status
Inherited description: This user callback method is called just after %OnNew()
method X12Message(pMsgOut As EnsLib.EDI.X12.Document, Output pMsgIn As EnsLib.EDI.X12.Document) as %Status
Accepts X12 documents and forwards them to a remote IP address, reading a response X12 document object returned from the remote IP address if the GetReply setting property is enabled.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab