Channel.
Channel,
DatagramChannel allows the following options in the option map:
| Modifier and Type | Method and Description |
|---|---|
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress, NetworkInterface the interface to use. networkInterface, InetAddress the source address. sourceToBlock)Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the |
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress, InetAddress the source address. sourceToBlock)Block the given sourceToBlock address for the given multicastAddress and notifies the |
| public boolean | |
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress)Joins a multicast group and notifies the |
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress, NetworkInterface the interface to use. networkInterface, InetAddress the source address (might be source)null).Joins the specified multicast group at the specified interface and notifies the |
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress)Leaves a multicast group and notifies the |
| public Future | Returns: aFuture which is notified once the operation completes.the multicast group address. multicastAddress, NetworkInterface the interface to use. networkInterface, InetAddress the source address (might be source)null).Leave the specified multicast group at the specified interface using the specified source and notifies
the |
| block | back to summary |
|---|---|
| public Future Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the
If the underlying implementation does not support this operation it will return a
| |
| block | back to summary |
|---|---|
| public Future Block the given sourceToBlock address for the given multicastAddress and notifies the
If the underlying implementation does not support this operation it will return a
| |
| isConnected | back to summary |
|---|---|
| public boolean isConnected() Return | |
| joinGroup | back to summary |
|---|---|
| public Future Joins a multicast group and notifies the
If the underlying implementation does not support this operation it will return a
| |
| joinGroup | back to summary |
|---|---|
| public Future Joins the specified multicast group at the specified interface and notifies the
If the underlying implementation does not support this operation it will return a
| |
| leaveGroup | back to summary |
|---|---|
| public Future Leaves a multicast group and notifies the
If the underlying implementation does not support this operation it will return a
| |
| leaveGroup | back to summary |
|---|---|
| public Future Leave the specified multicast group at the specified interface using the specified source and notifies
the
If the underlying implementation does not support this operation it will return a
| |