Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 32

Advertising
background image

TCPIP Inbound Settings — TCP/IP HL7 V2 Inbound
Adapter

The following table lists and describes the properties on the TCPIP Inbound Settings page of the
Properties Editor accessed from the Connectivity Map. These properties configure the Java
socket and server socket options.

TABLE 3

Connectivity Map - TCPIP Inbound 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.

Server Socket Factory
Implementation Class
Name

The name of the Java class that implements the server socket factory. This class is
used to create the server socket. If you have provided your own server socket
implementation, enter the name of the Java class that contains this
implementation here. The factory implementation class must implement the
com.stc.connector.tcpip.model.factory.TCPIPSocketFactory

interface. A

default interface,
com.stc.connector.tcpip.model.factory.TCPIPSocketFactoryImpl

, is

provided.

TCP/IP HL7 V2 Adapter Inbound Connectivity Map Properties

Sun Adapter for TCP/IP HL7 User's Guide • October 2009

32

Advertising
This manual is related to the following products: