public class MulticastReceivingChannelAdapter extends UnicastReceivingChannelAdapter
logger
Constructor and Description |
---|
MulticastReceivingChannelAdapter(String group,
int port)
Constructs a MulticastReceivingChannelAdapter that listens for packets on the
specified multichannel address (group) and port.
|
MulticastReceivingChannelAdapter(String group,
int port,
boolean lengthCheck)
Constructs a MulticastReceivingChannelAdapter that listens for packets on the
specified multichannel address (group) and port.
|
Modifier and Type | Method and Description |
---|---|
protected DatagramSocket |
getSocket() |
asyncSendMessage, doStop, getComponentType, getTheSocket, onInit, receive, run, sendAck, setLookupHost, setSocket, setSocketAttributes, setSoSendBufferSize
checkTaskExecutor, doStart, getLocalAddress, getPort, getReceiveBufferSize, getSoReceiveBufferSize, getSoTimeout, getTaskExecutor, isActive, isListening, setListening, setLocalAddress, setPoolSize, setReceiveBufferSize, setSoReceiveBufferSize, setSoTimeout, setTaskExecutor
sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public MulticastReceivingChannelAdapter(String group, int port)
group
- The multichannel address.port
- The port.public MulticastReceivingChannelAdapter(String group, int port, boolean lengthCheck)
group
- The multichannel address.port
- The port.lengthCheck
- If true, enables the lengthCheck Option.protected DatagramSocket getSocket()
getSocket
in class UnicastReceivingChannelAdapter