S - the target AbstractUdpOutboundChannelAdapterSpec implementation type.public abstract class AbstractUdpOutboundChannelAdapterSpec<S extends AbstractUdpOutboundChannelAdapterSpec<S>> extends MessageHandlerSpec<S,UnicastSendingMessageHandler>
MessageHandlerSpec for UDP MessageHandlers.logger, PARSER, target| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUdpOutboundChannelAdapterSpec() |
protected |
AbstractUdpOutboundChannelAdapterSpec(java.lang.String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
S |
ackCounter(int ackCounter) |
S |
lengthCheck(boolean lengthCheck) |
S |
localAddress(java.lang.String localAddress) |
S |
socketExpression(java.lang.String socketExpression) |
S |
socketFunction(java.util.function.Function<org.springframework.messaging.Message<?>,java.net.DatagramSocket> socketFunction) |
S |
soReceiveBufferSize(int size) |
S |
soSendBufferSize(int size) |
S |
soTimeout(int timeout) |
_this, doGet, get, getId, getObject, getObjectType, id, isSingletonprotected AbstractUdpOutboundChannelAdapterSpec()
protected AbstractUdpOutboundChannelAdapterSpec(java.lang.String host,
int port)
public S soTimeout(int timeout)
timeout - the timeout socket option.AbstractInternetProtocolSendingMessageHandler.setSoTimeout(int)public S soSendBufferSize(int size)
size - the send buffer size socket option.AbstractInternetProtocolSendingMessageHandler.setSoSendBufferSize(int)public S localAddress(java.lang.String localAddress)
localAddress - the local address.UnicastSendingMessageHandler.setLocalAddress(String)public S lengthCheck(boolean lengthCheck)
lengthCheck - the length check boolean.UnicastSendingMessageHandler.setLengthCheck(boolean)public S soReceiveBufferSize(int size)
size - the receive buffer size socket option.UnicastSendingMessageHandler.setSoReceiveBufferSize(int)public S ackCounter(int ackCounter)
ackCounter - the ack counter.UnicastSendingMessageHandler.setAckCounter(int)public S socketFunction(java.util.function.Function<org.springframework.messaging.Message<?>,java.net.DatagramSocket> socketFunction)
socketFunction - the socket function.UnicastSendingMessageHandler.setSocketExpression(org.springframework.expression.Expression)public S socketExpression(java.lang.String socketExpression)
socketExpression - the socket expression.UnicastSendingMessageHandler.setSocketExpressionString(String)