TABLE42 ConnectivityMap - TCPIP Outbound Settings (V3)
Name Description
ConnectionType Theway the adapter establishes the TCP/IP connection. Select one of the
followingoptions:
Client– The adapter connects to an external server (host/port) to establish
theconnection. The adapter is in active mode.
Server– The adapter waits and listens on a certain port for an incoming
connectionrequest from an external client. Once the request is received, the
adapteraccepts the request and establishes the connection. The adapter is in
passivemode.
Serveris the default setting. Unless you specically require Client mode, leave the
defaultvalue.
ServerSoTimeout Thevalue (in milliseconds) of the SO_TIMEOUT parameter for ServerSocket. The
timeoutmust be greater than zero (0). A timeout of zero is interpreted as an
innitetimeout.
Thisvalue is used for the ServerSocket.accept() method. When this option is
setto a non-zero timeout, calling accept() for this ServerSocket will block for
thecongured length of time. If the timeout expires, a
java.net.SocketTimeoutException(or java.net.InterruptedIOException)
isthrown, but the ServerSocket remains valid.
Enablethis option prior to entering the blocking operation. This property is only
usedwhen the Connection Type property is set to Server.
KeepAlive Anindicator of whether the client’sSO_KEEPALIVE option is enabled or
disabled.Select true to enable SO_KEEPALIVE;otherwise, select false.
Whenthe option is enabled for a TCP socket and no data has been exchanged
acrossthe socket in either direction for two hours, TCP automatically sends a
KEEPALIVEprobeto the peer (the actual value is implementation dependent).
Thisprobe is a TCP segment to which the peer must respond. One of three
responsesis expected:
1. Thepeerresponds with the expected ACK. The application is not notied
(sinceeverything is OK). TCP will send another probe following another two
hoursof inactivity.
2. Thepeerresponds with an RST, which tells the local TCP that the peer host
hascrashed and rebooted. The socket is closed.
3. Thereisno response from the peer. The socket is closed. The purpose of this
optionis to detect if the peer host has crashed. This is used for the accepted
clientSocket.
Note– For some properties, the server socket itself does not have direct property
settingsassociated with it. Instead, the properties map to the accepted client
socket.
TCP/IPHL7V3 Adapter Outbound Connectivity Map Properties
SunAdapterfor TCP/IP HL7 User's Guide 81