|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NodeHandle in rice.p2p.aggregation |
---|
Methods in rice.p2p.aggregation that return NodeHandle | |
---|---|
NodeHandle |
AggregationImpl.getLocalNodeHandle()
|
Methods in rice.p2p.aggregation with parameters of type NodeHandle | |
---|---|
void |
AggregationImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
|
void |
AggregationImpl.update(NodeHandle handle,
boolean joined)
|
Uses of NodeHandle in rice.p2p.aggregation.messaging |
---|
Fields in rice.p2p.aggregation.messaging declared as NodeHandle | |
---|---|
protected NodeHandle |
AggregationMessage.source
|
Methods in rice.p2p.aggregation.messaging that return NodeHandle | |
---|---|
NodeHandle |
AggregationMessage.getSource()
Method which returns this messages' source address |
Constructors in rice.p2p.aggregation.messaging with parameters of type NodeHandle | |
---|---|
AggregationMessage(int id,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id |
|
AggregationTimeoutMessage(int uid,
NodeHandle local)
|
Uses of NodeHandle in rice.p2p.commonapi |
---|
Methods in rice.p2p.commonapi that return NodeHandle | |
---|---|
NodeHandle |
NodeHandleSet.getHandle(Id id)
Finds the NodeHandle associated with the NodeId. |
NodeHandle |
NodeHandleSet.getHandle(int i)
Gets the ith element in the set. |
NodeHandle |
Endpoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
NodeHandle |
Node.getLocalNodeHandle()
Returns a handle to the local node. |
NodeHandle |
RouteMessage.getNextHopHandle()
Returns the next hop handle for this message |
NodeHandle |
NodeHandleSet.removeHandle(Id id)
Removes a node id and its handle from the set. |
Methods in rice.p2p.commonapi with parameters of type NodeHandle | |
---|---|
boolean |
NodeHandleSet.putHandle(NodeHandle handle)
Puts a NodeHandle into the set. |
IdRange |
Endpoint.range(NodeHandle handle,
int rank,
Id lkey)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
IdRange |
Endpoint.range(NodeHandle handle,
int rank,
Id lkey,
boolean cumulative)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
NodeHandleSet |
Endpoint.replicaSet(Id id,
int maxRank,
NodeHandle root,
NodeHandleSet set)
This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored. |
void |
Endpoint.route(Id id,
Message message,
NodeHandle hint)
This method makes an attempt to route the message to the root of the given id. |
void |
RouteMessage.setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
void |
Application.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Uses of NodeHandle in rice.p2p.glacier.v2 |
---|
Fields in rice.p2p.glacier.v2 declared as NodeHandle | |
---|---|
protected NodeHandle |
DebugContentHandle.myNodeHandle
|
protected NodeHandle |
GlacierContentHandle.nodeHandle
|
Methods in rice.p2p.glacier.v2 that return NodeHandle | |
---|---|
NodeHandle |
GlacierImpl.getLocalNodeHandle()
|
NodeHandle |
DebugContentHandle.getNodeHandle()
|
NodeHandle |
GlacierContentHandle.getNodeHandle()
|
Methods in rice.p2p.glacier.v2 with parameters of type NodeHandle | |
---|---|
void |
GlacierImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
|
void |
GlacierImpl.sendMessage(Id id,
GlacierMessage message,
NodeHandle hint)
|
void |
GlacierImpl.update(NodeHandle handle,
boolean joined)
|
Constructors in rice.p2p.glacier.v2 with parameters of type NodeHandle | |
---|---|
GlacierContentHandle(Id id,
long version,
NodeHandle nodeHandle,
Manifest manifest)
|
Uses of NodeHandle in rice.p2p.glacier.v2.messaging |
---|
Fields in rice.p2p.glacier.v2.messaging declared as NodeHandle | |
---|---|
protected NodeHandle |
GlacierRangeForwardMessage.requestor
|
protected NodeHandle |
GlacierMessage.source
|
Methods in rice.p2p.glacier.v2.messaging that return NodeHandle | |
---|---|
NodeHandle |
GlacierRangeForwardMessage.getRequestor()
|
NodeHandle |
GlacierMessage.getSource()
Method which returns this messages' source address |
Constructors in rice.p2p.glacier.v2.messaging with parameters of type NodeHandle | |
---|---|
GlacierDataMessage(int uid,
FragmentKey[] keys,
Fragment[] fragments,
Manifest[] manifests,
NodeHandle source,
Id dest,
boolean isResponse,
char tag)
|
|
GlacierDataMessage(int uid,
FragmentKey key,
Fragment fragment,
Manifest manifest,
NodeHandle source,
Id dest,
boolean isResponse,
char tag)
|
|
GlacierFetchMessage(int uid,
FragmentKey[] keys,
int request,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierFetchMessage(int uid,
FragmentKey key,
int request,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierMessage(int id,
NodeHandle source,
Id dest,
boolean isResponse,
char tag)
Constructor which takes a unique integer Id |
|
GlacierNeighborRequestMessage(int uid,
IdRange requestedRange,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierNeighborResponseMessage(int uid,
Id[] neighbors,
long[] lastSeen,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierQueryMessage(int uid,
FragmentKey[] keys,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRangeForwardMessage(int uid,
IdRange requestedRange,
NodeHandle requestor,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRangeQueryMessage(int uid,
IdRange requestedRange,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRangeResponseMessage(int uid,
IdRange commonRange,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRefreshCompleteMessage(int uid,
VersionKey[] keys,
int[] updates,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRefreshPatchMessage(int uid,
VersionKey[] keys,
long[] lifetimes,
byte[][] signatures,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRefreshProbeMessage(int uid,
Id requestedId,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierRefreshResponseMessage(int uid,
IdRange range,
boolean online,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierResponseMessage(int uid,
FragmentKey[] keys,
boolean[] haveIt,
long[] lifetimes,
boolean[] authoritative,
NodeHandle source,
Id dest,
boolean isResponse,
char tag)
|
|
GlacierResponseMessage(int uid,
FragmentKey key,
boolean haveIt,
long lifetime,
boolean authoritative,
NodeHandle source,
Id dest,
boolean isResponse,
char tag)
|
|
GlacierSyncMessage(int uid,
IdRange range,
int offsetFID,
BloomFilter BloomFilter,
NodeHandle source,
Id dest,
char tag)
|
|
GlacierTimeoutMessage(int uid,
NodeHandle local)
Constructor which takes a unique integer Id and the local id |
Uses of NodeHandle in rice.p2p.multiring |
---|
Subclasses of NodeHandle in rice.p2p.multiring | |
---|---|
class |
MultiringNodeHandle
|
Fields in rice.p2p.multiring declared as NodeHandle | |
---|---|
protected NodeHandle |
MultiringNodeHandle.handle
The internal handle |
Methods in rice.p2p.multiring that return NodeHandle | |
---|---|
protected NodeHandle |
MultiringNodeHandle.getHandle()
Returns the internal handle |
NodeHandle |
MultiringNodeHandleSet.getHandle(Id id)
Finds the NodeHandle associated with the NodeId. |
NodeHandle |
MultiringNodeHandleSet.getHandle(int i)
Gets the ith element in the set. |
NodeHandle |
MultiringEndpoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
NodeHandle |
MultiringNode.getLocalNodeHandle()
|
NodeHandle |
MultiringRouteMessage.getNextHopHandle()
Returns the next hop handle for this message |
NodeHandle |
MultiringNodeHandleSet.removeHandle(Id id)
Removes a node id and its handle from the set. |
Methods in rice.p2p.multiring with parameters of type NodeHandle | |
---|---|
void |
MultiringNode.childAdded(Topic topic,
NodeHandle child)
Informs this client that a child was added to a topic in which it was interested in. |
void |
MultiringNode.childRemoved(Topic topic,
NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
boolean |
MultiringNodeHandleSet.putHandle(NodeHandle handle)
Puts a NodeHandle into the set. |
IdRange |
MultiringEndpoint.range(NodeHandle handle,
int rank,
Id lkey)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
IdRange |
MultiringEndpoint.range(NodeHandle handle,
int rank,
Id lkey,
boolean cumulative)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
NodeHandleSet |
MultiringEndpoint.replicaSet(Id id,
int maxRank,
NodeHandle root,
NodeHandleSet set)
This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored. |
void |
MultiringEndpoint.route(Id id,
Message message,
NodeHandle hint)
This method makes an attempt to route the message to the root of the given id. |
void |
MultiringRouteMessage.setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
void |
MultiringApplication.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Constructors in rice.p2p.multiring with parameters of type NodeHandle | |
---|---|
MultiringNodeHandle(Id ringId,
NodeHandle handle)
Constructor |
Uses of NodeHandle in rice.p2p.multiring.testing |
---|
Methods in rice.p2p.multiring.testing with parameters of type NodeHandle | |
---|---|
void |
MultiringRegrTest.MultiringTestApp.update(NodeHandle handle,
boolean joined)
|
Uses of NodeHandle in rice.p2p.past |
---|
Methods in rice.p2p.past that return NodeHandle | |
---|---|
NodeHandle |
Past.getLocalNodeHandle()
get the nodeHandle of the local Past node |
NodeHandle |
PastImpl.getLocalNodeHandle()
get the nodeHandle of the local Past node |
NodeHandle |
ContentHashPastContentHandle.getNodeHandle()
Returns the NodeHandle of the Past node on which the object associated with this handle is stored |
NodeHandle |
PastContentHandle.getNodeHandle()
get the NodeHandle of the Past node on which the object associated with this handle is stored |
Methods in rice.p2p.past with parameters of type NodeHandle | |
---|---|
void |
PastPolicy.fetch(Id id,
NodeHandle hint,
Cache backup,
Past past,
Continuation command)
This method is called when Past is told to fetch a key. |
void |
PastPolicy.DefaultPastPolicy.fetch(Id id,
NodeHandle hint,
Cache backup,
Past past,
Continuation command)
This method fetches the object via a lookup() call. |
void |
PastImpl.fetch(Id id,
NodeHandle hint,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
void |
Past.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
Retrieves the handle for the given object stored on the requested node. |
void |
PastImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
Retrieves the handle for the given object stored on the requested node. |
protected void |
PastImpl.sendRequest(Id id,
PastMessage message,
NodeHandle hint,
Continuation command)
Sends a request message across the wire, and stores the appropriate continuation. |
protected void |
PastImpl.sendRequest(NodeHandle handle,
PastMessage message,
Continuation command)
Sends a request message across the wire, and stores the appropriate continuation. |
void |
PastImpl.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Constructors in rice.p2p.past with parameters of type NodeHandle | |
---|---|
ContentHashPastContentHandle(NodeHandle nh,
Id id)
Constructor |
Uses of NodeHandle in rice.p2p.past.gc |
---|
Methods in rice.p2p.past.gc that return NodeHandle | |
---|---|
NodeHandle |
GCEndpoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
NodeHandle |
GCNode.getLocalNodeHandle()
Method which returns the node handle to the local node |
Methods in rice.p2p.past.gc with parameters of type NodeHandle | |
---|---|
void |
GCPastImpl.ReplicaMap.addReplica(NodeHandle handle,
GCId id)
|
void |
GCPastImpl.fetch(Id id,
NodeHandle hint,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
GCIdSet |
GCPastImpl.ReplicaMap.getIds(NodeHandle replica)
|
IdRange |
GCEndpoint.range(NodeHandle handle,
int rank,
Id lkey)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
IdRange |
GCEndpoint.range(NodeHandle handle,
int rank,
Id lkey,
boolean cumulative)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
NodeHandleSet |
GCEndpoint.replicaSet(Id id,
int maxRank,
NodeHandle root,
NodeHandleSet set)
This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored. |
void |
GCEndpoint.route(Id id,
Message message,
NodeHandle hint)
This method makes an attempt to route the message to the root of the given id. |
Uses of NodeHandle in rice.p2p.past.gc.messaging |
---|
Constructors in rice.p2p.past.gc.messaging with parameters of type NodeHandle | |
---|---|
GCCollectMessage(int id,
NodeHandle source,
Id dest)
Constructor |
|
GCInsertMessage(int uid,
PastContent content,
long expiration,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
|
GCLookupHandlesMessage(int uid,
Id id,
NodeHandle source,
Id dest)
Constructor |
|
GCRefreshMessage(int uid,
GCIdSet keys,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id, as well as the keys to be refreshed |
Uses of NodeHandle in rice.p2p.past.messaging |
---|
Fields in rice.p2p.past.messaging declared as NodeHandle | |
---|---|
protected NodeHandle |
MessageLostMessage.hint
|
protected NodeHandle |
PastMessage.source
|
Methods in rice.p2p.past.messaging that return NodeHandle | |
---|---|
NodeHandle |
LookupMessage.getPreviousNodeHandle()
Method which returns the previous hop (where the message was just at) |
NodeHandle |
PastMessage.getSource()
Method which returns this messages' source address |
Methods in rice.p2p.past.messaging with parameters of type NodeHandle | |
---|---|
void |
LookupMessage.addHop(NodeHandle handle)
Method which is designed to be overridden by subclasses if they need to keep track of where they've been. |
void |
PastMessage.addHop(NodeHandle handle)
Method which is designed to be overridden by subclasses if they need to keep track of where they've been. |
Constructors in rice.p2p.past.messaging with parameters of type NodeHandle | |
---|---|
CacheMessage(int uid,
PastContent content,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id and the local id |
|
ContinuationMessage(int uid,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
|
FetchHandleMessage(int uid,
Id id,
NodeHandle source,
Id dest)
Constructor |
|
FetchMessage(int uid,
PastContentHandle handle,
NodeHandle source,
Id dest)
Constructor |
|
InsertMessage(int uid,
PastContent content,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
|
LookupHandlesMessage(int uid,
Id id,
int max,
NodeHandle source,
Id dest)
Constructor |
|
LookupMessage(int uid,
Id id,
NodeHandle source,
Id dest)
Constructor |
|
MessageLostMessage(int uid,
NodeHandle local,
Id id,
Message message,
NodeHandle hint)
Constructor which takes a unique integer Id and the local id |
|
PastMessage(int id,
NodeHandle source,
Id dest)
Constructor which takes a unique integer Id |
Uses of NodeHandle in rice.p2p.past.testing |
---|
Fields in rice.p2p.past.testing declared as NodeHandle | |
---|---|
protected NodeHandle |
PastRegrTest.TestPastContentHandle.handle
|
Methods in rice.p2p.past.testing that return NodeHandle | |
---|---|
NodeHandle |
PastRegrTest.TestRouteMessage.getNextHopHandle()
|
NodeHandle |
PastRegrTest.TestPastContentHandle.getNodeHandle()
|
Methods in rice.p2p.past.testing with parameters of type NodeHandle | |
---|---|
void |
PastRegrTest.TestRouteMessage.setNextHopHandle(NodeHandle nextHop)
|
Constructors in rice.p2p.past.testing with parameters of type NodeHandle | |
---|---|
PastRegrTest.TestRouteMessage(Id id,
NodeHandle nextHop,
Message message)
|
Uses of NodeHandle in rice.p2p.replication |
---|
Fields in rice.p2p.replication declared as NodeHandle | |
---|---|
protected NodeHandle |
ReplicationImpl.handle
the local node handle |
Methods in rice.p2p.replication with parameters of type NodeHandle | |
---|---|
void |
ReplicationClient.fetch(IdSet keySet,
NodeHandle hint)
This upcall is invoked to notify the application that is should fetch the cooresponding keys in this set, since the node is now responsible for these keys also. |
void |
ReplicationImpl.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Uses of NodeHandle in rice.p2p.replication.manager |
---|
Methods in rice.p2p.replication.manager with parameters of type NodeHandle | |
---|---|
void |
ReplicationManagerClient.fetch(Id id,
NodeHandle hint,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
void |
ReplicationManagerImpl.fetch(IdSet keySet,
NodeHandle hint)
This upcall is invoked to notify the application that is should fetch the cooresponding keys in this set, since the node is now responsible for these keys also. |
void |
ReplicationManagerImpl.ReplicationManagerHelper.fetch(IdSet keySet,
NodeHandle hint)
Method by which keys are added to the list of keys to fetch |
protected void |
ReplicationManagerImpl.informClient(Id id,
NodeHandle hint)
Internal method which informs the client of the next id to fetch |
void |
ReplicationManagerImpl.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Uses of NodeHandle in rice.p2p.replication.manager.testing |
---|
Methods in rice.p2p.replication.manager.testing with parameters of type NodeHandle | |
---|---|
void |
ReplicationManagerRegrTest.TestReplicationManagerClient.fetch(Id id,
NodeHandle hint,
Continuation command)
|
Uses of NodeHandle in rice.p2p.replication.messaging |
---|
Fields in rice.p2p.replication.messaging declared as NodeHandle | |
---|---|
protected NodeHandle |
ReplicationMessage.source
|
Methods in rice.p2p.replication.messaging that return NodeHandle | |
---|---|
NodeHandle |
ReplicationMessage.getSource()
Method which returns this messages' source address |
Constructors in rice.p2p.replication.messaging with parameters of type NodeHandle | |
---|---|
ReminderMessage(NodeHandle source)
Constructor which takes a unique integer Id |
|
ReplicationMessage(NodeHandle source)
Constructor which takes a unique integer Id |
|
RequestMessage(NodeHandle source,
IdRange[] ranges,
IdBloomFilter[] filters)
Constructor which takes a unique integer Id |
|
ResponseMessage(NodeHandle source,
IdRange[] ranges,
IdSet[] ids)
Constructor which takes a unique integer Id |
Uses of NodeHandle in rice.p2p.replication.testing |
---|
Methods in rice.p2p.replication.testing with parameters of type NodeHandle | |
---|---|
void |
ReplicationRegrTest.TestReplicationClient.fetch(IdSet keySet,
NodeHandle hint)
This upcall is invoked to notify the application that is should fetch the cooresponding keys in this set, since the node is now responsible for these keys also. |
Uses of NodeHandle in rice.p2p.scribe |
---|
Fields in rice.p2p.scribe declared as NodeHandle | |
---|---|
protected NodeHandle |
ScribeImpl.handle
the local node handle |
protected NodeHandle |
ScribeImpl.TopicManager.parent
DESCRIBE THE FIELD |
Methods in rice.p2p.scribe that return NodeHandle | |
---|---|
NodeHandle[] |
ScribeImpl.TopicManager.getChildren()
Gets the Children attribute of the TopicManager object |
NodeHandle[] |
Scribe.getChildren(Topic topic)
Returns the list of children for a given topic |
NodeHandle[] |
ScribeImpl.getChildren(Topic topic)
Returns the list of children for a given topic |
NodeHandle |
ScribeImpl.TopicManager.getParent()
Gets the Parent attribute of the TopicManager object |
NodeHandle |
Scribe.getParent(Topic myTopic)
Returns the parent node for a given topic |
NodeHandle |
ScribeImpl.getParent(Topic topic)
Returns the parent for a given topic |
Methods in rice.p2p.scribe with parameters of type NodeHandle | |
---|---|
void |
ScribeImpl.TopicManager.addChild(NodeHandle child)
Adds a feature to the Child attribute of the TopicManager object |
void |
Scribe.addChild(Topic topic,
NodeHandle child)
Adds a child to the given topic |
void |
ScribeImpl.addChild(Topic topic,
NodeHandle child)
Adds a child to the given topic |
protected void |
ScribeImpl.addChild(Topic topic,
NodeHandle child,
int id)
Adds a child to the given topic, using the specified sequence number in the ack message sent to the child. |
boolean |
ScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method is called when the newChild is about to become our child, and the policy should return whether or not the child should be allowed to become our child. |
boolean |
ScribePolicy.DefaultScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method always return true; |
boolean |
ScribePolicy.LimitedScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method returns (children.length < maxChildren-1); |
void |
ScribeClient.childAdded(Topic topic,
NodeHandle child)
Informs this client that a child was added to a topic in which it was interested in. |
void |
ScribePolicy.childAdded(Topic topic,
NodeHandle child)
Informs this policy that a child was added to a topic - the topic is free to ignore this upcall if it doesn't care. |
void |
ScribePolicy.DefaultScribePolicy.childAdded(Topic topic,
NodeHandle child)
Informs this policy that a child was added to a topic - the topic is free to ignore this upcall if it doesn't care. |
void |
ScribeClient.childRemoved(Topic topic,
NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
void |
ScribePolicy.childRemoved(Topic topic,
NodeHandle child)
Informs this policy that a child was removed from a topic - the topic is free to ignore this upcall if it doesn't care. |
void |
ScribePolicy.DefaultScribePolicy.childRemoved(Topic topic,
NodeHandle child)
Informs this policy that a child was removed from a topic - the topic is free to ignore this upcall if it doesn't care. |
void |
ScribePolicy.directAnycast(AnycastMessage message,
NodeHandle parent,
NodeHandle[] children)
This method is called when an anycast is received which is not satisfied at the local node. |
void |
ScribePolicy.directAnycast(AnycastMessage message,
NodeHandle parent,
NodeHandle[] children)
This method is called when an anycast is received which is not satisfied at the local node. |
void |
ScribePolicy.DefaultScribePolicy.directAnycast(AnycastMessage message,
NodeHandle parent,
NodeHandle[] children)
Simply adds the parent and children in order, which implements a depth-first-search. |
void |
ScribePolicy.DefaultScribePolicy.directAnycast(AnycastMessage message,
NodeHandle parent,
NodeHandle[] children)
Simply adds the parent and children in order, which implements a depth-first-search. |
boolean |
ScribeImpl.TopicManager.removeChild(NodeHandle child)
DESCRIBE THE METHOD |
void |
Scribe.removeChild(Topic topic,
NodeHandle child)
Removes a child from the given topic |
void |
ScribeImpl.removeChild(Topic topic,
NodeHandle child)
Removes a child from the given topic |
protected void |
ScribeImpl.removeChild(Topic topic,
NodeHandle child,
boolean sendDrop)
Removes a child from the given topic |
void |
ScribeImpl.TopicManager.setParent(NodeHandle handle)
Sets the Parent attribute of the TopicManager object |
void |
ScribeImpl.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Constructors in rice.p2p.scribe with parameters of type NodeHandle | |
---|---|
ScribeImpl.TopicManager(Topic topic,
NodeHandle child)
Constructor for TopicManager. |
Uses of NodeHandle in rice.p2p.scribe.messaging |
---|
Fields in rice.p2p.scribe.messaging declared as NodeHandle | |
---|---|
protected NodeHandle |
ScribeMessage.source
|
protected NodeHandle |
SubscribeMessage.subscriber
The original subscriber |
Methods in rice.p2p.scribe.messaging that return NodeHandle | |
---|---|
NodeHandle |
AnycastMessage.getNext()
Returns the next handle to visit and removes the node from the list. |
NodeHandle |
ScribeMessage.getSource()
Method which returns this messages' source address |
NodeHandle |
SubscribeMessage.getSubscriber()
Returns the node who is trying to subscribe |
NodeHandle |
AnycastMessage.peekNext()
Returns the next handle to visit |
Methods in rice.p2p.scribe.messaging with parameters of type NodeHandle | |
---|---|
void |
AnycastMessage.addFirst(NodeHandle handle)
Adds a node the the front of the to-visit list |
void |
AnycastMessage.addLast(NodeHandle handle)
Adds a node the the end of the to-visit list |
void |
AnycastMessage.addVisited(NodeHandle handle)
Adds a node to the visited list |
void |
AnycastMessage.remove(NodeHandle handle)
Removes the node handle from the to visit and visited lists |
void |
ScribeMessage.setSource(NodeHandle source)
Method which set this messages' source address |
Constructors in rice.p2p.scribe.messaging with parameters of type NodeHandle | |
---|---|
AbstractSubscribeMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
AnycastMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
DropMessage(NodeHandle source,
Topic topic)
Constructor which takes a unique integer Id |
|
PublishMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
PublishRequestMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
ScribeMessage(NodeHandle source,
Topic topic)
Constructor which takes a unique integer Id |
|
SubscribeAckMessage(NodeHandle source,
Topic topic,
Id[] pathToRoot,
int id)
Constructor which takes a unique integer Id |
|
SubscribeFailedMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
SubscribeLostMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
SubscribeMessage(NodeHandle source,
Topic topic,
Id previousParent,
int id,
ScribeContent content)
Constructor which takes a unique integer Id |
|
SubscribeMessage(NodeHandle source,
Topic topic,
int id,
ScribeContent content)
Constructor which takes a unique integer Id |
|
UnsubscribeMessage(NodeHandle source,
Topic topic)
Constructor which takes a unique integer Id |
Uses of NodeHandle in rice.p2p.scribe.testing |
---|
Methods in rice.p2p.scribe.testing that return NodeHandle | |
---|---|
NodeHandle |
ScribeRegrTest.TestRouteMessage.getNextHopHandle()
Gets the NextHopHandle attribute of the TestRouteMessage object |
Methods in rice.p2p.scribe.testing with parameters of type NodeHandle | |
---|---|
boolean |
ScribeRegrTest.TestScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
|
void |
ScribeRegrTest.TestScribeClient.childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeRegrTest.TestScribeClient.childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeRegrTest.TestRouteMessage.setNextHopHandle(NodeHandle nextHop)
Sets the NextHopHandle attribute of the TestRouteMessage object |
Constructors in rice.p2p.scribe.testing with parameters of type NodeHandle | |
---|---|
ScribeRegrTest.TestRouteMessage(Id id,
NodeHandle nextHop,
Message message)
Constructor for TestRouteMessage. |
Uses of NodeHandle in rice.pastry |
---|
Subclasses of NodeHandle in rice.pastry | |
---|---|
class |
NodeHandle
Interface for handles to remote nodes. |
Methods in rice.pastry that return NodeHandle | |
---|---|
NodeHandle |
NodeSet.getHandle(Id id)
Finds the NodeHandle associated with the NodeId. |
NodeHandle |
NodeSet.getHandle(int i)
Gets the ith element in the set. |
NodeHandle |
PastryNode.getLocalNodeHandle()
|
NodeHandle |
NodeSet.removeHandle(Id id)
Removes a node id and its handle from the set. |
Methods in rice.pastry with parameters of type NodeHandle | |
---|---|
boolean |
NodeSet.putHandle(NodeHandle handle)
Puts a NodeHandle into the set. |
Uses of NodeHandle in rice.pastry.commonapi |
---|
Methods in rice.pastry.commonapi that return NodeHandle | |
---|---|
NodeHandle |
PastryEndpoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
Methods in rice.pastry.commonapi with parameters of type NodeHandle | |
---|---|
boolean |
PastryEndpoint.enrouteMessage(Message msg,
Id key,
NodeHandle nextHop,
SendOptions opt)
|
IdRange |
PastryEndpoint.range(NodeHandle n,
int r,
Id key)
This method provides information about ranges of keys for which the node n is currently a r-root. |
IdRange |
PastryEndpoint.range(NodeHandle n,
int r,
Id key,
boolean cumulative)
This method provides information about ranges of keys for which the node n is currently a r-root. |
NodeHandleSet |
PastryEndpoint.replicaSet(Id id,
int maxRank,
NodeHandle root,
NodeHandleSet set)
This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored. |
void |
PastryEndpoint.route(Id key,
Message msg,
NodeHandle hint)
This operation forwards a message towards the root of key. |
Uses of NodeHandle in rice.pastry.direct |
---|
Subclasses of NodeHandle in rice.pastry.direct | |
---|---|
class |
DirectNodeHandle
the node handle used with the direct network |
Uses of NodeHandle in rice.pastry.dist |
---|
Subclasses of NodeHandle in rice.pastry.dist | |
---|---|
class |
DistNodeHandle
Abstract class for handles to "real" remote nodes. |
Uses of NodeHandle in rice.pastry.leafset |
---|
Fields in rice.pastry.leafset declared as NodeHandle | |
---|---|
NodeHandle |
RangeCannotBeDeterminedException.nh
|
Methods in rice.pastry.leafset that return NodeHandle | |
---|---|
NodeHandle |
SimilarSet.getHandle(Id id)
Finds the NodeHandle associated with the NodeId. |
NodeHandle |
SimilarSet.getHandle(int i)
Gets the ith element in the set. |
NodeHandle |
SimilarSet.removeHandle(Id id)
Removes a node id and its handle from the set. |
Methods in rice.pastry.leafset with parameters of type NodeHandle | |
---|---|
boolean |
SimilarSet.putHandle(NodeHandle handle)
Puts a NodeHandle into the set. |
Constructors in rice.pastry.leafset with parameters of type NodeHandle | |
---|---|
RangeCannotBeDeterminedException(java.lang.String string,
int r,
int pos,
int uniqueNodes,
NodeHandle nh,
LeafSet ls)
|
Uses of NodeHandle in rice.pastry.routing |
---|
Methods in rice.pastry.routing that return NodeHandle | |
---|---|
NodeHandle |
RouteSet.getHandle(Id id)
Finds the NodeHandle associated with the NodeId. |
NodeHandle |
RouteSet.getHandle(int i)
Gets the ith element in the set. |
NodeHandle |
RouteMessage.getNextHopHandle()
|
NodeHandle |
RouteSet.removeHandle(Id id)
Removes a node id and its handle from the set. |
Methods in rice.pastry.routing with parameters of type NodeHandle | |
---|---|
boolean |
RouteSet.putHandle(NodeHandle handle)
Puts a NodeHandle into the set. |
void |
RouteMessage.setNextHopHandle(NodeHandle nextHop)
|
Uses of NodeHandle in rice.pastry.socket |
---|
Subclasses of NodeHandle in rice.pastry.socket | |
---|---|
class |
SocketNodeHandle
Class which represents the address and nodeId of a remote node. |
Uses of NodeHandle in rice.pastry.testing |
---|
Subclasses of NodeHandle in rice.pastry.testing | |
---|---|
static class |
LeafSetTest.TestNodeHandle
|
Uses of NodeHandle in rice.post |
---|
Methods in rice.post with parameters of type NodeHandle | |
---|---|
void |
PostImpl.childAdded(Topic topic,
NodeHandle child)
Informs this client that a child was added to a topic in which it was interested in. |
void |
PostImpl.childRemoved(Topic topic,
NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
void |
Post.sendNotificationDirect(NodeHandle handle,
NotificationMessage message,
Continuation command)
Sends a notification message with destination specified by the members of the NotificationMessage. |
void |
PostImpl.sendNotificationDirect(NodeHandle handle,
NotificationMessage message,
Continuation command)
Sends a notification message with destination specified by the members of the NotificationMessage. |
void |
PostImpl.update(NodeHandle handle,
boolean joined)
This method is invoked to inform the application that the given node has either joined or left the neighbor set of the local node, as the set would be returned by the neighborSet call. |
Uses of NodeHandle in rice.post.delivery |
---|
Fields in rice.post.delivery declared as NodeHandle | |
---|---|
protected NodeHandle |
Delivery.DeliveryHandle.handle
|
Methods in rice.post.delivery that return NodeHandle | |
---|---|
NodeHandle |
Delivery.DeliveryHandle.getNodeHandle()
get the NodeHandle of the Past node on which the object associated with this handle is stored |
Methods in rice.post.delivery with parameters of type NodeHandle | |
---|---|
void |
DeliveryService.childAdded(Topic topic,
NodeHandle child)
Informs this client that a child was added to a topic in which it was interested in. |
void |
DeliveryService.childRemoved(Topic topic,
NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
void |
DeliveryPastImpl.fetch(Id id,
NodeHandle hint,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
Constructors in rice.post.delivery with parameters of type NodeHandle | |
---|---|
Delivery.DeliveryHandle(Id id,
NodeHandle handle,
long expiration)
Constructor |
Uses of NodeHandle in rice.post.messaging |
---|
Methods in rice.post.messaging that return NodeHandle | |
---|---|
NodeHandle |
PresenceMessage.getHandle()
Gets the handle to this user. |
NodeHandle |
DeliveryLookupMessage.getSource()
Gets the source of this DLM |
Constructors in rice.post.messaging with parameters of type NodeHandle | |
---|---|
DeliveryLookupMessage(PostEntityAddress sender,
NodeHandle source,
Id id)
Constructs a DeliveryLookupMessage |
|
PresenceMessage(PostEntityAddress sender,
NodeHandle handle)
Constructs a PresenceMessage |
Uses of NodeHandle in rice.post.storage |
---|
Methods in rice.post.storage with parameters of type NodeHandle | |
---|---|
void |
PostPastPolicy.fetch(Id id,
NodeHandle hint,
Cache backup,
Past past,
Continuation command)
This method fetches the object via a lookup() call. |
Uses of NodeHandle in rice.tutorial.lesson3 |
---|
Methods in rice.tutorial.lesson3 with parameters of type NodeHandle | |
---|---|
void |
MyApp.routeMyMsgDirect(NodeHandle nh)
Called to directly send a message to the nh |
void |
MyApp.update(NodeHandle handle,
boolean joined)
Called when you hear about a new neighbor. |
Uses of NodeHandle in rice.tutorial.lesson4 |
---|
Methods in rice.tutorial.lesson4 with parameters of type NodeHandle | |
---|---|
void |
MyApp.routeMyMsgDirect(NodeHandle nh)
Called to directly send a message to the nh |
void |
MyApp.update(NodeHandle handle,
boolean joined)
Called when you hear about a new neighbor. |
Uses of NodeHandle in rice.tutorial.lesson5 |
---|
Methods in rice.tutorial.lesson5 with parameters of type NodeHandle | |
---|---|
void |
MyApp.routeMyMsgDirect(NodeHandle nh)
Called to directly send a message to the nh |
void |
MyApp.update(NodeHandle handle,
boolean joined)
Called when you hear about a new neighbor. |
Uses of NodeHandle in rice.tutorial.lesson6 |
---|
Methods in rice.tutorial.lesson6 that return NodeHandle | |
---|---|
NodeHandle[] |
MyScribeClient.getChildren()
|
NodeHandle |
MyScribeClient.getParent()
|
static NodeHandle |
ScribeTutorial.getRoot(NodeHandle seed,
java.util.Hashtable appTable)
Recursively crawl up the tree to find the root. |
Methods in rice.tutorial.lesson6 with parameters of type NodeHandle | |
---|---|
void |
MyScribeClient.childAdded(Topic topic,
NodeHandle child)
|
void |
MyScribeClient.childRemoved(Topic topic,
NodeHandle child)
|
static NodeHandle |
ScribeTutorial.getRoot(NodeHandle seed,
java.util.Hashtable appTable)
Recursively crawl up the tree to find the root. |
static void |
ScribeTutorial.recursivelyPrintChildren(NodeHandle curNode,
int recursionDepth,
java.util.Hashtable appTable)
Print's self, then children. |
void |
MyScribeClient.update(NodeHandle handle,
boolean joined)
|
Constructors in rice.tutorial.lesson6 with parameters of type NodeHandle | |
---|---|
MyScribeContent(NodeHandle from,
int seq)
Simple constructor. |
|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |