All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.antsr.core.AppBooster
java.lang.Object
   |
   +----edu.utah.janos.nodeos.FlowRun
           |
           +----edu.utah.janos.antsr.core.Booster
                   |
                   +----edu.utah.janos.antsr.core.AppBooster

  Summary

public class  AppBooster
     extends edu.utah.janos.antsr.core.Booster
{
          // Fields 1
     private ThreadPool threadPool;

          // Constructors 1
     public AppBooster(ClassInstantiationKey) throws SecurityException;

          // Methods 2
     private void processPacket(Flow, Application, Node);
     protected void run(Flow, ThreadPool, String[], CommSpaceHandle) throws Exception;
}

Cannot be made public. XXX: well, at least it can't be instantiated by the unwashed masses. CommSpaceHandle should point to a valid CSH for the Booster class, plus: [2] this will write the App port to this offset.




  Fields

· threadPool

Summary  |  Top

   private ThreadPool threadPool


  Constructors

· AppBooster

Summary  |  Top

   public AppBooster(ClassInstantiationKey key)  throws SecurityException

Must have the appropriate key to create an AppBooster. Only the core can actually create Keys, so only trusted code can create AppBoosters...

Throws: SecurityException
if the key is inappropriate
Throws: NullPointerException
if the key is null


  Methods

· run

Summary  |  Top
   protected void run(Flow flow, 
                      ThreadPool threadPool, 
                      String[] args, 
                      CommSpaceHandle commSpaceHandle)  throws Exception
Overrides:
run in class FlowRun


· processPacket

Summary  |  Top
   private void processPacket(Flow flow, 
                              Application app, 
                              Node node) 

Delivers packets from a protocol flow to an application.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7