|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.net.ServerSocketHints
public class ServerSocketHints
Options for ServerSocket
instances.
Field Summary | |
---|---|
int |
acceptTimeout
The SO_TIMEOUT in milliseconds for how long to wait during server.accept(). |
int |
backlog
The listen backlog length. |
int |
performancePrefBandwidth
See performancePrefConnectionTime for details. |
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
See performancePrefConnectionTime for details. |
int |
receiveBufferSize
The SO_RCVBUF (receive buffer) size in bytes for server.accept(). |
boolean |
reuseAddress
Enable/disable the SO_REUSEADDR socket option. |
Constructor Summary | |
---|---|
ServerSocketHints()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int backlog
public int performancePrefConnectionTime
public int performancePrefLatency
public int performancePrefBandwidth
public boolean reuseAddress
public int acceptTimeout
public int receiveBufferSize
Constructor Detail |
---|
public ServerSocketHints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |