beautypg.com

Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 66

background image

TABLE 28

Connectivity Map - TCPIP Inbound Settings (V3)

(Continued)

Name

Description

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.

Keep Alive

An indicator of whether the client’s SO_KEEPALIVE option is enabled or
disabled. Select true to enable SO_KEEPALIVE; otherwise, select false.

When the option is enabled for a TCP socket and no data has been exchanged
across the socket in either direction for two hours, TCP automatically sends a
KEEPALIVE probe to the peer (the actual value is implementation dependent).
This probe is a TCP segment to which the peer must respond. One of three
responses is expected:
1.

The peer responds with the expected ACK. The application is not notified

(since everything is OK). TCP will send another probe following another two

hours of inactivity.

2.

The peer responds with an RST, which tells the local TCP that the peer host

has gone down and rebooted. The socket is closed.

3.

There is no response from the peer. The socket is closed. The purpose of this

option is to detect if the peer host has crashed. This is used for the accepted

client Socket.

Note –

For some properties, the server socket itself does not have direct property

settings associated with it. Instead, the properties map to the accepted client

socket.

TCP/IP HL7 V3 Adapter Inbound Connectivity Map Properties

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

66

This manual is related to the following products: