TCPIPInbound Settings — TCP/IP HL7 V2 Inbound
Adapter

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

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

socketand server socket options.

TABLE3 ConnectivityMap - TCPIP Inbound 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.
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.
ServerSocket Factory
ImplementationClass
Name
Thename of the Java class that implements the server socket factory. This class is
usedto create the server socket. If you have provided your own server socket
implementation,enter the name of the Java class that contains this
implementationhere. The factory implementation class must implement the
com.stc.connector.tcpip.model.factory.TCPIPSocketFactoryinterface. A
defaultinterface,
com.stc.connector.tcpip.model.factory.TCPIPSocketFactoryImpl,is
provided.
TCP/IPHL7V2 Adapter Inbound Connectivity Map Properties
SunAdapterfor TCP/IP HL7 User's Guide • Oc tober 200932