EnsLib.TCP.DuplexAdapter
class EnsLib.TCP.DuplexAdapter extends Ens.InboundAdapter, Ens.OutboundAdapter
Property Inventory
- %isTCPEventDevice
- EventDevice
- EventPort
- IPAddress
- IPDevice
- IPPort
- IsConnected
- IsSpawnedJob
- JobPerConnection
- LocalInterface
- PrincipalDevice
- QSize
- SSLConfig
- TCPReadTimeout
Method Inventory
- ClearEventDevice()
- ClearTCPEventDevice()
- CloseDevice()
- CloseEventDevice()
- CloseTCPEventDevice()
- EventDeviceSet()
- OnCloseConnection()
- OnDeviceDisconnected()
- OnDeviceReady()
- OnDeviceTimeout()
- OnInit()
- OnOpenConnection()
- OnTask()
- OnTearDown()
- OpenDevice()
- OpenEventDevice()
- OpenTCPEventDevice()
- OutputData()
- ResetDevice()
- connectedJob()
Parameters
Properties
To be able to bind to IPv6 interfaces you may need to enable IPv6 in your Ensemble instance. This is done in the System Management Portal under System Administration > Configuration > Additional Settings > Startup, by editing the IPv6 setting.
The default value is 100 and the maximum allowed value is 1000.
However, the maximum incoming connections the OS can hold open until the Business Service processes them depends on the TCP implementation.
Set to 0 if only one connection at a time is expected and subsequent connections ought to be refused immediately by the OS.
Note: If QSize is 0 a client attempting to connect will be refused connection by the operating system (RST,ACK) if the Business Service is processing a previous incoming connection.
This could lead to a scenario where a client is connected to the Business Service but disconnects and attempts
to reconnect again in the brief period before the listening socket is re-opened by the Business Service and the client does not retry to connect as a result.
If your SSL Configuration requires you to supply a password for the local private key file, specify it in the Private key password property of the SSL/TLS Configuration.
Methods
Inherited Members
Inherited Properties
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()
- CredentialsSet()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GetSettings()
- OnKeepalive()