| Constructor and Description |
|---|
MulticastConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
getGroup()
Returns the multicast group.
|
int |
getPort()
Returns the multicast port.
|
boolean |
isEnabled()
Returns whether multicast is enabled.
|
MulticastConfig |
setEnabled(boolean enabled)
Sets whether multicast is enabled.
|
MulticastConfig |
setGroup(java.net.InetAddress group)
Sets the multicast group.
|
MulticastConfig |
setGroup(java.lang.String group)
Sets the multicast group.
|
MulticastConfig |
setPort(int port)
Sets the multicast port.
|
public boolean isEnabled()
public MulticastConfig setEnabled(boolean enabled)
enabled - whether multicast is enabledpublic java.net.InetAddress getGroup()
public MulticastConfig setGroup(java.lang.String group)
group - the multicast groupConfigurationException - if the group is invalidpublic MulticastConfig setGroup(java.net.InetAddress group)
group - the multicast grouppublic int getPort()
public MulticastConfig setPort(int port)
port - the multicast portCopyright © 2013-2018. All Rights Reserved.