Package org.jcsp.net2
Class NetLocation
- java.lang.Object
-
- org.jcsp.net2.NetLocation
-
- Direct Known Subclasses:
NetBarrierLocation
,NetChannelLocation
,NetConnectionLocation
public abstract class NetLocation extends java.lang.Object
This abstract class defines a data structure that is a location of a networked synchronization mechanism. Currently, JCSP offers two location structures - NetChannelLocation and NetBarrierLocation. See the relevant documentation for more information.- See Also:
NetChannelLocation
,NetBarrierLocation
-
-
Constructor Summary
Constructors Constructor Description NetLocation()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NodeAddress
getNodeAddress()
Gets the NodeAddress part of the location structureabstract NodeID
getNodeID()
Gets the NodeID part of the location structure
-
-
-
Method Detail
-
getNodeID
public abstract NodeID getNodeID()
Gets the NodeID part of the location structure- Returns:
- the NodeID part of the NetLocation
-
getNodeAddress
public abstract NodeAddress getNodeAddress()
Gets the NodeAddress part of the location structure- Returns:
- The NodeAddress part of the NetLocation
-
-