|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.endpoint.AbstractEndpoint org.springframework.integration.endpoint.MessageProducerSupport org.springframework.integration.ip.AbstractInternetProtocolReceivingChannelAdapter org.springframework.integration.ip.udp.UnicastReceivingChannelAdapter org.springframework.integration.ip.udp.MulticastReceivingChannelAdapter
public class MulticastReceivingChannelAdapter
Channel adapter that joins a multicast group and receives incoming packets and sends them to an output channel.
Field Summary |
---|
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
protected java.net.DatagramSocket |
getSocket()
|
Methods inherited from class org.springframework.integration.ip.udp.UnicastReceivingChannelAdapter |
---|
asyncSendMessage, doStop, getComponentType, getTheSocket, receive, run, sendAck, setLookupHost, setSocket, setSocketAttributes, setSoSendBufferSize |
Methods inherited from class org.springframework.integration.ip.AbstractInternetProtocolReceivingChannelAdapter |
---|
checkTaskExecutor, doStart, getLocalAddress, getPort, getReceiveBufferSize, getSoReceiveBufferSize, getSoTimeout, getTaskExecutor, isActive, isListening, setListening, setLocalAddress, setPoolSize, setReceiveBufferSize, setSoReceiveBufferSize, setSoTimeout, setTaskExecutor |
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport |
---|
onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack |
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
---|
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.integration.context.NamedComponent |
---|
getComponentName |
Constructor Detail |
---|
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.Method Detail |
---|
protected java.net.DatagramSocket getSocket()
getSocket
in class UnicastReceivingChannelAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |