EnsLib.HL7.Adapter.TCPInboundAdapter
class EnsLib.HL7.Adapter.TCPInboundAdapter extends EnsLib.TCP.InboundAdapter
Inbound adapter for HL7 v2 over TCPProperty Inventory
Method Inventory
Properties
property %OutLine as %String;
Local holder for lookahead line for Parser
Property methods: %OutLineDisplayToLogical(), %OutLineGet(), %OutLineIsValid(), %OutLineLogicalToDisplay(), %OutLineLogicalToOdbc(), %OutLineNormalize(), %OutLineSet()
property JobPerConnection as %Boolean [ InitialExpression = 0 ];
Spawn a new Job to handle each incoming TCP connection. Allows simultaneous handling of multiple connections.
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.
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.
Property methods: JobPerConnectionDisplayToLogical(), JobPerConnectionGet(), JobPerConnectionIsValid(), JobPerConnectionLogicalToDisplay(), JobPerConnectionNormalize(), JobPerConnectionSet()
property QSize as %Integer (MAXVAL = 1000, MINVAL = 0) [ InitialExpression = 0 ];
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.
Property methods: QSizeDisplayToLogical(), QSizeGet(), QSizeIsValid(), QSizeLogicalToDisplay(), QSizeNormalize(), QSizeSet()
Methods
method ClearRecvBuffer(pClearFlag As %Integer = 0, Output pDiscarded As %String, ByRef pIOLogEntry As Ens.Util.IOLog = $$$NULLOREF) as %Status
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
- 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.
- 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 Disconnect()
method OnConnected() as %Status
method OnInit() as %Status
Inherited description: This user callback method is called just after %OnNew()
Inherited Members
Inherited Properties
- %CredentialsObj
- %PoolLimit
- %WarnedLatest
- %logConnections
- %outIPAddr
- AllowedIPAddresses
- BusinessHost
- CallInterval
- Connected
- Credentials
- Device
- IOAddr
- KeepaliveInterval
- LocalInterface
- OldIO
- Port
- ReadTimeout
- RegistryID
- SSLConfig
- Socket
- StayConnected
- Terminators
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AssignOneSetting()
- ClearAllAppData()
- ClearRuntimeAppData()
- ClearStaticAppData()
- ConnectOut()
- ConnectedSet()
- CredentialsSet()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- FlushWrite()
- GetAddress()
- GetSettings()
- IsReadError()
- IsWriteError()
- OnKeepalive()
- OnTask()
- OnTearDown()
- TestConnection()
- connectedJob()