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 Object
- implements MCGroup
  
- Author:
 
  - parg
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
group_address
protected InetSocketAddress group_address
this_mon
protected AEMonitor this_mon
getSingleton
public static MCGroupImpl getSingleton(MCGroupAdapter adapter,
                                       String group_address,
                                       int group_port,
                                       int control_port,
                                       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(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(InetSocketAddress address,
                         byte[] data)
                  throws MCGroupException
- Specified by:
 sendToMember in interface MCGroup
 
- Throws:
 MCGroupException