|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TCPIPSocketInfoInterface
This class represents TCPIP Socket configuration information. Basically, it represents java Socket options. Note: Once the socket connection is established, the host, port and socketFactoryImplClassName are not allowed to change.
Field Summary | |
---|---|
static java.lang.String |
version
|
Method Summary | |
---|---|
int |
getBacklog()
Returns the backlog which is the maximum length of the queue. |
TCPIPSocketEstablishmentInfoInterface |
getClientConnectionEstablishmentInfo()
|
java.lang.String |
getConnectionType()
|
java.lang.String |
getHost()
Returns the host. |
int |
getPort()
Returns the port. |
int |
getReceiveBufferSize()
Returns the receiveBufferSize. |
int |
getSendBufferSize()
Returns the sendBufferSize. |
TCPIPServerPortBindingInfoInterface |
getServerPortBindingInfo()
|
int |
getServerSoTimeout()
Returns the server soTimeout. |
java.lang.String |
getServerWelcomeMessage()
|
java.lang.String |
getSocketFactoryImplClassName()
Returns the socketFactoryImplClassName. |
int |
getSoLingerTimeout()
Returns the soLingerTimeout. |
int |
getSoTimeout()
Returns the soTimeout. |
boolean |
isClientConnectionType()
|
boolean |
isKeepAlive()
Checks whether the keepAlive option is on. |
boolean |
isServerConnectionType()
|
boolean |
isSoLinger()
Checks whether the SoLinger option is on. |
boolean |
isTcpNoDelay()
Checks whether the TcpNoDelay option is on. |
void |
setKeepAlive(boolean keepAlive)
Sets the keepAlive. |
void |
setReceiveBufferSize(int receiveBufferSize)
Sets the receiveBufferSize. |
void |
setSendBufferSize(int sendBufferSize)
Sets the sendBufferSize. |
void |
setServerSoTimeout(int soTimeout)
Sets the server soTimeout. |
void |
setSoLinger(boolean soLinger)
Sets the soLinger. |
void |
setSoLingerTimeout(int soLingerTimeout)
Sets the soLingerTimeout. |
void |
setSoTimeout(int soTimeout)
Sets the soTimeout. |
void |
setTcpNoDelay(boolean tcpNoDelay)
Sets the tcpNoDelay. |
Field Detail |
---|
static final java.lang.String version
Method Detail |
---|
java.lang.String getConnectionType()
boolean isServerConnectionType()
boolean isClientConnectionType()
int getServerSoTimeout()
void setServerSoTimeout(int soTimeout) throws TCPIPApplicationException, java.io.IOException
soTimeout
- The server soTimeout to set
TCPIPApplicationException
- on error
java.io.IOException
- on i/o error.java.lang.String getServerWelcomeMessage()
java.lang.String getHost()
boolean isKeepAlive()
int getPort()
int getBacklog()
int getReceiveBufferSize()
int getSendBufferSize()
boolean isSoLinger()
int getSoLingerTimeout()
int getSoTimeout()
boolean isTcpNoDelay()
void setKeepAlive(boolean keepAlive) throws java.io.IOException
keepAlive
- The keepAlive to set
IOExeption
- on i/oerror
java.io.IOException
void setReceiveBufferSize(int receiveBufferSize) throws TCPIPApplicationException, java.io.IOException
receiveBufferSize
- The receiveBufferSize to set
TCPIPApplicationException
- on error
IOExeption
- on i/oerror
java.io.IOException
void setSendBufferSize(int sendBufferSize) throws TCPIPApplicationException, java.io.IOException
sendBufferSize
- The sendBufferSize to set
TCPIPApplicationException
- on error
IOExeption
- on i/oerror
java.io.IOException
void setSoLinger(boolean soLinger) throws java.io.IOException
soLinger
- The soLinger to set
IOExeption
- on i/oerror
java.io.IOException
void setSoLingerTimeout(int soLingerTimeout) throws java.io.IOException
soLingerTimeout
- The soLingerTimeout to set
IOExeption
- on i/oerror
java.io.IOException
void setSoTimeout(int soTimeout) throws TCPIPApplicationException, java.io.IOException
soTimeout
- The soTimeout to set
TCPIPApplicationException
- on error
IOExeption
- on i/oerror
java.io.IOException
void setTcpNoDelay(boolean tcpNoDelay) throws java.io.IOException
tcpNoDelay
- The tcpNoDelay to set
IOExeption
- on i/oerror
java.io.IOException
java.lang.String getSocketFactoryImplClassName()
TCPIPSocketEstablishmentInfoInterface getClientConnectionEstablishmentInfo()
TCPIPServerPortBindingInfoInterface getServerPortBindingInfo()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |