Package org.jcsp.net2
Class NetLocation
- java.lang.Object
-
- org.jcsp.net2.NetLocation
-
- Direct Known Subclasses:
NetBarrierLocation,NetChannelLocation,NetConnectionLocation
public abstract class NetLocation extends 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.- Author:
- Kevin Chalmers
- See Also:
NetChannelLocation,NetBarrierLocation
-
-
Constructor Summary
Constructors Constructor Description NetLocation()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NodeAddressgetNodeAddress()Gets the NodeAddress part of the location structureabstract NodeIDgetNodeID()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
-
-