Sun Microsystems IP HL 7 Computer Hardware User Manual


 
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 congure the Java
socket and server socket options.
TABLE3 Connectivity Map -TCPIP InboundSettings
Name Description
Connection Type The way theadapter establishes the TCP/IP connection. Selectone of the
following options:
Client The adapter connectsto an external server (host/port)to establish
the connection. Theadapter is in active mode.
Server Theadapter waits and listens on acertain port for an incoming
connection request froman external client. Once the requestis received, the
adapter accepts therequest and establishes the connection. Theadapter is in
passive mode.
Server is thedefault setting. Unless you specically requireClient mode, leave the
default value.
ServerSO Timeout The value (inmilliseconds) of the SO_TIMEOUT parameter for ServerSocket.The
timeout must begreater than zero (0). A timeoutof zero is interpreted as an
innite timeout.
This value isused for the ServerSocket.accept() method. When thisoption is
set to anon-zero timeout, calling accept() for thisServerSocket will block for
the congured lengthof time. If the timeoutexpires, a
java.net.SocketTimeoutException (or java.net.InterruptedIOException)
is thrown, butthe ServerSocket remains valid.
Enable this optionprior to entering the blocking operation.This property is only
used when the Connection Type property is set to Server.
Server SocketFactory
ImplementationClass
Name
The name ofthe Java class thatimplements the server socket factory.This class is
used to createthe server socket. If youhave provided your own serversocket
implementation, enter thename of the Java class thatcontains this
implementation here. Thefactory 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/IPHL7V2AdapterInboundConnectivity MapProperties
SunAdapterforTCP/IPHL7User's Guide • October200932