|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractConfig
org.ldaptive.ssl.SocketConfig
public class SocketConfig
Contains the configuration data for sockets.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.AbstractConfig |
|---|
logger |
| Constructor Summary | |
|---|---|
SocketConfig()
|
|
| Methods inherited from class org.ldaptive.AbstractConfig |
|---|
checkImmutable, checkStringInput, makeImmutable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocketConfig()
| Method Detail |
|---|
public boolean isEmpty()
public Boolean getKeepAlive()
Socket.getKeepAlive().
public void setKeepAlive(boolean b)
Socket.setKeepAlive(boolean).
b - keep alivepublic Boolean getOOBInline()
Socket.getOOBInline().
public void setOOBInline(boolean b)
Socket.setOOBInline(boolean).
b - OOB in linepublic Integer getReceiveBufferSize()
Socket.getReceiveBufferSize().
public void setReceiveBufferSize(int i)
Socket.setReceiveBufferSize(int).
i - receive buffer sizepublic Integer getSendBufferSize()
Socket.getSendBufferSize().
public void setSendBufferSize(int i)
Socket.setSendBufferSize(int).
i - send buffer sizepublic Boolean getReuseAddress()
Socket.getReuseAddress().
public void setReuseAddress(boolean b)
Socket.setReuseAddress(boolean).
b - reuse addresspublic Integer getSoLinger()
Socket.getSoLinger().
public void setSoLinger(int i)
Socket.setSoLinger(boolean, int).
i - SO lingerpublic Integer getSoTimeout()
Socket.getSoTimeout().
public void setSoTimeout(int i)
Socket.setSoTimeout(int).
i - SO timeoutpublic Boolean getTcpNoDelay()
Socket.getTcpNoDelay().
public void setTcpNoDelay(boolean b)
Socket.setTcpNoDelay(boolean).
b - tcp no delaypublic Integer getTrafficClass()
Socket.getTrafficClass().
public void setTrafficClass(int i)
Socket.setTrafficClass(int).
i - traffic class
public void configureSocket(Socket socket)
throws SocketException
socket - to set properties on
SocketException - if an error occurs invoking a socket setterpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||