| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| public static final SocketConfig | |
| private final int | |
| private final int | |
| private final boolean | |
| private final int | |
| private final boolean | |
| private final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | SocketConfig(final int soTimeout, final boolean soReuseAddress, final int soLinger, final boolean soKeepAlive, final boolean tcpNoDelay, final int sndBufSize, final int rcvBufSize, final int backlogSize)
|
| Modifier and Type | Method and Description |
|---|---|
| protected SocketConfig | |
| public static SocketConfig. | |
| public static SocketConfig. | |
| public int | Returns: the maximum queue length for incoming connection indicationsDetermines the maximum queue length for incoming connection indications (a request to connect) also known as server socket backlog. |
| public int | Returns: the default value of thejava. parameter.Determines the default value of the |
| public int | Returns: the default value of thejava. parameter.Determines the default value of the |
| public int | Returns: the default value of thejava. parameter.Determines the default value of the |
| public int | Returns: the default socket timeout value for non-blocking I/O operations.Determines the default socket timeout value for non-blocking I/O operations. |
| public boolean | Returns: the default value of thejava. parameter.Determines the default value of the |
| public boolean | Returns: the default value of thejava. parameter.Determines the default value of the |
| public boolean | Returns: the default value of thejava. parameter.Determines the default value of the |
| public String |
| backlogSize | back to summary |
|---|---|
| private final int backlogSize | |
| DEFAULT | back to summary |
|---|---|
| public static final SocketConfig DEFAULT | |
| rcvBufSize | back to summary |
|---|---|
| private final int rcvBufSize | |
| sndBufSize | back to summary |
|---|---|
| private final int sndBufSize | |
| soKeepAlive | back to summary |
|---|---|
| private final boolean soKeepAlive | |
| soLinger | back to summary |
|---|---|
| private final int soLinger | |
| soReuseAddress | back to summary |
|---|---|
| private final boolean soReuseAddress | |
| soTimeout | back to summary |
|---|---|
| private final int soTimeout | |
| tcpNoDelay | back to summary |
|---|---|
| private final boolean tcpNoDelay | |
| SocketConfig | back to summary |
|---|---|
| pack-priv SocketConfig(final int soTimeout, final boolean soReuseAddress, final int soLinger, final boolean soKeepAlive, final boolean tcpNoDelay, final int sndBufSize, final int rcvBufSize, final int backlogSize) | |
| clone | back to summary |
|---|---|
| protected SocketConfig clone() throws CloneNotSupportedException Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| copy | back to summary |
|---|---|
| public static SocketConfig. | |
| custom | back to summary |
|---|---|
| public static SocketConfig. | |
| getBacklogSize | back to summary |
|---|---|
| public int getBacklogSize() Determines the maximum queue length for incoming connection indications (a request to connect) also known as server socket backlog.
Default:
| |
| getRcvBufSize | back to summary |
|---|---|
| public int getRcvBufSize() Determines the default value of the
Default:
| |
| getSndBufSize | back to summary |
|---|---|
| public int getSndBufSize() Determines the default value of the
Default:
| |
| getSoLinger | back to summary |
|---|---|
| public int getSoLinger() Determines the default value of the
Default:
| |
| getSoTimeout | back to summary |
|---|---|
| public int getSoTimeout() Determines the default socket timeout value for non-blocking I/O operations.
Default:
| |
| isSoKeepAlive | back to summary |
|---|---|
| public boolean isSoKeepAlive() Determines the default value of the
Default:
| |
| isSoReuseAddress | back to summary |
|---|---|
| public boolean isSoReuseAddress() Determines the default value of the
Default:
| |
| isTcpNoDelay | back to summary |
|---|---|
| public boolean isTcpNoDelay() Determines the default value of the
Default:
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private boolean | |
| private int | |
| private boolean | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public SocketConfig | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. | |
| public SocketConfig. |
| backlogSize | back to summary |
|---|---|
| private int backlogSize | |
| rcvBufSize | back to summary |
|---|---|
| private int rcvBufSize | |
| sndBufSize | back to summary |
|---|---|
| private int sndBufSize | |
| soKeepAlive | back to summary |
|---|---|
| private boolean soKeepAlive | |
| soLinger | back to summary |
|---|---|
| private int soLinger | |
| soReuseAddress | back to summary |
|---|---|
| private boolean soReuseAddress | |
| soTimeout | back to summary |
|---|---|
| private int soTimeout | |
| tcpNoDelay | back to summary |
|---|---|
| private boolean tcpNoDelay | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| build | back to summary |
|---|---|
| public SocketConfig build() | |
| setBacklogSize | back to summary |
|---|---|
public SocketConfig.
| |
| setRcvBufSize | back to summary |
|---|---|
public SocketConfig.
| |
| setSndBufSize | back to summary |
|---|---|
public SocketConfig.
| |
| setSoKeepAlive | back to summary |
|---|---|
| public SocketConfig. | |
| setSoLinger | back to summary |
|---|---|
| public SocketConfig. | |
| setSoReuseAddress | back to summary |
|---|---|
| public SocketConfig. | |
| setSoTimeout | back to summary |
|---|---|
| public SocketConfig. | |
| setTcpNoDelay | back to summary |
|---|---|
| public SocketConfig. | |