public class UdpInboundChannelAdapterSpec extends MessageProducerSpec<UdpInboundChannelAdapterSpec,UnicastReceivingChannelAdapter>
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
UdpInboundChannelAdapterSpec(int port) |
protected |
UdpInboundChannelAdapterSpec(int port,
String multicastGroup) |
Modifier and Type | Method and Description |
---|---|
UdpInboundChannelAdapterSpec |
configureSocket(SocketCustomizer customizer)
Configure the socket.
|
UdpInboundChannelAdapterSpec |
lengthCheck(boolean lengthCheck) |
UdpInboundChannelAdapterSpec |
localAddress(String localAddress) |
UdpInboundChannelAdapterSpec |
lookupHost(boolean lookupHost) |
UdpInboundChannelAdapterSpec |
poolSize(int poolSize) |
UdpInboundChannelAdapterSpec |
receiveBufferSize(int receiveBufferSize) |
UdpInboundChannelAdapterSpec |
socket(DatagramSocket socket) |
UdpInboundChannelAdapterSpec |
soReceiveBufferSize(int soReceiveBufferSize) |
UdpInboundChannelAdapterSpec |
soSendBufferSize(int soSendBufferSize) |
UdpInboundChannelAdapterSpec |
soTimeout(int soTimeout) |
UdpInboundChannelAdapterSpec |
taskExecutor(Executor taskExecutor) |
UdpInboundChannelAdapterSpec |
taskScheduler(TaskScheduler taskScheduler) |
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrack
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected UdpInboundChannelAdapterSpec(int port)
protected UdpInboundChannelAdapterSpec(int port, String multicastGroup)
public UdpInboundChannelAdapterSpec soTimeout(int soTimeout)
soTimeout
- set the timeout socket option.AbstractInternetProtocolReceivingChannelAdapter.setSoTimeout(int)
public UdpInboundChannelAdapterSpec taskScheduler(TaskScheduler taskScheduler)
taskScheduler
- set the task scheduler.IntegrationObjectSupport.setTaskScheduler(TaskScheduler)
public UdpInboundChannelAdapterSpec soReceiveBufferSize(int soReceiveBufferSize)
soReceiveBufferSize
- set the receive buffer size socket option.AbstractInternetProtocolReceivingChannelAdapter.setSoReceiveBufferSize(int)
public UdpInboundChannelAdapterSpec receiveBufferSize(int receiveBufferSize)
receiveBufferSize
- set the receive buffer size.AbstractInternetProtocolReceivingChannelAdapter.setReceiveBufferSize(int)
public UdpInboundChannelAdapterSpec lengthCheck(boolean lengthCheck)
lengthCheck
- set the length check boolean.UnicastReceivingChannelAdapter.setLengthCheck(boolean)
public UdpInboundChannelAdapterSpec localAddress(String localAddress)
localAddress
- set the local address.AbstractInternetProtocolReceivingChannelAdapter.setLocalAddress(String)
public UdpInboundChannelAdapterSpec poolSize(int poolSize)
poolSize
- set the pool size.AbstractInternetProtocolReceivingChannelAdapter.setPoolSize(int)
public UdpInboundChannelAdapterSpec taskExecutor(Executor taskExecutor)
taskExecutor
- set the task executor.AbstractInternetProtocolReceivingChannelAdapter.setTaskExecutor(Executor)
public UdpInboundChannelAdapterSpec socket(DatagramSocket socket)
socket
- set the socket.UnicastReceivingChannelAdapter.setSocket(DatagramSocket)
public UdpInboundChannelAdapterSpec soSendBufferSize(int soSendBufferSize)
soSendBufferSize
- set the send buffer size socket option.UnicastReceivingChannelAdapter.setSoSendBufferSize(int)
public UdpInboundChannelAdapterSpec lookupHost(boolean lookupHost)
lookupHost
- set true to reverse lookup the host.UnicastReceivingChannelAdapter.setLookupHost(boolean)
public UdpInboundChannelAdapterSpec configureSocket(SocketCustomizer customizer)
customizer
- the customizer.