All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public class  InfoHook
     extends java.lang.Object
{
          // Fields 2
     protected Hashtable children;
     private final String name;

          // Constructors 1
     public InfoHook(String);

          // Methods 6
     public final void addChild(InfoHook);
     public final InfoHook findChild(String);
     public String[] getChildList();
     public String[] getInfo();
     public final String getName();
     public final void remChild(String);
}

A little class used for exporting information about state, data, etc...

Author:
Janos Ministry of Development


  Cross Reference

Extended By:
FlowClassLoader.ClassLoaderInfo, FlowRegister.FlowInfo, InChannel.PacketClassifierInfo, NativeThread.NativeThreadInfo, ProtocolRegister.ProtocolInfo, UdpBuffer.UdpBufferInfo, RouteTable.RouteTableInfo

Returned By:
InfoHook.findChild()





  Fields

· name

Summary  |  Top
   private final String name

A symbolic name used to distinguish one hook from another


· children

Summary  |  Top
   protected Hashtable children

An InfoHook can have a set of children, allowing the user to narrow their choices based on a certain child.


  Constructors

· InfoHook

Summary  |  Top

   public InfoHook(String name) 

Constructor that sets the hooks name



  Methods

· getName

Summary  |  Top
   public final String getName() 

Get the name for this hook



· findChild

Summary  |  Top
   public final InfoHook findChild(String name) 

Find a child with the given name. The name can be fully qualified to search through a tree of InfoHooks.



· addChild

Summary  |  Top
   public final void addChild(InfoHook ih) 

Add a child InfoHook to this hook



· remChild

Summary  |  Top
   public final void remChild(String name) 

Remove a child InfoHook



· getChildList

Summary  |  Top
   public String[] getChildList() 

Return a string array listing the names of the children



· getInfo

Summary  |  Top
   public String[] getInfo() 

This returns an array of strings that report whatever information is interesting...



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