public class SocketConfig extends Object
SocketOptions| Constructor and Description |
|---|
SocketConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAcceptBackLog() |
int |
getSoLinger() |
int |
getTcpReceiveBufferSize() |
int |
getTcpSendBufferSize() |
boolean |
isReuseAddress() |
boolean |
isTcpKeepAlive() |
boolean |
isTcpNoDelay() |
void |
setAcceptBackLog(int acceptBackLog) |
void |
setReuseAddress(boolean reuseAddress) |
void |
setSoLinger(int soLinger) |
void |
setTcpKeepAlive(boolean tcpKeepAlive) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setTcpReceiveBufferSize(int tcpReceiveBufferSize) |
void |
setTcpSendBufferSize(int tcpSendBufferSize) |
public boolean isTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public int getTcpSendBufferSize()
public void setTcpSendBufferSize(int tcpSendBufferSize)
public int getTcpReceiveBufferSize()
public void setTcpReceiveBufferSize(int tcpReceiveBufferSize)
public boolean isTcpKeepAlive()
public void setTcpKeepAlive(boolean tcpKeepAlive)
public int getSoLinger()
public void setSoLinger(int soLinger)
public boolean isReuseAddress()
public void setReuseAddress(boolean reuseAddress)
public int getAcceptBackLog()
public void setAcceptBackLog(int acceptBackLog)
Copyright © 2012–2014. All rights reserved.