tapestry.ptr.impl
Class LocationStage.LocationReq

java.lang.Object
  |
  +--tapestry.ptr.impl.LocationStage.LocationReq
All Implemented Interfaces:
QueueElementIF
Enclosing class:
LocationStage

public static class LocationStage.LocationReq
extends Object
implements QueueElementIF

LocationReq request to the LocationStage to return a LocationStage.LocationInfo pertaining to the given NodeId.


Field Summary
 SinkIF sink
          Requestor sink to use to return the response.
 Object userData
          Requestor defined object to be returned in the response.
 
Constructor Summary
LocationStage.LocationReq(NodeId node)
          Construct according to the given fields.
LocationStage.LocationReq(NodeId[] nodes, Object userData, SinkIF sink)
          Construct according to the given fields.
 
Method Summary
 NodeId[] getNodes()
          getNodes returns the nodes to that need to define LocationStage.LocationInfo.
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

userData

public Object userData
Requestor defined object to be returned in the response.


sink

public SinkIF sink
Requestor sink to use to return the response.

Constructor Detail

LocationStage.LocationReq

public LocationStage.LocationReq(NodeId[] nodes,
                                 Object userData,
                                 SinkIF sink)
Construct according to the given fields.


LocationStage.LocationReq

public LocationStage.LocationReq(NodeId node)
Construct according to the given fields.

Method Detail

getNodes

public NodeId[] getNodes()
getNodes returns the nodes to that need to define LocationStage.LocationInfo.

Returns:
the nodes that need to define LocationStage.LocationInfo.

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object