public interface TcpSocketProperties extends SocketProperties
null values can be returned by any of the methods, meaning that there is no value defined for the property.
GROUP_NAME| Modifier and Type | Method and Description |
|---|---|
boolean |
getFailOnUnresolvedHost()
Will fail during sending if the remote host address cannot be resolved.
|
Boolean |
getKeepAlive()
Enables SO_KEEPALIVE behavior on open sockets.
|
Integer |
getLinger()
This sets the SO_LINGER value.
|
boolean |
getSendTcpNoDelay()
If set, transmitted data is not collected together for greater efficiency but sent immediately.
|
getClientTimeout, getReceiveBufferSize, getReuseAddress, getSendBufferSizeboolean getSendTcpNoDelay()
Defaults to true even though Socket default is false because optimizing to reduce amount of network traffic over
latency is hardly ever a concern today.
Integer getLinger()
A value of null (default) disables linger on the socket.
Boolean getKeepAlive()
This is a property on the socket itself and is used by a server socket to control whether connections to the server are kept alive before they are recycled.
boolean getFailOnUnresolvedHost()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.