Class AbstractUdpOutboundChannelAdapterSpec<S extends AbstractUdpOutboundChannelAdapterSpec<S>>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,UnicastSendingMessageHandler>
 
org.springframework.integration.dsl.MessageHandlerSpec<S,UnicastSendingMessageHandler>
 
org.springframework.integration.ip.dsl.AbstractUdpOutboundChannelAdapterSpec<S>
- Type Parameters:
- S- the target- AbstractUdpOutboundChannelAdapterSpecimplementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<UnicastSendingMessageHandler>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- UdpMulticastOutboundChannelAdapterSpec,- UdpUnicastOutboundChannelAdapterSpec
public abstract class AbstractUdpOutboundChannelAdapterSpec<S extends AbstractUdpOutboundChannelAdapterSpec<S>>
extends MessageHandlerSpec<S,UnicastSendingMessageHandler> 
A 
MessageHandlerSpec for UDP MessageHandlers.- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedAbstractUdpOutboundChannelAdapterSpec(String destinationExpression) protectedAbstractUdpOutboundChannelAdapterSpec(String host, int port) protectedAbstractUdpOutboundChannelAdapterSpec(Function<Message<?>, ?> destinationFunction) 
- 
Method SummaryModifier and TypeMethodDescriptionackCounter(int ackCounter) configureSocket(SocketCustomizer customizer) Configure the socket.lengthCheck(boolean lengthCheck) localAddress(String localAddress) socketExpression(String socketExpression) socketFunction(Function<Message<?>, DatagramSocket> socketFunction) soReceiveBufferSize(int size) soSendBufferSize(int size) soTimeout(int timeout) Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
AbstractUdpOutboundChannelAdapterSpecprotected AbstractUdpOutboundChannelAdapterSpec()
- 
AbstractUdpOutboundChannelAdapterSpec
- 
AbstractUdpOutboundChannelAdapterSpec
- 
AbstractUdpOutboundChannelAdapterSpec
 
- 
- 
Method Details- 
soTimeout- Parameters:
- timeout- the timeout socket option.
- Returns:
- the spec.
- See Also:
 
- 
soSendBufferSize- Parameters:
- size- the send buffer size socket option.
- Returns:
- the spec.
- See Also:
 
- 
localAddress
- 
lengthCheck- Parameters:
- lengthCheck- the length check boolean.
- Returns:
- the spec.
- See Also:
 
- 
soReceiveBufferSize- Parameters:
- size- the receive buffer size socket option.
- Returns:
- the spec.
- See Also:
 
- 
ackCounter- Parameters:
- ackCounter- the ack counter.
- Returns:
- the spec.
- See Also:
 
- 
socketFunction- Parameters:
- socketFunction- the socket function.
- Returns:
- the spec.
- See Also:
 
- 
socketExpression
- 
configureSocketConfigure the socket.- Parameters:
- customizer- the customizer.
- Returns:
- the spec.
- Since:
- 5.3.3
 
 
-