All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.antsr.apps.mobile.MobileApplication
java.lang.Object
|
+----edu.utah.janos.antsr.core.Entity
|
+----edu.utah.janos.antsr.core.Application
|
+----edu.utah.janos.antsr.apps.mobile.MobileApplication
public class MobileApplication
extends edu.utah.janos.antsr.core.Application
implements java.lang.Runnable
{
// Fields 12
private final int LOG_LEVEL;
int alternate;
volatile boolean away;
public static final String[] defaults;
int foreign;
int home;
int iter;
int mobile;
int received;
int switchCount;
int switchDelay;
int udelay;
// Constructors 1
public MobileApplication();
// Methods 4
public synchronized void receive(Capsule);
public void run();
public void setArgs(KeyArgs) throws InvalidKeyArgsException;
public void start() throws Exception;
// Inner Classes 1
class MobileApplication.MAUpdate
}
primitive Mobile test application
- Author:
-
David Wetherall
int received
int iter
int mobile
int home
int foreign
int alternate
int udelay
int switchDelay
int switchCount
volatile boolean away
private final int LOG_LEVEL
public static final String[] defaults
public MobileApplication()
Default constructor
public synchronized void receive(Capsule cap)
- Overrides:
- receive in class Application
public void setArgs(KeyArgs k) throws InvalidKeyArgsException
- Overrides:
- setArgs in class Application
public void run()
Send packets to the mobile host, hopefully they get routed correctly
- Implements:
- run in interface Runnable
public void start() throws Exception
- Overrides:
- start in class Application
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7