class EnsLib.EDI.X12.Adapter.TCPOutboundAdapter
extends EnsLib.TCP.OutboundAdapter
property ConnectTimeout
as %Numeric(MINVAL=0) [ InitialExpression = 5 ];
Number of seconds to wait on each connection attempt
property GetReply
as %Boolean [ InitialExpression = 0 ];
If true, wait to read a reply message back from the socket before returning.
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.
method Disconnect()
method OnInit()
as %Status
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.