com.aelitis.net.udp.mc.impl
Class MCGroupImpl
java.lang.Object
com.aelitis.net.udp.mc.impl.MCGroupImpl
- All Implemented Interfaces:
- MCGroup
public class MCGroupImpl
- extends java.lang.Object
- implements MCGroup
- Author:
- parg
Method Summary |
int |
getControlPort()
|
static MCGroupImpl |
getSingleton(MCGroupAdapter adapter,
java.lang.String group_address,
int group_port,
int control_port,
java.lang.String[] interfaces)
|
void |
sendToGroup(byte[] data)
|
void |
sendToGroup(java.lang.String param_data)
Sends to the group but will replace any occurrence of %AZINTERFACE% in the string with the
interface being used for the send |
void |
sendToMember(java.net.InetSocketAddress address,
byte[] data)
|
static void |
setSuspended(boolean suspended)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
group_address
protected java.net.InetSocketAddress group_address
this_mon
protected AEMonitor this_mon
getSingleton
public static MCGroupImpl getSingleton(MCGroupAdapter adapter,
java.lang.String group_address,
int group_port,
int control_port,
java.lang.String[] interfaces)
throws MCGroupException
- Throws:
MCGroupException
setSuspended
public static void setSuspended(boolean suspended)
getControlPort
public int getControlPort()
- Specified by:
getControlPort
in interface MCGroup
sendToGroup
public void sendToGroup(byte[] data)
- Specified by:
sendToGroup
in interface MCGroup
sendToGroup
public void sendToGroup(java.lang.String param_data)
- Description copied from interface:
MCGroup
- Sends to the group but will replace any occurrence of %AZINTERFACE% in the string with the
interface being used for the send
- Specified by:
sendToGroup
in interface MCGroup
sendToMember
public void sendToMember(java.net.InetSocketAddress address,
byte[] data)
throws MCGroupException
- Specified by:
sendToMember
in interface MCGroup
- Throws:
MCGroupException