All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.antsr.core.ProtocolRegister
Summary |
public class ProtocolRegister extends java.lang.Object { // Fields 1 private static final Hashtable protocols; // Constructors 1 public ProtocolRegister(); // Methods 1 public static void register(Object, ProtocolRegister.Owner); // Inner Classes 2 public static class ProtocolRegister.Owner private static class ProtocolRegister.ProtocolInfo }
Maintain a map of all the Protocols in the system.
Fields |
· protocols | Summary | Top |
private static final Hashtable protocols
Constructors |
· ProtocolRegister | Summary | Top |
public ProtocolRegister()
Default constructor
Methods |
· register | Summary | Top |
public static void register(Object id, ProtocolRegister.Owner owner)
Register a protocol, the protocol had best not be registered by someone else already.
Parameter Description id An object used to identify a protocol owner The entity that owns the protocol
- Returns:
- The current owner or null, if none
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7