|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TCPIPProtocolAttributeController
Attribute controller for TCP/IP protocol. Defines default values for export and bind hints.
TCPIPProtocol
Field Summary | |
---|---|
static int |
CONNECTION_RETRY_DEFAULT
Default value of connectionRetry attribute. |
Method Summary | |
---|---|
int |
getConnectionRetry()
Returns the default value of the TCPIPProtocol.CONNECTION_RETRY
hint. |
int |
getPort()
Returns the default value of the TCPIPProtocol.PORT hint. |
int |
getSoLinger()
Returns the default value of the TCPIPProtocol.SO_LINGER hint. |
int |
getSoTimeout()
Returns the default value of the TCPIPProtocol.SO_TIMEOUT hint. |
boolean |
getTcpNoDelay()
Returns the default value of the TCPIPProtocol.TCP_NO_DELAY hint. |
void |
setConnectionRetry(int connectionRetry)
Sets the default value of the TCPIPProtocol.CONNECTION_RETRY hint. |
void |
setPort(int port)
Sets the default value of the TCPIPProtocol.PORT hint. |
void |
setSoLinger(int timeout)
Sets the default value of the TCPIPProtocol.SO_LINGER hint. |
void |
setSoTimeout(int timeout)
Sets the default value of the TCPIPProtocol.SO_TIMEOUT hint. |
void |
setTcpNoDelay(boolean tcpNoDelay)
Sets the default value of the TCPIPProtocol.TCP_NO_DELAY hint. |
Field Detail |
---|
static final int CONNECTION_RETRY_DEFAULT
connectionRetry
attribute.
Method Detail |
---|
int getPort()
TCPIPProtocol.PORT
hint.
port
attribute's value.TCPIPProtocol.PORT
,
setPort(int)
void setPort(int port)
TCPIPProtocol.PORT
hint.
port
- the new port
attribute's value.TCPIPProtocol.PORT
,
getPort()
int getConnectionRetry()
TCPIPProtocol.CONNECTION_RETRY
hint.
CONNECTION_RETRY_DEFAULT
by default, or the value set by
setConnectionRetry(int)
.TCPIPProtocol.CONNECTION_RETRY
,
setConnectionRetry(int)
void setConnectionRetry(int connectionRetry)
TCPIPProtocol.CONNECTION_RETRY
hint.
connectionRetry
- the new connectionRetry
attribute's
value.TCPIPProtocol.CONNECTION_RETRY
,
getConnectionRetry()
boolean getTcpNoDelay()
TCPIPProtocol.TCP_NO_DELAY
hint.
tcpNoDelay
attribute's value.TCPIPProtocol.TCP_NO_DELAY
,
Socket.setTcpNoDelay(boolean)
,
setTcpNoDelay(boolean)
void setTcpNoDelay(boolean tcpNoDelay)
TCPIPProtocol.TCP_NO_DELAY
hint.
tcpNoDelay
- the new tcpNoDelay
attribute's value.TCPIPProtocol.TCP_NO_DELAY
,
getTcpNoDelay()
int getSoTimeout()
TCPIPProtocol.SO_TIMEOUT
hint.
soTimeout
attribute's value.TCPIPProtocol.SO_TIMEOUT
,
Socket.setSoTimeout(int)
,
setSoTimeout(int)
void setSoTimeout(int timeout)
TCPIPProtocol.SO_TIMEOUT
hint.
timeout
- the new soTimeout
attribute's value.TCPIPProtocol.SO_TIMEOUT
,
Socket.setSoTimeout(int)
,
getSoTimeout()
int getSoLinger()
TCPIPProtocol.SO_LINGER
hint.
soLinger
attribute's value.TCPIPProtocol.SO_LINGER
,
Socket.setSoLinger(boolean, int)
,
setSoLinger(int)
void setSoLinger(int timeout)
TCPIPProtocol.SO_LINGER
hint.
timeout
- the new soLinger
attribute's value.TCPIPProtocol.SO_LINGER
,
Socket.setSoLinger(boolean, int)
,
getSoLinger()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |