Sun Microsystems TCP Computer Hardware User Manual


 
TCPIP Outbound Settings — TCP/IP HL7V2 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 congure the Java
socket and server socket options. For more information, see the Javadocs for Java SDK.
TABLE17 Connectivity Map -TCPIP Outbound Settings
Name Description
Connection Type The way theadapter establishes the TCP/IP connection. Selectone of the
following options:
Client The adapter connectsto an external server (host/port)to establish
the connection. Theadapter is in active mode.
Server Theadapter waits and listens on acertain port for an incoming
connection request froman external client. Once the requestis received, the
adapter accepts therequest and establishes the connection. Theadapter is in
passive mode.
Server is thedefault setting. Unless you specically requireClient mode, leave the
default value.
ServerSo
Timeout
The value (inmilliseconds) of the SO_TIMEOUT parameter for ServerSocket.The
timeout must begreater than zero (0). A timeoutof zero is interpreted as an
innite timeout.
This value isused for the ServerSocket.accept() method. When thisoption is
set to anon-zero timeout, calling accept() for thisServerSocket will block for
the congured lengthof time. If the timeoutexpires, a
java.net.SocketTimeoutException (or java.net.InterruptedIOException)
is thrown, butthe ServerSocket remains valid.
Enable this optionprior to entering the blocking operation.This property is only
used when the Connection Type property is set to Server.
TCP/IPHL7V2AdapterOutboundConnectivityMapProperties
SunAdapterforTCP/IPHL7User's Guide • October200950