All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.nodeos.FlowRegister
java.lang.Object
   |
   +----edu.utah.janos.nodeos.FlowRegister

  Summary

class  FlowRegister
     extends java.lang.Object
{
          // Fields 1
     private static final Vector flows;

          // Constructors 1
     public FlowRegister();

          // Methods 3
     public static Flow findFlow(String);
     static void register(Flow);
     static void unregister(Flow);


          // Inner Classes 1
     private static class FlowRegister.FlowInfo
}

Maintain a map of all the Flows in the system.

NOTE: We don't use a hashtable to map flows from name to flow object, becuase names are mutable and are set after the flow is registered.

Author:
Janos Ministry of Development




  Fields

· flows

Summary  |  Top

   private static final Vector flows


  Constructors

· FlowRegister

Summary  |  Top

   public FlowRegister() 

Default constructor



  Methods

· register

Summary  |  Top
   static void register(Flow flow) 

Register a flow.



· unregister

Summary  |  Top
   static void unregister(Flow flow) 

Unregister a flow.

NOTE: this method is invoked in a context where most of the Flow has been destroyed. Beware.



· findFlow

Summary  |  Top
   public static Flow findFlow(String name) 

Return the flow object corresponding to the given name



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