All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.util.FlowBase
java.lang.Object
   |
   +----edu.utah.janos.nodeos.FlowRun
           |
           +----edu.utah.janos.util.FlowBase

  Summary

public abstract class  FlowBase
     extends edu.utah.janos.nodeos.FlowRun
{
          // Fields 4
     public String[] args;
     protected FreeList bufferHandleFreeList;
     public CommSpaceHandle commSpaceHandle;
     public Flow flow;

          // Constructors 1
     public FlowBase();

          // Methods 2
     public void run(Flow, String[], CommSpaceHandle);
     public abstract void start();
}

A protocol should override FlowBase so that a flow can be created for it. When the flow is created, the overridden start() method is called.

The flow and args variables are guaranteed to be set before start() is called, but may not be set when the constructor is called.


  Cross Reference

Extended By:
DoWhileCompilerBug, HelloWorld, StdinTest, TPTest, TestFlow, UdpTest





  Fields

· flow

Summary  |  Top
   public Flow flow


· args

Summary  |  Top
   public String[] args


· commSpaceHandle

Summary  |  Top
   public CommSpaceHandle commSpaceHandle


· bufferHandleFreeList

Summary  |  Top
   protected FreeList bufferHandleFreeList


  Constructors

· FlowBase

Summary  |  Top

   public FlowBase() 

Default constructor



  Methods

· run

Summary  |  Top
   public void run(Flow flow, 
                   String[] args, 
                   CommSpaceHandle commSpaceHandle) 

This sets the flow, and args fields and then calls start().

Overrides:
run in class FlowRun


· start

Summary  |  Top
   public abstract void start() 


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