
public interface MulticastMessageChannel extends BoundMultipointMessageChannel
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MulticastMessageChannel.Key
A registration key for a multicast group.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelListener.Setter<? extends MulticastMessageChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends MulticastMessageChannel> |
getReadSetter()
Get the setter which can be used to change the read listener for this channel.
|
ChannelListener.Setter<? extends MulticastMessageChannel> |
getWriteSetter()
Get the setter which can be used to change the write listener for this channel.
|
MulticastMessageChannel.Key |
join(java.net.InetAddress group,
java.net.NetworkInterface iface)
Join a multicast group to begin receiving all datagrams sent to the group.
|
MulticastMessageChannel.Key |
join(java.net.InetAddress group,
java.net.NetworkInterface iface,
java.net.InetAddress source)
Join a multicast group to begin receiving all datagrams sent to the group from a given source address.
|
receiveFrom, receiveFrom, receiveFromsendTo, sendTo, sendToawaitReadable, awaitReadable, getReadThread, isReadResumed, resumeReads, shutdownReads, suspendReads, wakeupReadsawaitWritable, awaitWritable, close, flush, getWriteThread, isWriteResumed, resumeWrites, shutdownWrites, suspendWrites, wakeupWritesgetWorkergetOption, setOption, supportsOptiongetLocalAddress, getLocalAddressMulticastMessageChannel.Key join(java.net.InetAddress group, java.net.NetworkInterface iface) throws java.io.IOException
group - the multicast address to joiniface - the network interface to join onjava.io.IOException - if an I/O error occursjava.lang.IllegalStateException - if the channel is already a member of the group on this interfacejava.lang.IllegalArgumentException - if the group parameters is not a multicast address, or is an unsupported address typejava.lang.SecurityException - if a security manager is set, and its SecurityManager.checkMulticast(InetAddress) method denies access to the groupMulticastMessageChannel.Key join(java.net.InetAddress group, java.net.NetworkInterface iface, java.net.InetAddress source) throws java.io.IOException
group - the multicast address to joiniface - the network interface to join onsource - the source address to listen forjava.io.IOException - if an I/O error occursjava.lang.IllegalStateException - if the channel is already a member of the group on this interfacejava.lang.IllegalArgumentException - if the group parameters is not a multicast address, or is an unsupported address typejava.lang.SecurityException - if a security manager is set, and its SecurityManager.checkMulticast(InetAddress) method denies access to the groupjava.lang.UnsupportedOperationException - if the implementation does not support source filteringChannelListener.Setter<? extends MulticastMessageChannel> getReadSetter()
getReadSetter in interface BoundMultipointMessageChannelgetReadSetter in interface MultipointMessageChannelgetReadSetter in interface ReadableMultipointMessageChannelgetReadSetter in interface SuspendableChannelgetReadSetter in interface SuspendableReadChannelChannelListener.Setter<? extends MulticastMessageChannel> getCloseSetter()
getCloseSetter in interface BoundChannelgetCloseSetter in interface BoundMultipointMessageChannelgetCloseSetter in interface CloseableChannelgetCloseSetter in interface MultipointMessageChannelgetCloseSetter in interface ReadableMultipointMessageChannelgetCloseSetter in interface SuspendableChannelgetCloseSetter in interface SuspendableReadChannelgetCloseSetter in interface SuspendableWriteChannelgetCloseSetter in interface WritableMultipointMessageChannelChannelListener.Setter<? extends MulticastMessageChannel> getWriteSetter()
getWriteSetter in interface BoundMultipointMessageChannelgetWriteSetter in interface MultipointMessageChannelgetWriteSetter in interface SuspendableChannelgetWriteSetter in interface SuspendableWriteChannelgetWriteSetter in interface WritableMultipointMessageChannelCopyright © 2010 JBoss, a division of Red Hat, Inc.