org.jcsp.net2
Class NetLocation

java.lang.Object
  extended by 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
NetLocation()
           
 
Method Summary
abstract  NodeAddress getNodeAddress()
          Gets the NodeAddress part of the location structure
abstract  NodeID getNodeID()
          Gets the NodeID part of the location structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetLocation

public NetLocation()
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


Copyright © 1996-2012. All Rights Reserved.