|
Rice Pastry API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NodeHandle in rice.p2p.commonapi.testing |
Methods in rice.p2p.commonapi.testing that return NodeHandle | |
protected rice.pastry.NodeHandle |
CommonAPITest.getBootstrap()
Gets a handle to a bootstrap node. |
Uses of NodeHandle in rice.pastry |
Fields in rice.pastry declared as NodeHandle | |
protected rice.pastry.NodeHandle |
PastryNode.localhandle
|
Methods in rice.pastry that return NodeHandle | |
rice.pastry.NodeHandle |
NodeSet.get(rice.pastry.NodeId nid)
Finds the NodeHandle associated with a NodeId. |
rice.pastry.NodeHandle |
NodeSet.get(int i)
Gets the ith element in the set. |
rice.pastry.NodeHandle |
NodeSet.remove(rice.pastry.NodeId nid)
Removes a node id and its handle from the set. |
rice.pastry.NodeHandle |
NodeSetI.get(rice.pastry.NodeId nid)
Finds the NodeHandle associated with the NodeId. |
rice.pastry.NodeHandle |
NodeSetI.get(int i)
Gets the ith element in the set. |
rice.pastry.NodeHandle |
NodeSetI.remove(rice.pastry.NodeId nid)
Removes a node id and its handle from the set. |
rice.pastry.NodeHandle |
NodeSetUpdate.handle()
The handle that changed. |
rice.pastry.NodeHandle |
PastryNode.getLocalHandle()
|
rice.pastry.NodeHandle |
PastryNodeFactory.getNearest(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle seed)
This method implements the algorithm in the Pastry locality paper for finding a close node the the current node through iterative leafset and route row requests. |
Methods in rice.pastry with parameters of type NodeHandle | |
boolean |
NodeSet.put(rice.pastry.NodeHandle handle)
Appends a member to the ordered set. |
boolean |
NodeSet.insert(int index,
rice.pastry.NodeHandle handle)
insert a member at the given index |
void |
NodeSet.remove(rice.pastry.NodeHandle handle)
remove a member |
int |
NodeSet.indexOf(rice.pastry.NodeHandle handle)
determine rank of a member |
boolean |
NodeSet.member(rice.pastry.NodeHandle handle)
test membership |
boolean |
NodeSetI.put(rice.pastry.NodeHandle handle)
Puts a NodeHandle into the set. |
void |
PastryNode.setElements(rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.messaging.MessageDispatch md,
rice.pastry.leafset.LeafSet ls,
rice.pastry.routing.RoutingTable rt)
Combined accessor method for various members of PastryNode. |
abstract void |
PastryNode.initiateJoin(rice.pastry.NodeHandle bootstrap)
Overridden by derived classes to initiate the join process |
abstract rice.pastry.PastryNode |
PastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
Call this to construct a new node of the type chosen by the factory. |
abstract rice.pastry.PastryNode |
PastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
Call this to construct a new node of the type chosen by the factory, with the given nodeId. |
abstract rice.pastry.leafset.LeafSet |
PastryNodeFactory.getLeafSet(rice.pastry.NodeHandle handle)
This method returns the remote leafset of the provided handle to the caller, in a protocol-dependent fashion. |
abstract rice.pastry.routing.RouteSet[] |
PastryNodeFactory.getRouteRow(rice.pastry.NodeHandle handle,
int row)
This method returns the remote route row of the provided handle to the caller, in a protocol-dependent fashion. |
abstract int |
PastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
abstract int |
PastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
rice.pastry.NodeHandle |
PastryNodeFactory.getNearest(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle seed)
This method implements the algorithm in the Pastry locality paper for finding a close node the the current node through iterative leafset and route row requests. |
rice.pastry.NodeHandle |
PastryNodeFactory.getNearest(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle seed)
This method implements the algorithm in the Pastry locality paper for finding a close node the the current node through iterative leafset and route row requests. |
Constructors in rice.pastry with parameters of type NodeHandle | |
NodeSetUpdate(rice.pastry.NodeHandle which,
boolean how)
Constructor. |
Uses of NodeHandle in rice.pastry.client |
Methods in rice.pastry.client that return NodeHandle | |
rice.pastry.NodeHandle |
PastryAppl.getNodeHandle()
Gets the handle of the Pastry node associated with this client |
Methods in rice.pastry.client with parameters of type NodeHandle | |
void |
CommonAPIAppl.route(rice.pastry.Id key,
rice.pastry.messaging.Message msg,
rice.pastry.NodeHandle hint)
This operation forwards a message towards the root of key. |
rice.pastry.IdRange |
CommonAPIAppl.range(rice.pastry.NodeHandle n,
int r,
rice.pastry.Id key,
boolean cumulative)
This method provides information about ranges of keys for which the node n is currently a r-root. |
rice.pastry.IdRange |
CommonAPIAppl.range(rice.pastry.NodeHandle n,
int r,
rice.pastry.Id key)
This method provides information about ranges of keys for which the node n is currently a r-root. |
void |
CommonAPIAppl.update(rice.pastry.NodeHandle nh,
boolean joined)
Called by pastry when the neighbor set changes. |
void |
CommonAPIAppl.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Called by pastry when the leaf set changes. |
boolean |
PastryAppl.routeMsgDirect(rice.pastry.NodeHandle dest,
rice.pastry.messaging.Message msg,
rice.pastry.security.Credentials cred,
rice.pastry.routing.SendOptions opt)
Sends a message to the Pastry node identified by dest. |
void |
PastryAppl.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Called by pastry when the leaf set changes. |
void |
PastryAppl.routeSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Called by pastry when the route set changes. |
Uses of NodeHandle in rice.pastry.commonapi |
Methods in rice.pastry.commonapi with parameters of type NodeHandle | |
void |
PastryEndpoint.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
Uses of NodeHandle in rice.pastry.direct |
Subclasses of NodeHandle in rice.pastry.direct | |
class |
DirectNodeHandle
the node handle used with the direct network |
Methods in rice.pastry.direct that return NodeHandle | |
rice.pastry.NodeHandle |
DirectSecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Methods in rice.pastry.direct with parameters of type NodeHandle | |
void |
DirectPastryNode.doneNode(rice.pastry.NodeHandle bootstrap)
|
void |
DirectPastryNode.initiateJoin(rice.pastry.NodeHandle bootstrap)
Sends an InitiateJoin message to itself. |
rice.pastry.PastryNode |
DirectPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
Manufacture a new Pastry node. |
rice.pastry.PastryNode |
DirectPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
Manufacture a new Pastry node. |
rice.pastry.leafset.LeafSet |
DirectPastryNodeFactory.getLeafSet(rice.pastry.NodeHandle handle)
This method returns the remote leafset of the provided handle to the caller, in a protocol-dependent fashion. |
rice.pastry.routing.RouteSet[] |
DirectPastryNodeFactory.getRouteRow(rice.pastry.NodeHandle handle,
int row)
This method returns the remote route row of the provided handle to the caller, in a protocol-dependent fashion. |
int |
DirectPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle remote)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
int |
DirectPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle remote)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
rice.pastry.NodeHandle |
DirectSecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Uses of NodeHandle in rice.pastry.dist |
Subclasses of NodeHandle in rice.pastry.dist | |
class |
DistNodeHandle
Abstract class for handles to "real" remote nodes. |
Methods in rice.pastry.dist that return NodeHandle | |
abstract rice.pastry.NodeHandle |
DistPastryNodeFactory.generateNodeHandle(java.net.InetSocketAddress address)
Method which all subclasses should implement allowing the client to generate a node handle given the address of a node. |
rice.pastry.NodeHandle |
DistPastryNodeFactory.getNodeHandle(java.net.InetSocketAddress address)
Method which a client should use in order to get a bootstrap node from the factory. |
Methods in rice.pastry.dist with parameters of type NodeHandle | |
void |
DistPastryNode.initiateJoin(rice.pastry.NodeHandle bootstrap)
Sends an InitiateJoin message to itself. |
void |
DistPastryNode.doneNode(rice.pastry.NodeHandle bootstrap)
Called after the node is initialized. |
abstract rice.pastry.PastryNode |
DistPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
Generates a new pastry node with a random NodeId using the bootstrap bootstrap. |
abstract rice.pastry.PastryNode |
DistPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
Generates a new pastry node with the specified NodeId using the bootstrap bootstrap. |
Uses of NodeHandle in rice.pastry.join |
Methods in rice.pastry.join that return NodeHandle | |
rice.pastry.NodeHandle |
InitiateJoin.getHandle()
Gets the handle for the join. |
rice.pastry.NodeHandle |
JoinRequest.getHandle()
Gets the handle of the node trying to join. |
rice.pastry.NodeHandle |
JoinRequest.getJoinHandle()
Gets the handle of the node that accepted the join request; |
Methods in rice.pastry.join with parameters of type NodeHandle | |
void |
JoinRequest.acceptJoin(rice.pastry.NodeHandle nh,
rice.pastry.leafset.LeafSet ls)
Accept join request. |
Constructors in rice.pastry.join with parameters of type NodeHandle | |
InitiateJoin(rice.pastry.NodeHandle nh)
Constructor. |
|
InitiateJoin(java.util.Date stamp,
rice.pastry.NodeHandle nh)
Constructor. |
|
InitiateJoin(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle nh)
Constructor. |
|
InitiateJoin(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle nh)
Constructor. |
|
JoinRequest(rice.pastry.NodeHandle nh)
Constructor. |
|
JoinRequest(rice.pastry.NodeHandle nh,
java.util.Date stamp)
Constructor. |
|
JoinRequest(rice.pastry.NodeHandle nh,
rice.pastry.security.Credentials cred)
Constructor. |
|
JoinRequest(rice.pastry.NodeHandle nh,
rice.pastry.security.Credentials cred,
java.util.Date stamp)
Constructor. |
Uses of NodeHandle in rice.pastry.leafset |
Methods in rice.pastry.leafset that return NodeHandle | |
rice.pastry.NodeHandle |
BroadcastLeafSet.from()
Returns the node id of the node that broadcast its leaf set. |
rice.pastry.NodeHandle |
LeafSet.get(rice.pastry.NodeId nid)
Finds the NodeHandle associated with the NodeId. |
rice.pastry.NodeHandle |
LeafSet.get(int index)
Finds the NodeHandle at a given index. |
rice.pastry.NodeHandle |
LeafSet.remove(rice.pastry.NodeId nid)
Removes a node id and its handle from the set. |
rice.pastry.NodeHandle |
RequestLeafSet.returnHandle()
The return handle for the message |
rice.pastry.NodeHandle |
SimilarSet.get(rice.pastry.NodeId nid)
Finds the NodeHandle associated with the NodeId. |
rice.pastry.NodeHandle |
SimilarSet.get(int i)
Gets the ith element in the set. |
rice.pastry.NodeHandle |
SimilarSet.remove(rice.pastry.NodeId nid)
Removes a node id and its handle from the set. |
rice.pastry.NodeHandle |
SimilarSet.remove(int i)
Removes a node id and its handle from the set. |
Methods in rice.pastry.leafset with parameters of type NodeHandle | |
boolean |
LeafSet.put(rice.pastry.NodeHandle handle)
Puts a NodeHandle into the set. |
boolean |
LeafSet.test(rice.pastry.NodeHandle handle)
Test if a put of the given NodeHandle would succeed. |
rice.pastry.IdRange |
LeafSet.range(rice.pastry.NodeHandle n,
int r)
range computes the range of keys for which node n is a i-root, 0<=i<=r a node is the r-root for a key of the node becomes the numerically closest node to the key when i-roots for the key fail, O<=i |
rice.pastry.IdRange |
LeafSet.range(rice.pastry.NodeHandle n,
int r,
boolean cw)
range computes the ranges of keys for which node n is a r-root a node is the r-root for a key of the node becomes the numerically closest node to the key when i-roots for the key fail, O<=i |
boolean |
LeafSet.merge(rice.pastry.leafset.LeafSet remotels,
rice.pastry.NodeHandle from,
rice.pastry.routing.RoutingTable routeTable,
rice.pastry.security.PastrySecurityManager security,
boolean testOnly,
java.util.Set insertedHandles)
Merge a remote leafset into this |
boolean |
SimilarSet.test(rice.pastry.NodeHandle handle)
Test if a NodeHandle belongs into the set. |
boolean |
SimilarSet.put(rice.pastry.NodeHandle handle)
Puts a NodeHandle into the set. |
Constructors in rice.pastry.leafset with parameters of type NodeHandle | |
BroadcastLeafSet(rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
LeafSet(rice.pastry.NodeHandle localNode,
int size)
Constructor. |
|
RequestLeafSet(rice.pastry.NodeHandle nh)
Constructor. |
|
RequestLeafSet(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle nh)
Constructor. |
|
RequestLeafSet(java.util.Date stamp,
rice.pastry.NodeHandle nh)
Constructor. |
|
RequestLeafSet(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle nh)
Constructor. |
|
SimilarSet(rice.pastry.NodeHandle localNode,
int size,
boolean cw)
Constructor. |
Uses of NodeHandle in rice.pastry.multiring |
Methods in rice.pastry.multiring that return NodeHandle | |
rice.pastry.NodeHandle |
MultiRingPastryNode.getLocalHandle()
|
Methods in rice.pastry.multiring with parameters of type NodeHandle | |
void |
MultiRingAppl.newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
|
void |
MultiRingAppl.subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
|
void |
MultiRingAppl.faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle faultyParent)
|
void |
MultiRingPastryNode.setBootstrap(rice.pastry.NodeHandle bootstrap)
|
void |
MultiRingPastryNode.setElements(rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.messaging.MessageDispatch md,
rice.pastry.leafset.LeafSet ls,
rice.pastry.routing.RoutingTable rt)
|
void |
MultiRingPastryNode.initiateJoin(rice.pastry.NodeHandle bootstrap)
|
rice.pastry.PastryNode |
MultiRingPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
|
rice.pastry.PastryNode |
MultiRingPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
|
rice.pastry.PastryNode |
MultiRingPastryNodeFactory.joinRing(rice.pastry.multiring.MultiRingPastryNode parentNode,
rice.pastry.NodeHandle bootstrap)
|
rice.pastry.leafset.LeafSet |
MultiRingPastryNodeFactory.getLeafSet(rice.pastry.NodeHandle handle)
This method returns the remote leafset of the provided handle to the caller, in a protocol-dependent fashion. |
rice.pastry.routing.RouteSet[] |
MultiRingPastryNodeFactory.getRouteRow(rice.pastry.NodeHandle handle,
int row)
This method returns the remote route row of the provided handle to the caller, in a protocol-dependent fashion. |
int |
MultiRingPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
int |
MultiRingPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
Uses of NodeHandle in rice.pastry.multiring.messaging |
Methods in rice.pastry.multiring.messaging that return NodeHandle | |
rice.pastry.NodeHandle |
RingLookupResponseMessage.getSource()
|
Constructors in rice.pastry.multiring.messaging with parameters of type NodeHandle | |
RingLookupResponseMessage(rice.pastry.NodeHandle source,
rice.pastry.multiring.RingId ringId)
Constructor |
Uses of NodeHandle in rice.pastry.multiring.testing |
Methods in rice.pastry.multiring.testing that return NodeHandle | |
protected rice.pastry.NodeHandle |
MultiRingPastryRegrTest.getLocalBootstrap(int ring,
boolean firstNode)
|
protected rice.pastry.NodeHandle |
MultiRingPastryRegrTest.getGlobalBootstrap(boolean firstNode)
|
Uses of NodeHandle in rice.pastry.rmi |
Subclasses of NodeHandle in rice.pastry.rmi | |
class |
RMINodeHandle
A locally stored node handle that points to a remote RMIRemoteNodeI. |
Methods in rice.pastry.rmi that return NodeHandle | |
rice.pastry.NodeHandle |
RMIPastryNodeFactory.generateNodeHandle(java.net.InetSocketAddress address)
Specified by the DistPastryNodeFactory class. |
rice.pastry.NodeHandle |
RMIPastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Methods in rice.pastry.rmi with parameters of type NodeHandle | |
void |
RMIPastryNode.doneNode(rice.pastry.NodeHandle bootstrap)
Called after the node is initialized. |
rice.pastry.PastryNode |
RMIPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
|
rice.pastry.PastryNode |
RMIPastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
Makes many policy choices and manufactures a new RMIPastryNode. |
rice.pastry.leafset.LeafSet |
RMIPastryNodeFactory.getLeafSet(rice.pastry.NodeHandle handle)
This method returns the remote leafset of the provided handle to the caller, in a protocol-dependent fashion. |
rice.pastry.routing.RouteSet[] |
RMIPastryNodeFactory.getRouteRow(rice.pastry.NodeHandle handle,
int row)
This method returns the remote route row of the provided handle to the caller, in a protocol-dependent fashion. |
int |
RMIPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
int |
RMIPastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
rice.pastry.NodeHandle |
RMIPastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Uses of NodeHandle in rice.pastry.routing |
Fields in rice.pastry.routing declared as NodeHandle | |
rice.pastry.NodeHandle |
RouteMessage.nextHop
|
Methods in rice.pastry.routing that return NodeHandle | |
rice.pastry.NodeHandle |
BroadcastRouteRow.from()
Gets the from node. |
rice.pastry.NodeHandle |
RequestRouteRow.returnHandle()
The return handle for the message |
rice.pastry.NodeHandle |
RouteMessage.getPrevNode()
|
rice.pastry.NodeHandle |
RouteMessage.getNextHop()
|
rice.pastry.NodeHandle |
RouteSet.remove(rice.pastry.NodeId nid)
Removes a node from a set. |
rice.pastry.NodeHandle |
RouteSet.closestNode()
Return the closest live node in the set. |
rice.pastry.NodeHandle |
RouteSet.get(int i)
Returns the node in the ith position in the set. |
rice.pastry.NodeHandle |
RouteSet.get(rice.pastry.NodeId nid)
Returns the node handle with the matching node id or null if none exists. |
rice.pastry.NodeHandle |
RoutingTable.bestAlternateRoute(rice.pastry.Id key)
Determines an alternate hop numerically closer to the key than the one we are at. |
rice.pastry.NodeHandle |
RoutingTable.get(rice.pastry.NodeId nid)
Gets the node handle associated with a given id. |
rice.pastry.NodeHandle |
RoutingTable.remove(rice.pastry.NodeId nid)
Removes a node id from the table. |
Methods in rice.pastry.routing with parameters of type NodeHandle | |
void |
RouteMessage.setPrevNode(rice.pastry.NodeHandle n)
|
void |
RouteMessage.setNextHop(rice.pastry.NodeHandle nh)
|
boolean |
RouteSet.put(rice.pastry.NodeHandle handle)
Puts a node into the set. |
void |
RoutingTable.put(rice.pastry.NodeHandle handle)
Puts a handle into the routing table. |
Constructors in rice.pastry.routing with parameters of type NodeHandle | |
BroadcastRouteRow(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.routing.RouteSet[] r)
Constructor. |
|
BroadcastRouteRow(java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.routing.RouteSet[] r)
Constructor. |
|
BroadcastRouteRow(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle from,
rice.pastry.routing.RouteSet[] r)
Constructor. |
|
BroadcastRouteRow(rice.pastry.NodeHandle from,
rice.pastry.routing.RouteSet[] r)
Constructor. |
|
RequestRouteRow(rice.pastry.NodeHandle nh,
int r)
Constructor. |
|
RequestRouteRow(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle nh,
int r)
Constructor. |
|
RequestRouteRow(java.util.Date stamp,
rice.pastry.NodeHandle nh,
int r)
Constructor. |
|
RequestRouteRow(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle nh,
int r)
Constructor. |
|
RouteMessage(rice.pastry.NodeHandle dest,
rice.pastry.messaging.Message msg,
rice.pastry.security.Credentials cred,
rice.pastry.routing.SendOptions opts,
rice.pastry.messaging.Address aux)
Constructor. |
|
RouteMessage(rice.pastry.Id target,
rice.pastry.messaging.Message msg,
rice.pastry.NodeHandle firstHop,
rice.pastry.messaging.Address aux)
Constructor. |
|
RoutingTable(rice.pastry.NodeHandle me,
int max)
Constructor. |
Uses of NodeHandle in rice.pastry.security |
Methods in rice.pastry.security that return NodeHandle | |
rice.pastry.NodeHandle |
PastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
rice.pastry.NodeHandle |
PermissiveSecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
|
Methods in rice.pastry.security with parameters of type NodeHandle | |
rice.pastry.NodeHandle |
PastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
rice.pastry.NodeHandle |
PermissiveSecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
|
Uses of NodeHandle in rice.pastry.standard |
Methods in rice.pastry.standard with parameters of type NodeHandle | |
protected boolean |
StandardLeafSetProtocol.checkLeafSet(rice.pastry.leafset.LeafSet remotels,
rice.pastry.NodeHandle from,
boolean notifyMissing)
Checks a received leafset advertisement for missing nodes |
protected boolean |
StandardLeafSetProtocol.mergeLeafSet(rice.pastry.leafset.LeafSet remotels,
rice.pastry.NodeHandle from)
Merge a remote leafset into our own |
protected void |
StandardLeafSetProtocol.broadcast(rice.pastry.leafset.LeafSet ls,
rice.pastry.NodeHandle from)
Broadcast the local leaf set to all members of the given leaf set, plus the node from which the leaf set was received. |
Constructors in rice.pastry.standard with parameters of type NodeHandle | |
StandardJoinProtocol(rice.pastry.PastryNode ln,
rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.routing.RoutingTable rt,
rice.pastry.leafset.LeafSet ls)
Constructor. |
|
StandardLeafSetProtocol(rice.pastry.PastryNode ln,
rice.pastry.NodeHandle local,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.leafset.LeafSet ls,
rice.pastry.routing.RoutingTable rt)
|
|
StandardRouter(rice.pastry.NodeHandle handle,
rice.pastry.routing.RoutingTable rt,
rice.pastry.leafset.LeafSet ls,
rice.pastry.security.PastrySecurityManager sm)
Constructor. |
|
StandardRouteSetProtocol(rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.routing.RoutingTable rt)
Constructor. |
Uses of NodeHandle in rice.pastry.testing |
Subclasses of NodeHandle in rice.pastry.testing | |
static class |
LeafSetTest.TestNodeHandle
|
Methods in rice.pastry.testing that return NodeHandle | |
protected rice.pastry.NodeHandle |
ClosestRegrTest.getBootstrap()
Get pastryNodes.last() to bootstrap with, or return null. |
protected rice.pastry.NodeHandle |
DirectPastryRegrTest.getBootstrap(boolean firstNode)
Get pastryNodes.last() to bootstrap with, or return null. |
protected rice.pastry.NodeHandle |
DistHelloWorld.getBootstrap(boolean firstNode)
Gets a handle to a bootstrap node. |
protected rice.pastry.NodeHandle |
DistPastryRegrTest.getBootstrap(boolean firstNode)
Gets a handle to a bootstrap node. |
protected abstract rice.pastry.NodeHandle |
PastryRegrTest.getBootstrap(boolean firstNode)
get a node handle to bootstrap from. |
Methods in rice.pastry.testing with parameters of type NodeHandle | |
void |
HelloWorldApp.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Invoked upon change to leafset. |
void |
HelloWorldApp.routeSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Invoked upon change to routing table. |
protected rice.pastry.PastryNode |
PastryRegrTest.generateNode(rice.pastry.NodeHandle bootstrap)
|
void |
Ping.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
void |
Ping.routeSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
void |
PingClient.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
void |
PingClient.routeSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
void |
RegrTestApp.update(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
void |
RegrTestApp.routeSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
|
Uses of NodeHandle in rice.pastry.wire |
Subclasses of NodeHandle in rice.pastry.wire | |
class |
WireNodeHandle
Class which represents a node handle in the socket-based pastry protocol. |
Methods in rice.pastry.wire that return NodeHandle | |
rice.pastry.NodeHandle |
WirePastryNodeFactory.generateNodeHandle(java.net.InetSocketAddress address)
Method which contructs a node handle (using the wire protocol) for the node at address NodeHandle. |
rice.pastry.NodeHandle |
WirePastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Methods in rice.pastry.wire with parameters of type NodeHandle | |
void |
WirePastryNode.doneNode(rice.pastry.NodeHandle bootstrap)
Called after the node is initialized. |
rice.pastry.PastryNode |
WirePastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap)
Method which creates a Pastry node from the next port with a randomly generated NodeId. |
rice.pastry.PastryNode |
WirePastryNodeFactory.newNode(rice.pastry.NodeHandle bootstrap,
rice.pastry.NodeId nodeId)
Method which creates a Pastry node from the next port with a randomly generated NodeId. |
rice.pastry.leafset.LeafSet |
WirePastryNodeFactory.getLeafSet(rice.pastry.NodeHandle handle)
This method returns the remote leafset of the provided handle to the caller, in a protocol-dependent fashion. |
rice.pastry.routing.RouteSet[] |
WirePastryNodeFactory.getRouteRow(rice.pastry.NodeHandle handle,
int row)
This method returns the remote route row of the provided handle to the caller, in a protocol-dependent fashion. |
int |
WirePastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
int |
WirePastryNodeFactory.getProximity(rice.pastry.NodeHandle local,
rice.pastry.NodeHandle handle)
This method determines and returns the proximity of the current local node the provided NodeHandle. |
rice.pastry.NodeHandle |
WirePastrySecurityManager.verifyNodeHandle(rice.pastry.NodeHandle handle)
Verify node handle safety. |
Uses of NodeHandle in rice.rm |
Methods in rice.rm that return NodeHandle | |
rice.pastry.NodeHandle |
RMImpl.getLocalHandle()
Gets the local NodeHandle associated with this Pastry node. |
Methods in rice.rm with parameters of type NodeHandle | |
void |
RMImpl.update(rice.pastry.NodeHandle nh,
boolean wasAdded)
Implements the main algorithm for keeping the invariant that an object would be stored in k closest nodes to the objectKey while the nodes are coming up or going down. |
Uses of NodeHandle in rice.rm.messaging |
Fields in rice.rm.messaging declared as NodeHandle | |
protected rice.pastry.NodeHandle |
RMMessage._source
The ID of the source of this message. |
Methods in rice.rm.messaging that return NodeHandle | |
rice.pastry.NodeHandle |
RMMessage.getSource()
|
rice.pastry.NodeHandle |
RMRequestKeysMsg.WrappedMsg.getDest()
|
Constructors in rice.rm.messaging with parameters of type NodeHandle | |
RMMaintenanceMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred,
int seqno)
Constructor |
|
RMMessage(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred,
int seqno)
Constructor : Builds a new RM Message |
|
RMRequestKeysMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred,
int seqno,
java.util.Vector _rangeSet,
int _eventId)
Constructor : Builds a new RM Message |
|
RMRequestKeysMsg.WrappedMsg(rice.rm.messaging.RMRequestKeysMsg _msg,
rice.pastry.NodeHandle _dest)
|
|
RMResponseKeysMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred,
int seqno,
java.util.Vector _rangeSet,
int _eventId)
Constructor : Builds a new RM Message |
|
RMTimeoutMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred,
int seqno,
RMRequestKeysMsg.WrappedMsg _wmsg)
Constructor |
Uses of NodeHandle in rice.rm.testing |
Fields in rice.rm.testing declared as NodeHandle | |
protected rice.pastry.NodeHandle |
TestMessage._source
The ID of the source of this message. |
Methods in rice.rm.testing that return NodeHandle | |
rice.pastry.NodeHandle |
RMRegrTestApp.getLocalHandle()
|
rice.pastry.NodeHandle |
TestMessage.getSource()
|
Constructors in rice.rm.testing with parameters of type NodeHandle | |
HeartbeatMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
rice.pastry.security.Credentials authorCred)
Constructor : Builds a new Heartbeat Message |
|
InsertMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
java.lang.Object _content,
rice.pastry.security.Credentials authorCred)
|
|
InsertResponseMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _key,
rice.pastry.security.Credentials authorCred)
Constructor : Builds a new RM Message |
|
InvariantCheckMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
Constructor |
|
ObjectInsertionMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
Constructor |
|
ObjectRefreshMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
Constructor |
|
RefreshMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
rice.pastry.security.Credentials authorCred)
|
|
ReplicateMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
rice.pastry.security.Credentials authorCred)
|
|
ReplicateResponseMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _key,
rice.pastry.NodeSet _replicaSet,
rice.pastry.security.Credentials authorCred)
Constructor : Builds a new RM Message |
|
ReplicateTimeoutMsg(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.Id _objectKey,
rice.pastry.security.Credentials authorCred)
Constructor |
|
TestMessage(rice.pastry.NodeHandle source,
rice.pastry.messaging.Address address,
rice.pastry.security.Credentials authorCred)
|
Uses of NodeHandle in rice.scribe |
Fields in rice.scribe declared as NodeHandle | |
protected rice.pastry.NodeHandle |
Topic.m_parent
Local node's parent in this topic's multicast tree |
Methods in rice.scribe that return NodeHandle | |
rice.pastry.NodeHandle |
IScribe.getParent(rice.pastry.NodeId topicId)
Returns the local node's parent in this topic's multicast tree. |
rice.pastry.NodeHandle |
Scribe.getNodeHandle()
Returns the handle of the local node on which this Scribe application resides. |
rice.pastry.NodeHandle |
Scribe.getLocalHandle()
|
rice.pastry.NodeHandle |
Scribe.getParent(rice.pastry.NodeId topicId)
Returns the local node's parent in this topic's multicast tree. |
rice.pastry.NodeHandle |
Topic.getParent()
Returns the local node's parent in this topic's multicast tree. |
Methods in rice.scribe with parameters of type NodeHandle | |
boolean |
IScribe.setParent(rice.pastry.NodeHandle parent,
rice.pastry.NodeId topicId)
Sets the parent for the topic specified by topicId. |
boolean |
IScribe.addChild(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Add a node as a child in the children table for a topic. |
boolean |
IScribe.removeChild(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Removes a node as a child from the children table for a topic. |
void |
IScribeApp.subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
Invoked by Scribe after a child is added to or removed from one of the node's children tables. |
void |
IScribeApp.faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle faultyParent)
Invoked by Scribe just before the "repair" SUBSCRIBE message is sent when a node suspects its parent is faulty. |
void |
IScribeApp.newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
Upcall made by scribe to the registered applications to inform them that a new parent is found for local node in the topic tree. |
void |
Scribe.leafSetChange(rice.pastry.NodeHandle nh,
boolean wasAdded)
Called by pastry when the leaf set changes. |
void |
Scribe.addChildForTopic(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Adds a child for a topic into the distinctChildrenTable. |
void |
Scribe.removeChildForTopic(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Removes a child for a topic from the distinctChildrenTable. |
java.util.Vector |
Scribe.getTopicsForChild(rice.pastry.NodeHandle child)
Gets the vector of topicIds for which given node is a child. |
void |
Scribe.removeParentForTopic(rice.pastry.NodeHandle parent,
rice.pastry.NodeId topicId)
Removes a parent for a topic fromthe distinctParentTable. |
void |
Scribe.addParentForTopic(rice.pastry.NodeHandle parent,
rice.pastry.NodeId topicId)
Adds a parent for a topic into the distinctParentTable. |
java.util.Vector |
Scribe.getTopicsForParent(rice.pastry.NodeHandle parent)
Gets the vector of topicIds for which given node is our parent. |
rice.pastry.NodeId |
Scribe.getFingerprintForParentTopics(rice.pastry.NodeHandle parent)
|
rice.pastry.NodeId |
Scribe.getFingerprintForChildTopics(rice.pastry.NodeHandle child)
|
boolean |
Scribe.setParent(rice.pastry.NodeHandle parent,
rice.pastry.NodeId topicId)
Sets the parent for the topic specified by topicId. |
void |
Scribe.childObserver(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId,
boolean wasAdded,
rice.scribe.messaging.ScribeMessage pmsg,
java.io.Serializable data)
Whenever the children table for a topic is changed, ( a child is added or removed), this method is invoked to do some handling. |
boolean |
Scribe.addChild(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Add a node as a child in the children table for a topic. |
boolean |
Scribe.addChild(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId,
java.io.Serializable data)
Add a node as a child in the children table for a topic. |
boolean |
Scribe.removeChild(rice.pastry.NodeHandle child,
rice.pastry.NodeId topicId)
Removes a node as a child from the children table for a topic. |
boolean |
Topic.addChild(rice.pastry.NodeHandle child,
rice.scribe.messaging.ScribeMessage msg)
Adds a node to the Set of children in this topic's multicast subtree rooted at this node |
boolean |
Topic.addChild(rice.pastry.NodeHandle child,
rice.scribe.messaging.ScribeMessage msg,
java.io.Serializable data)
Adds a node to the Set of children in this topic's multicast subtree rooted at this node. |
boolean |
Topic.removeChild(rice.pastry.NodeHandle child,
rice.scribe.messaging.ScribeMessage msg)
Removes a node from the Set of children in this topic's multicast subtree rooted at this node |
void |
Topic.setParent(rice.pastry.NodeHandle parent)
Sets the local node's parent in this topic's multicast tree. |
Uses of NodeHandle in rice.scribe.maintenance |
Constructors in rice.scribe.maintenance with parameters of type NodeHandle | |
MessageScribeMaintenance(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.security.Credentials c)
Constructor |
Uses of NodeHandle in rice.scribe.messaging |
Fields in rice.scribe.messaging declared as NodeHandle | |
protected rice.pastry.NodeHandle |
ScribeMessage.m_source
The ID of the source of this message. |
Methods in rice.scribe.messaging that return NodeHandle | |
rice.pastry.NodeHandle |
ScribeMessage.getSource()
Returns the nodeId of the node that generated the message. |
Constructors in rice.scribe.messaging with parameters of type NodeHandle | |
MessageAckOnSubscribe(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId tid,
rice.pastry.security.Credentials c,
java.io.Serializable data)
Constructor |
|
MessageAnycast(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId topicId,
rice.pastry.security.Credentials cred)
Constructor |
|
MessageCreate(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId topicId,
rice.pastry.security.Credentials c)
Constructor. |
|
MessageHeartBeat(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.security.Credentials c)
Constructor |
|
MessagePublish(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId topicId,
rice.pastry.security.Credentials c)
Constructor |
|
MessageReplyFromParent(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.security.Credentials c)
Constructor |
|
MessageRequestToParent(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.security.Credentials c)
Constructor |
|
MessageSubscribe(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId tid,
rice.pastry.security.Credentials c)
Constructor |
|
MessageUnsubscribe(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId tid,
rice.pastry.security.Credentials c)
Contructor |
|
ScribeMessage(rice.pastry.messaging.Address addr,
rice.pastry.NodeHandle source,
rice.pastry.NodeId tid,
rice.pastry.security.Credentials c)
Constructor |
Uses of NodeHandle in rice.scribe.security |
Methods in rice.scribe.security with parameters of type NodeHandle | |
boolean |
IScribeSecurityManager.verifyCanCreate(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to create a topic. |
boolean |
IScribeSecurityManager.verifyCanPublish(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to publish to a topic. |
boolean |
IScribeSecurityManager.verifyCanSubscribe(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to subscribe to a topic. |
boolean |
PSecurityManager.verifyCanCreate(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to create a topic. |
boolean |
PSecurityManager.verifyCanPublish(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to publish to a topic. |
boolean |
PSecurityManager.verifyCanSubscribe(rice.pastry.NodeHandle handle,
rice.pastry.NodeId topicId)
Verify that the node handle has permission to subscribe to a topic. |
Uses of NodeHandle in rice.scribe.testing |
Methods in rice.scribe.testing that return NodeHandle | |
rice.pastry.NodeHandle |
DirectScribeMaintenanceTestApp.getLocalHandle()
|
Methods in rice.scribe.testing with parameters of type NodeHandle | |
void |
BasicScribeRegrTestApp.faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle parent)
up-call invoked by scribe when a node detects a failure from its parent. |
void |
BasicScribeRegrTestApp.subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
up-call invoked by scribe when a node is added/removed to the multicast tree. |
void |
BasicScribeRegrTestApp.newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
Upcall by scribe to let this application know about local node's new parent in the topic tree |
void |
DirectScribeMaintenanceTestApp.faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle parent)
up-call invoked by scribe when a node detects a failure from its parent. |
void |
DirectScribeMaintenanceTestApp.subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
up-call invoked by scribe when a node is added/removed to the multicast tree. |
void |
DirectScribeMaintenanceTestApp.newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
Upcall by scribe to let this application know about local node's new parent in the topic tree |
void |
DistScribeRegrTestApp.faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle parent)
up-call invoked by scribe when a node detects a failure from its parent. |
void |
DistScribeRegrTestApp.subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
up-call invoked by scribe when a node is added/removed to the multicast tree. |
void |
DistScribeRegrTestApp.newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
Upcall by scribe to let this application know about local node's new parent in the topic tree |
Constructors in rice.scribe.testing with parameters of type NodeHandle | |
DirectScribeMaintenanceTest.TestAnycastMessage(rice.pastry.messaging.Address address,
rice.pastry.NodeHandle nh,
rice.pastry.NodeId topicId,
rice.pastry.security.Credentials credentials)
|
|
Rice Pastry API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |