|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcsp.net.AbstractID
public abstract class AbstractID
This is an abstract class that is sub-classed by classes whose
instances should represent some kind of identifier and be part of a
hierarchy of AbstractID
objects.
This class has no public or protected constructor so it may
not be sub-classed by JCSP users. JCSP.NET defines four implementations
of this class;
,
ApplicationID
, NodeID
and DomainID
.GlobalID
An ApplicationID
object identifies a JCSP application.
A JCSP Application is formed of a process network initiated at a
particular Node, but processes launched on a remote Node may
also be part of the same application. The parent AbstractID
ApplicationID objects are NodeID
objects.
A NodeID
object identifies a particular JCSP Node. A
JCSP Node is a Java Virtual Machine that has been initialized
to form part of a JCSP.NET network. The parent AbstractID
NodeID objects are DomainID
objects.
A DomainID
object represents a domain of JCSP Nodes.
Node Domains are not presently implemented but this class is
included for completeness. In the future, it is envisaged that
domain controllers will be introduced. At present, all
NodeID
objects have a parent DomainID
equal to the Null Domain (this has a zero length string name).
A GlobalID
object represents the global Node domain.
This includes all domains, their sub-domains, and all Nodes within
sub-domains. There only ever needs to be a single instance of this
class. The parent of the Null Domain is a
GlobalID
object.
Method Summary | |
---|---|
abstract AbstractID |
getParentID()
Returns this instance's parent AbstractID object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract AbstractID getParentID()
AbstractID
object.
AbstractID
of this object.
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |