Package org.jcsp.net2
Class NetLocation
java.lang.Object
org.jcsp.net2.NetLocation
- Direct Known Subclasses:
NetBarrierLocation
,NetChannelLocation
,NetConnectionLocation
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NodeAddress
Gets the NodeAddress part of the location structureabstract NodeID
Gets the NodeID part of the location structure
-
Constructor Details
-
NetLocation
public NetLocation()
-
-
Method Details
-
getNodeID
Gets the NodeID part of the location structure- Returns:
- the NodeID part of the NetLocation
-
getNodeAddress
Gets the NodeAddress part of the location structure- Returns:
- The NodeAddress part of the NetLocation
-