mobnet
Class MobNetThreadGroup

java.lang.Object
  extended byjava.lang.ThreadGroup
      extended bymobnet.MobNetThreadGroup

public class MobNetThreadGroup
extends java.lang.ThreadGroup

MobNetThreadGroup.java - Class acts as a container for the MobNet of a node

Author:
Avi TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
MobNetThreadGroup(java.lang.String name, java.lang.String IP)
          Constructor for MobNetThreadGroup.
 
Method Summary
 MobNet getMobNet()
          Returns MobNet bound to this ThreadGroup
 
Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobNetThreadGroup

public MobNetThreadGroup(java.lang.String name,
                         java.lang.String IP)
Constructor for MobNetThreadGroup.

Parameters:
name - Default name "MobNet" given to the thread group to identify the ThreadGroup.
IP - The IP Address of the node which will run under this ThreadGroup
Method Detail

getMobNet

public MobNet getMobNet()
Returns MobNet bound to this ThreadGroup

Returns:
MobNet bound to this ThreadGroup