10.07.2015 Views

Using TCP Adapters with Ensemble - InterSystems Documentation

Using TCP Adapters with Ensemble - InterSystems Documentation

Using TCP Adapters with Ensemble - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Settings for EnsLib.<strong>TCP</strong>.OutboundAdapterIPAddressPortIP address to make a <strong>TCP</strong> connection to. The adapter accepts a named IP address, an IPV4 address, or an IPV6address.If the address starts <strong>with</strong> a ! character, the adapter waits for a connection from a remote system. In this case, followthe exclamation point <strong>with</strong> a comma-separated list of remote IP addresses from which to accept connections. Theadapter accepts named IP addresses, IPV4 addresses, or IPV6 addresses. An optional :port designation is supported;so, for example, both of the following address formats are acceptable: 192.168.1.22 or 192.168.1.22:3298.If no IP address follows the ! character, any remote system may connect; otherwise only the listed IP addresses(and ports) are allowed to connect.Identifies the <strong>TCP</strong> port to which to connect. <strong>TCP</strong> port numbers have a maximum value of 65535.StayConnectedIf StayConnected is a positive value, the adapter stays connected to the remote system for this number of secondsafter completing an operation. A zero value means to disconnect immediately after every operation. The defaultof -1 means to stay permanently connected, even during idle times. <strong>Adapters</strong> are assumed idle at startup andtherefore only auto-connect if they are configured <strong>with</strong> a StayConnected value of -1.ConnectTimeoutLocalInterfaceNumber of seconds to wait on each attempt to connect to the remote <strong>TCP</strong> listener. The default is 5 seconds.Specifies the network interface through which the <strong>TCP</strong> connection should go. Select a value from the list or typea value. An empty value means use any interface.This setting allows you to specify that a virtual IP address should be used to send outbound traffic, which is usefulin the case of mirroring. If a remote application is configured to accept traffic from the virtual IP address, and boththe primary and the secondary use that IP address to connect to the remote application, then everything continuesto work when the secondary starts sending.ReconnectRetryNumber of retries at which to drop the connection and try reconnecting again. A value of 0 (zero) means neverdisconnect. The default value is 5.ResponseTimeoutReadTimeoutSSLConfigNumber of seconds to wait for a response to begin arriving back from the remote system after sending a request.The default is 15 seconds.Number of seconds to wait for each successive incoming <strong>TCP</strong> read operation, following receipt of initial datafrom the remote <strong>TCP</strong> port. The default is 5 seconds. The range is 0–600 seconds (a maximum of 10 minutes).The name of an existing Secure Socket Layer (SSL) or Transport Layer Security (TLS) configuration to use toauthenticate this connection.<strong>Using</strong> <strong>TCP</strong> <strong>Adapters</strong> <strong>with</strong> <strong>Ensemble</strong> 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!