All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.ProtocolRegister
Summary |
public class ProtocolRegister extends java.lang.Object { // Fields 1 private static final Hashtable protocols; // Constructors 1 public ProtocolRegister(); // Methods 1 public static ProtocolRegister.Owner register(Object, ProtocolRegister.Owner); // Inner Classes 2 public static class ProtocolRegister.Owner private static class ProtocolRegister.ProtocolInfo }
Maintain a map of all the Flows 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 ProtocolRegister.Owner register(Object id, ProtocolRegister.Owner owner)
Register a protocol, if the protocol has already been registered then the current owner is returned, otherwise null is returned and caller is now the owner.
Parameter Description id An object used to identify a protocol owner The entity who wants to be the owner of 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