public interface SocketProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_NAME |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getClientTimeout()
This sets the SO_TIMEOUT value on client sockets.
|
Integer |
getReceiveBufferSize()
The size of the buffer (in bytes) used when receiving data, set on the socket itself.
|
boolean |
getReuseAddress()
Enabling SO_REUSEADDR prior to binding the socket using bind(SocketAddress) allows the socket to be bound even though a
previous connection is in a clientSocketTimeout state.
|
Integer |
getSendBufferSize()
The size of the buffer (in bytes) used when sending data, set on the socket itself.
|
static final String GROUP_NAME
Integer getSendBufferSize()
Integer getReceiveBufferSize()
Integer getClientTimeout()
A value of 0 (the socket's default) causes the read to wait indefinitely (if no data arrives).
boolean getReuseAddress()
For UDP sockets it may be necessary to bind more than one socket to the same socket address. This is typically for the purpose of receiving multicast packets
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.