Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
A generic, protocol-agnostic TCP adapter. Handles making connections. Traffic content is up to the associated Business Operation class.
|
|
|
How many incoming connections should the OS hold open on our behalf until we get around to dealing with them? For outbound we don't need any QSize. Either we are outbound, or we are in '!' inbound mode, in which case only 1 client at a time (per BO pool job) is allowed.
List of properties can be set as settings in the configuration file format is a comma separated list of property names
|
Number of seconds to wait on each connection attempt
If true, wait to read a reply message back from the socket before returning.
IP Address to make a TCP connection to; may be prepended with @AgentName:.If IPAddress starts with '!', the Adapter will wait for a connection from a remote system. If no IP address follows the '!', any remote system may connect; otherwise any listed IP addresses/ports will be allowed to connect.
After the '!' 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.
Override initial value
TCP Port to connect to
Number of times the adapter attempts to send a message before dropping the connection and reconnecting. A value of 0 (zero) means that the adapter attempts to send the message forever without disconnecting. The default value is 5.
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.
|
This is a Set accessor method for theConnected property.
This user callback method is called just after %OnNew()
This method is called from the Host.OnTask() method. It will be called within KeepaliveInterval of the last return from OnTask() or OnKeepalive().
This user callback method is called just before %OnClose()
Fix up the properties reflecting our connection state in case we thought we were connected but we lost the socket.