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