public final class NameAccessLevel extends Object implements Serializable
AbstractID objects (currently including
ApplicationID,
NodeID,
DomainID and
GlobalID
). An AbstractID object can have a single parent
AbstractID object. This allows a tree-like hierarchy
to be formed which in turn allows a name space hierarchy.
For example, two ApplicationID objects, A and B, may each
have a parent NodeID Z. The namespaces created around
A and B will each be a superset of the namespace of Z. Channels registered
in Z's namespace can be resolved in either A's or B's namespace. A channel
registered in A's namespace may neither be resolved in Z's namespace nor
B's.
| Modifier and Type | Field and Description |
|---|---|
static NameAccessLevel |
GLOBAL_ACCESS_LEVEL
The
NameAccessLevel for the global namespace. |
| Constructor and Description |
|---|
NameAccessLevel(AbstractID abstractID)
Constructor which takes an
AbstractID to use
for identifying the namespace. |
public static final NameAccessLevel GLOBAL_ACCESS_LEVEL
NameAccessLevel for the global namespace.public NameAccessLevel(AbstractID abstractID)
Constructor which takes an AbstractID to use
for identifying the namespace.
public boolean equals(Object o)
equals in class Objectture iff the other object is a
NameAccessLevel object which has an
equal underlying AbstractID.AbstractIDpublic int hashCode()
hashCode in class ObjectObject.hashCode()Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.