Method Summary |
|
int | getReceiveBufferSize() |
int | getSendBufferSize() |
int | getSoLinger() Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread. |
int | getTrafficClass() |
boolean | isKeepAlive() |
boolean | isOobInline() |
boolean | isReuseAddress() |
boolean | isTcpNoDelay() |
void | setKeepAlive(boolean keepAlive) |
void | setOobInline(boolean oobInline) |
void | setReceiveBufferSize(int receiveBufferSize) |
void | setReuseAddress(boolean reuseAddress) |
void | setSendBufferSize(int sendBufferSize) |
void | setSoLinger(int soLinger) Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread. |
void | setTcpNoDelay(boolean tcpNoDelay) |
void | setTrafficClass(int trafficClass) |