Sun Microsystems Sun Adapter IP HL 7 User Manual
Page 50
TCPIP Outbound Settings — TCP/IP HL7 V2 Outbound
Adapter
The following table lists and describes the properties on the TCPIP Outbound Settings page of
the Properties Editor accessed from the Connectivity Map. These properties configure the Java
socket and server socket options. For more information, see the Javadocs for Java SDK.
TABLE 17
Connectivity Map - TCPIP Outbound Settings
Name
Description
Connection Type
The way the adapter establishes the TCP/IP connection. Select one of the
following options:
■
Client
– The adapter connects to an external server (host/port) to establish
the connection. The adapter is in active mode.
■
Server
– The adapter waits and listens on a certain port for an incoming
connection request from an external client. Once the request is received, the
adapter accepts the request and establishes the connection. The adapter is in
passive mode.
Server is the default setting. Unless you specifically require Client mode, leave the
default value.
ServerSo
Timeout
The value (in milliseconds) of the SO_TIMEOUT parameter for ServerSocket. The
timeout must be greater than zero (0). A timeout of zero is interpreted as an
infinite timeout.
This value is used for the ServerSocket.accept() method. When this option is
set to a non-zero timeout, calling accept() for this ServerSocket will block for
the configured length of time. If the timeout expires, a
java.net.SocketTimeoutException
(or java.net.InterruptedIOException)
is thrown, but the ServerSocket remains valid.
Enable this option prior to entering the blocking operation. This property is only
used when the Connection Type property is set to Server.
TCP/IP HL7 V2 Adapter Outbound Connectivity Map Properties
Sun Adapter for TCP/IP HL7 User's Guide • October 2009
50