Inbound adapter for HL7 v2 over TCP
Local holder for lookahead line for Parser property JobPerConnection as
Spawn a new Job to handle each incoming TCP connection. Allows simultaneous handling of multiple connections. property QSize as
Note that the performance of this setting can be affected by changing the configured QSize setting of this adapter and by configuring Job Servers as a system configuration option.
How many incoming connections should the OS hold open on our behalf until we get around to dealing with them?
Set to 0 if only one connection at a time is expected. Set to a large number if many clients will connecting rapidly.
This method is used to Clear the receive buffer. It will call Disconnect() if there is a Read error. If used it is intended to be called immediately before returning an ACK pClearFlag can be: - 0 : do not discard any waiting inbound data - 1 : discard waiting inbound data and log a warning in Event log method Disconnect()
- 2 : discard waiting inbound data. Record in Event log only if Debug trace is enabled.
pDiscarded returns to the caller the first discarded line with any control characted mapped.
method OnConnected() as
method OnInit() as
This user callback method is called just after %OnNew()