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(InetAddress group,
NetworkInterface iface)
Join a multicast group to begin receiving all datagrams sent to the group.
|
MulticastMessageChannel.Key |
join(InetAddress group,
NetworkInterface iface,
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(InetAddress group, NetworkInterface iface) throws IOException
group - the multicast address to joiniface - the network interface to join onIOException - if an I/O error occursIllegalStateException - if the channel is already a member of the group on this interfaceIllegalArgumentException - if the group parameters is not a multicast address, or is an unsupported address typeSecurityException - if a security manager is set, and its SecurityManager.checkMulticast(InetAddress) method denies access to the groupMulticastMessageChannel.Key join(InetAddress group, NetworkInterface iface, InetAddress source) throws IOException
group - the multicast address to joiniface - the network interface to join onsource - the source address to listen forIOException - if an I/O error occursIllegalStateException - if the channel is already a member of the group on this interfaceIllegalArgumentException - if the group parameters is not a multicast address, or is an unsupported address typeSecurityException - if a security manager is set, and its SecurityManager.checkMulticast(InetAddress) method denies access to the groupUnsupportedOperationException - 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 © 2012 JBoss by Red Hat. All Rights Reserved.