EnsLib.TCP.InboundAdapter
abstract class EnsLib.TCP.InboundAdapter extends Ens.InboundAdapter, EnsLib.TCP.Common
A generic, protocol-agnostic TCP adapter. Handles making connections. Traffic content is up to the associated Business Service class.Property Inventory
Method Inventory
- ConnectOut()
- ConnectedSet()
- Disconnect()
- OnConnected()
- OnInit()
- OnKeepalive()
- OnTask()
- OnTearDown()
- TestConnection()
- connectedJob()
Parameters
Properties
You may enter a comma-separated list of remote IP addresses to accept connections from, with IP addresses in dotted decimal form for IPV4 and colon-hex form for IPV6, with optional :port for IPV4 and |port for IPV6, e.g.
192.168.1.22, 192.168.1.22:3298 or fe80::4c60:9595:7fb3:8139, fe80::4c60:9595:7fb3:8139|3298.
If :port or |port is specified, connections from other ports at the associated address will be refused.
If AllowedIPAddresses starts with a '!', the Adapter will initiate a connection to the specified address. In this case only one address may be given. If a port is included, it will supersede the value of the Port setting; otherwise the Port setting will be used to connect to the remote system.
Leaving this value empty means connections will be accepted from any remote IP address.
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 also that when JobPerConnection=1, PoolSize is used to limit the number of connection jobs if it is configured with a value greater than 1.
Set to 0 if only one connection at a time is expected. Set to a large number if many clients will connecting rapidly.
Methods
Inherited Members
Inherited Properties
- %CredentialsObj
- %WarnedLatest
- %logConnections
- BusinessHost
- CallInterval
- Connected
- Credentials
- Device
- IOAddr
- KeepaliveInterval
- LocalInterface
- OldIO
- 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()
- CredentialsSet()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- FlushWrite()
- GetAddress()
- GetSettings()
- IsReadError()
- IsWriteError()
Subclasses
- Ens.Enterprise.MsgBank.BankTCPAdapter
- EnsLib.EDI.ASTM.Adapter.TCPAdapter
- EnsLib.EDI.X12.Adapter.TCPInboundAdapter
- EnsLib.HL7.Adapter.TCPInboundAdapter
- EnsLib.HTTP.InboundAdapter
- EnsLib.SOAP.InboundAdapter
- EnsLib.TCP.CountedInboundAdapter
- EnsLib.TCP.CountedXMLInboundAdapter
- EnsLib.TCP.FramedInboundAdapter
- EnsLib.TCP.TextLineInboundAdapter