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

  Summary

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




  Fields

· received

Summary  |  Top

   int received


· iter

Summary  |  Top
   int iter


· mobile

Summary  |  Top
   int mobile


· home

Summary  |  Top
   int home


· foreign

Summary  |  Top
   int foreign


· alternate

Summary  |  Top
   int alternate


· udelay

Summary  |  Top
   int udelay


· switchDelay

Summary  |  Top
   int switchDelay


· switchCount

Summary  |  Top
   int switchCount


· away

Summary  |  Top
   volatile boolean away


· LOG_LEVEL

Summary  |  Top
   private final int LOG_LEVEL


· defaults

Summary  |  Top
   public static final String[] defaults


  Constructors

· MobileApplication

Summary  |  Top

   public MobileApplication() 

Default constructor



  Methods

· receive

Summary  |  Top
   public synchronized void receive(Capsule cap) 
Overrides:
receive in class Application


· setArgs

Summary  |  Top
   public void setArgs(KeyArgs k)  throws InvalidKeyArgsException
Overrides:
setArgs in class Application


· run

Summary  |  Top
   public void run() 

Send packets to the mobile host, hopefully they get routed correctly

Implements:
run in interface Runnable


· start

Summary  |  Top
   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