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.
See Also:
  • Constructor Details

    • NetLocation

      public NetLocation()
  • Method Details

    • 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