![Sun Microsystems Sun Adapter forTCP/IPHL7 Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/sun-microsystems/sun-adapter-fortcp-iphl7/sun-adapter-fortcp-iphl7_user-manual_1392464052.webp)
TABLE 17
Connectivity Map - TCPIP Outbound Settings
(Continued)
Name
Description
SoLinger
An indicator of whether the adapter performs a “linger-on-close” timeout. This
option disables or enables an immediate return from a call to the
close()
method
for a TCP Socket. To enable the linger-on-close timeout, select
true
; otherwise,
select
false
.
If you enable this property, specify the maximum length of the timeout in the
SoLinger Timeout
property.
SoLinger Timeout
The server’s linger–on–close timeout in seconds. Use
SoLinger Timeout
when
SoLinger
is set to true (see the description for
SoLinger
above). You can specify
an integer between -1 and 65535. The default is -1 seconds, which indicates that
the
SoLinger
option is disabled.
When
SoLinger
is set to
true
, the
SoLinger Timeout
value indicates the
following:
■
A non-zero integer
means that calling
close()
will block pending the
transmission and acknowledgement of all data written to the peer. When all
data is written, the socket is closed gracefully. Upon reaching the linger
timeout value specified here, the socket is closed forcefully with a TCP RST. If
the specified timeout value exceeds 65,535 it will be reduced to 65,535.
■
A zero integer
means that a forceful close is performed immediately.
SoTimeout
The value of the SoTimeout in milliseconds. You can enter a value greater than or
equal to zero (
0
). When set to zero (
0
), the timeout is infinite.
With this option set to a non-zero value, calling the
read()
method on the input
stream associated with this socket will block for only the configured length of
time. If the timeout expires, a
java.io.InterruptedIOException
or
java.net.SocketTimeoutException
is thrown, but the socket remains valid.
Enable this option prior to entering the blocking operation.
TcpNoDelay
An indicator of whether data packets that are smaller than the maximum transfer
unit (MTU) size are sent out immediately over the network (this refers to Nagle’s
algorithm). Select one of the following options:
■
True
– Indicates that the server allows data packets that are smaller than the
MTU size to be sent out immediately over the network. This can improve
performance for higher-speed networks.
■
False
– Indicates that the server does not allow data packets that are less than
the MTU size be sent out immediately over the network.
This is used for the accepted client socket.
TCP/IP HL7 V2 Adapter Outbound Connectivity Map Properties
Sun Adapter for TCP/IP HL7 User's Guide • October 2009
52
Содержание Sun Adapter forTCP/IPHL7
Страница 6: ...6 ...