beautypg.com

Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 81

background image

TABLE 42

Connectivity Map - TCPIP Outbound Settings (V3)

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.

ServerSoTimeout

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.

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 crashed 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 Outbound Connectivity Map Properties

Sun Adapter for TCP/IP HL7 User's Guide

81

This manual is related to the following products: