|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.net.SocketHints
public class SocketHints
Options for Socket
instances.
Field Summary | |
---|---|
int |
connectTimeout
The connection timeout in milliseconds. |
boolean |
keepAlive
True to enable SO_KEEPALIVE. |
boolean |
linger
Enable/disable SO_LINGER with the specified linger time in seconds. |
int |
lingerDuration
The linger duration in seconds (NOT milliseconds!). |
int |
performancePrefBandwidth
|
int |
performancePrefConnectionTime
Performance preferences are described by three integers whose values indicate the relative importance of short connection time, low latency, and high bandwidth. |
int |
performancePrefLatency
|
int |
receiveBufferSize
The SO_RCVBUF (receive buffer) size in bytes. |
int |
sendBufferSize
The SO_SNDBUF (send buffer) size in bytes. |
boolean |
tcpNoDelay
True to enable TCP_NODELAY (disable/enable Nagle's algorithm). |
int |
trafficClass
The traffic class describes the type of connection that shall be established. |
Constructor Summary | |
---|---|
SocketHints()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int connectTimeout
public int performancePrefConnectionTime
public int performancePrefLatency
public int performancePrefBandwidth
public int trafficClass
The traffic class is bitset created by bitwise-or'ing values such the following :
public boolean keepAlive
public boolean tcpNoDelay
public int sendBufferSize
public int receiveBufferSize
public boolean linger
public int lingerDuration
Constructor Detail |
---|
public SocketHints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |