core
Class MobNetGrabber

java.lang.Object
  extended bycore.MobNetGrabber

public class MobNetGrabber
extends java.lang.Object

MobNetGrabber.java Used by the MobNet package to find a reference to the MobNet class assigned to the ThreadGroup the application is running in.

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

Constructor Summary
MobNetGrabber()
           
 
Method Summary
 MobNet grabMobNet()
          Grab the MobNet associated with the node application calling this method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobNetGrabber

public MobNetGrabber()
Method Detail

grabMobNet

public MobNet grabMobNet()
Grab the MobNet associated with the node application calling this method. The ThreadGroup hierarchy is traversed until a MobThreadGroup is found. This ThreadGroup contains a reference to the MobNet specific to the node calling this method

Returns:
The MobNet object