public interface NetworkSupport<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
int |
getTrafficClass() |
boolean |
isReuseAddress() |
T |
setReceiveBufferSize(int size)
Set the receive buffer size for connections created by this instance to
size in bytes. |
T |
setReuseAddress(boolean reuse)
Set the reuseAddress setting for connections created by this instance to
reuse. |
T |
setSendBufferSize(int size)
Set the send buffer size for connections created by this instance to
size in bytes. |
T |
setTrafficClass(int trafficClass)
Set the trafficClass setting for connections created by this instance to
trafficClass. |
T setSendBufferSize(int size)
size in bytes.T setReceiveBufferSize(int size)
size in bytes.T setReuseAddress(boolean reuse)
reuse.T setTrafficClass(int trafficClass)
trafficClass.int getSendBufferSize()
int getReceiveBufferSize()
boolean isReuseAddress()
int getTrafficClass()