|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xsocket.stream.StreamSocketConfiguration
public final class StreamSocketConfiguration
socket configuration.
Constructor Summary | |
---|---|
StreamSocketConfiguration()
Deprecated. |
Method Summary | |
---|---|
static java.net.SocketOptions |
fromOptions(java.util.Map<java.lang.String,java.lang.Object> options)
Deprecated. |
static java.lang.Object |
getOption(java.net.Socket socket,
int optID)
Deprecated. |
void |
setIP_TOS(java.lang.Integer i)
Deprecated. set IP_TOS |
static void |
setOption(java.net.Socket socket,
int optID,
java.lang.Object value)
Deprecated. |
void |
setOptions(java.net.ServerSocket socket)
Deprecated. |
void |
setOptions(java.net.Socket socket)
Deprecated. |
void |
setSO_KEEPALIVE(java.lang.Boolean b)
Deprecated. set SO_KEEPALIVE |
void |
setSO_LINGER(java.lang.Integer i)
Deprecated. set SO_LINGER |
void |
setSO_OOBINLINE(java.lang.Boolean b)
Deprecated. set SO_OOBINLINE |
void |
setSO_RCVBUF(java.lang.Integer i)
Deprecated. set SO_RCVBUF |
void |
setSO_REUSEADDR(java.lang.Boolean b)
Deprecated. set SO_REUSEADDR |
void |
setSO_SNDBUF(java.lang.Integer i)
Deprecated. set SO_SNDBUF |
void |
setSO_TIMEOUT(java.lang.Integer i)
Deprecated. set SO_TIMEOUT |
void |
setTCP_NODELAY(java.lang.Boolean b)
Deprecated. set TCP_NODELAY |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamSocketConfiguration()
Method Detail |
---|
public void setOptions(java.net.Socket socket) throws java.net.SocketException
java.net.SocketException
public void setOptions(java.net.ServerSocket socket) throws java.net.SocketException
java.net.SocketException
public static void setOption(java.net.Socket socket, int optID, java.lang.Object value) throws java.net.SocketException
java.net.SocketException
public static java.net.SocketOptions fromOptions(java.util.Map<java.lang.String,java.lang.Object> options)
public static java.lang.Object getOption(java.net.Socket socket, int optID) throws java.net.SocketException
java.net.SocketException
public void setSO_REUSEADDR(java.lang.Boolean b)
b
- SO_REUSEADDR or null to use defaultpublic void setTCP_NODELAY(java.lang.Boolean b)
b
- TCP_NODELAY or null to use defaultpublic void setSO_TIMEOUT(java.lang.Integer i)
i
- SO_TIMEOUT or null to use defaultpublic void setSO_SNDBUF(java.lang.Integer i)
i
- SO_SNDBUF or null to use defaultpublic void setSO_RCVBUF(java.lang.Integer i)
i
- SO_RCVBUF or null to use defaultpublic void setSO_OOBINLINE(java.lang.Boolean b)
b
- SO_OOBINLINE or null to use defaultpublic void setSO_KEEPALIVE(java.lang.Boolean b)
b
- SO_KEEPALIVE or null to use defaultpublic void setIP_TOS(java.lang.Integer i)
i
- IP_TOS or null to use defaultpublic void setSO_LINGER(java.lang.Integer i)
i
- SO_LINGER or null to use default or negative value to disable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |