TCPIPOutbound Settings — TCP/IP HL7 V2 Outbound
Adapter

Thefollowing table lists and describes the properties on the TCPIP Outbound Settings page of

theProperties Editor accessed from the Connectivity Map. These properties congure the Java

socketand server socket options. For more information, see the Javadocs for Java SDK.

TABLE17 ConnectivityMap - TCPIP Outbound Settings
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.
ServerSo
Timeout
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.
TCP/IPHL7V2 Adapter Outbound Connectivity Map Properties
SunAdapterfor TCP/IP HL7 User's Guide • Oc tober 200950