|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NodeHandle in planet.chord |
Fields in planet.chord declared as NodeHandle | |
protected NodeHandle[] |
ChordNode.finger
|
protected NodeHandle |
ChordNode.predecessor
|
protected NodeHandle[] |
ChordNode.temp
|
Methods in planet.chord that return NodeHandle | |
NodeHandle |
ChordNode.getPred()
Returns the NodeHandle of the present identification of the precursor of the node |
NodeHandle |
ChordNode.getSucc()
Returns the NodeHandle of the present identification of the successor of the node |
protected NodeHandle |
ChordNode.find_successor(NodeHandle handle)
Finds the successor of a node. |
protected NodeHandle |
ChordNode.find_predecessor(NodeHandle handle)
Finds the predecessor of a node. |
protected NodeHandle |
ChordNode.closest_preceding_finger(Id id)
Finds the closest preceding finger of a node |
protected NodeHandle |
ChordNode.find_successor(int pos)
Finds the successor of a node. |
protected NodeHandle |
ChordNode.find_predecessor(int pos)
Finds the predecessor of a node. |
NodeHandle |
ChordNode.getLocalHandle()
Return the local NodeHandle. |
Methods in planet.chord with parameters of type NodeHandle | |
protected static RouteMessage |
ChordNode.getDataMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
protected static RouteMessage |
ChordNode.getBroadcastMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
void |
ChordNode.setPred(NodeHandle handle)
Sets the predecessor node |
void |
ChordNode.setSucc(NodeHandle handle)
Sets the successor node |
protected void |
ChordNode.setFinger(int pos,
NodeHandle handle)
Sets a especific finger of the finger table |
protected NodeHandle |
ChordNode.find_successor(NodeHandle handle)
Finds the successor of a node. |
protected NodeHandle |
ChordNode.find_predecessor(NodeHandle handle)
Finds the predecessor of a node. |
protected void |
ChordNode.notify(NodeHandle nh)
Verify if the indicated node is the true predecessor |
protected void |
ChordNode.sendData(RouteMessage message,
NodeHandle hint)
Send a message to destination node directly. |
protected void |
ChordNode.routingData(RouteMessage message,
NodeHandle nextHop)
Send a message to unknown destination node via routing. |
void |
ChordNode.routeData(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Sends a RouteMessage to the ring. |
void |
ChordNode.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Initiating a Broadcast Message |
boolean |
ChordNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
Uses of NodeHandle in planet.chord.message |
Methods in planet.chord.message that return NodeHandle | |
NodeHandle |
NodeMessage.getNode()
|
NodeHandle |
BroadcastMessage.getLimit()
|
Methods in planet.chord.message with parameters of type NodeHandle | |
void |
NodeMessage.setNode(NodeHandle handle)
|
void |
BroadcastMessage.setLimit(NodeHandle limit)
|
Constructors in planet.chord.message with parameters of type NodeHandle | |
NodeMessage(NodeHandle handle)
Shows the NodeHandle to send with this message. |
|
BroadcastMessage(Message info,
NodeHandle limit)
Shows the info to be send on the broadcast, and the limit up to permits to resend this message. |
Uses of NodeHandle in planet.commonapi |
Methods in planet.commonapi that return NodeHandle | |
NodeHandle |
RouteMessage.getDestination()
Returns the destination NodeHandle for this message |
NodeHandle |
RouteMessage.getSource()
Returns the source NodeHandle for this message |
NodeHandle |
RouteMessage.getNextHopHandle()
Returns the next hop handle for this message. |
NodeHandle |
Node.getLocalHandle()
Returns the NodeHandle for the actual Node. |
NodeHandle |
Node.getPred()
Returns the NodeHandle of the present predecessor of the node |
NodeHandle |
EndPoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
Methods in planet.commonapi with parameters of type NodeHandle | |
void |
RouteMessage.setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
void |
RouteMessage.setDestination(NodeHandle handle)
Sets the destination NodeHandle for this message |
void |
RouteMessage.setSource(NodeHandle handle)
Sets the source NodeHandle for this message |
void |
RouteMessage.setValues(java.lang.String appId,
NodeHandle to,
NodeHandle from,
NodeHandle nh,
Message msg,
java.lang.String key,
int type,
int mode)
Sets all values of the actual RouteMessage, before to be sent. |
void |
Node.routeData(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Receive's data of the application level and sends it through de network. |
void |
Node.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Initiating a Broadcast Message |
boolean |
Node.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
This operation provides information about ranges of keys for which the node is currently a root. |
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. |
boolean |
EndPoint.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightkey)
This operation provides information about ranges of keys for which the node is currently a root. |
void |
Application.update(NodeHandle node,
boolean joined)
Informs to the application that the node has either joined or left the neighbor set of the local node, as that set would be returned by the neighborSet call. |
Uses of NodeHandle in planet.commonapi.factory |
Methods in planet.commonapi.factory that return NodeHandle | |
NodeHandle |
NodeHandleFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
Uses of NodeHandle in planet.generic.commonapi |
Subclasses of NodeHandle in planet.generic.commonapi | |
class |
NodeHandleImpl
NodeHandle for node. |
Fields in planet.generic.commonapi declared as NodeHandle | |
protected NodeHandle |
RouteMessageImpl.nextHop
Next node to arrive |
protected NodeHandle |
RouteMessageImpl.destination
Destination Node Id who will receive this message. |
protected NodeHandle |
RouteMessageImpl.source
Source Node Id who sends this message. |
protected NodeHandle |
NodeImpl.nodeHandle
NodeHandle for the actual Node. |
protected NodeHandle |
NetworkNodeImpl.nodeHandle
NodeHandle for the actual Node. |
Methods in planet.generic.commonapi that return NodeHandle | |
NodeHandle |
RouteMessageImpl.getDestination()
Get the destination node's NodeHandle. |
NodeHandle |
RouteMessageImpl.getNextHopHandle()
Get next node's NodeHandle to send this message. |
NodeHandle |
RouteMessageImpl.getSource()
Gets de source Node NodeHandle of the message |
NodeHandle |
NodeImpl.getLocalHandle()
Returns the local NodeHandle |
NodeHandle |
NetworkNodeImpl.getLocalHandle()
Returns the local NodeHandle |
NodeHandle |
EndPointImpl.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
Methods in planet.generic.commonapi with parameters of type NodeHandle | |
void |
RouteMessageImpl.setDestination(NodeHandle handle)
Sets the destination's NodeHandle. |
void |
RouteMessageImpl.setNextHopHandle(NodeHandle nextHop)
Sets the next node's Id to send immediately this message. |
void |
RouteMessageImpl.setSource(NodeHandle handle)
Sets the source Node NodeHandle who sends this message. |
void |
RouteMessageImpl.setValues(java.lang.String appId,
NodeHandle to,
NodeHandle from,
NodeHandle nh,
Message msg,
java.lang.String key,
int type,
int mode)
Sets all values of the actual RouteMessage, before to be sent. |
void |
EndPointImpl.route(Id id,
Message message,
NodeHandle hint)
This method makes an attempt to route the message to the root of the given id. |
boolean |
EndPointImpl.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
Constructors in planet.generic.commonapi with parameters of type NodeHandle | |
RouteMessageImpl(java.lang.String appId,
NodeHandle source,
NodeHandle destination,
Message data,
NodeHandle nextHop)
Constructor who initialize all data. |
|
RouteMessageImpl(java.lang.String appId,
NodeHandle to,
NodeHandle from,
NodeHandle nh,
Message msg,
java.lang.String key,
int type,
int mode)
Sets all values of the actual RouteMessage, before to be sent. |
Uses of NodeHandle in planet.generic.commonapi.factory |
Methods in planet.generic.commonapi.factory that return NodeHandle | |
NodeHandle |
NodeHandleFactoryImpl.buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag. |
static NodeHandle |
GenericFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a new NodeHandle for specifieds Node Id and alive flag. |
Uses of NodeHandle in planet.scribe |
Fields in planet.scribe declared as NodeHandle | |
protected NodeHandle |
ScribeImpl.handle
the local node handle |
protected NodeHandle |
ScribeImpl.TopicManager.parent
DESCRIBE THE FIELD |
Methods in planet.scribe that return NodeHandle | |
NodeHandle[] |
ScribeImpl.getChildren(Topic topic)
Returns the list of children for a given topic |
NodeHandle |
ScribeImpl.getParent(Topic topic)
Returns the parent for a given topic |
NodeHandle |
ScribeImpl.TopicManager.getParent()
Gets the Parent attribute of the TopicManager object |
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 |
Methods in planet.scribe with parameters of type NodeHandle | |
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. |
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. |
boolean |
ScribePolicy.DefaultScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method always return true; |
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 |
ScribePolicy.LimitedScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method returns (children.length < maxChildren-1); |
void |
ScribeImpl.addChild(Topic topic,
NodeHandle child)
Adds a child to 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.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. |
void |
ScribeImpl.TopicManager.setParent(NodeHandle handle)
Sets the Parent attribute of the TopicManager object |
void |
ScribeImpl.TopicManager.addChild(NodeHandle child)
Adds a feature to the Child attribute of the TopicManager object |
boolean |
ScribeImpl.TopicManager.removeChild(NodeHandle child)
DESCRIBE THE METHOD |
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 |
ScribeClient.childRemoved(Topic topic,
NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
void |
Scribe.addChild(Topic topic,
NodeHandle child)
Adds a child to the given topic |
void |
Scribe.removeChild(Topic topic,
NodeHandle child)
Removes a child from the given topic |
Constructors in planet.scribe with parameters of type NodeHandle | |
ScribeImpl.TopicManager(Topic topic,
NodeHandle child)
Constructor for TopicManager. |
Uses of NodeHandle in planet.scribe.messaging |
Fields in planet.scribe.messaging declared as NodeHandle | |
protected NodeHandle |
SubscribeMessage.subscriber
The original subscriber |
protected NodeHandle |
ScribeMessage.source
|
Methods in planet.scribe.messaging that return NodeHandle | |
NodeHandle |
SubscribeMessage.getSubscriber()
Returns the node who is trying to subscribe |
NodeHandle |
ScribeMessage.getSource()
Method which returns this messages' source address |
NodeHandle |
AnycastMessage.peekNext()
Returns the next handle to visit |
NodeHandle |
AnycastMessage.getNext()
Returns the next handle to visit and removes the node from the list. |
Methods in planet.scribe.messaging with parameters of type NodeHandle | |
void |
ScribeMessage.setSource(NodeHandle source)
Method which set this messages' source address |
void |
AnycastMessage.addVisited(NodeHandle handle)
Adds a node to the visited list |
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.remove(NodeHandle handle)
Removes the node handle from the to visit and visited lists |
Constructors in planet.scribe.messaging with parameters of type NodeHandle | |
UnsubscribeMessage(NodeHandle source,
Topic topic)
Constructor which takes a unique integer Id |
|
SubscribeMessage(NodeHandle source,
Topic topic,
int id,
ScribeContent content)
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 |
|
SubscribeLostMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
SubscribeFailedMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
SubscribeAckMessage(NodeHandle source,
Topic topic,
Id[] pathToRoot,
int id)
Constructor which takes a unique integer Id |
|
ScribeMessage(NodeHandle source,
Topic topic)
Constructor which takes a unique integer Id |
|
PublishRequestMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
PublishMessage(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 |
|
AnycastMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
AbstractSubscribeMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
Uses of NodeHandle in planet.simulate |
Methods in planet.simulate with parameters of type NodeHandle | |
static RouteMessage |
MessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
Return a RouteMessage with the specified values. |
static RouteMessage |
MessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg,
int type,
int mode,
java.lang.String appId)
Builds a new instance of RouteMessage with all specified values. |
Uses of NodeHandle in planet.symphony |
Methods in planet.symphony that return NodeHandle | |
NodeHandle |
SymphonyNode.getPred()
|
Methods in planet.symphony with parameters of type NodeHandle | |
void |
SymphonyNode.routeData(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
|
void |
SymphonyNode.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
|
boolean |
SymphonyNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
Uses of NodeHandle in planet.symphony.messages |
Methods in planet.symphony.messages that return NodeHandle | |
NodeHandle |
NewSuccInListMessage.getNewNode()
|
NodeHandle |
JoinMessage.getNewNode()
|
NodeHandle |
JoinMessage.getBootStrap()
|
Methods in planet.symphony.messages with parameters of type NodeHandle | |
void |
NewSuccInListMessage.setNewNodeId(NodeHandle newNode)
|
void |
JoinMessage.setNewNode(NodeHandle newNode)
|
void |
JoinMessage.setBootStrap(NodeHandle bootStrap)
|
Constructors in planet.symphony.messages with parameters of type NodeHandle | |
NewSuccInListMessage(NodeHandle newNode,
int F)
|
|
JoinMessage(NodeHandle newNode,
NodeHandle bootStrap)
|
Uses of NodeHandle in planet.test.broadcast |
Methods in planet.test.broadcast with parameters of type NodeHandle | |
void |
DHTApplication.update(NodeHandle node,
boolean joined)
Shows that the node has been joinded or not to the network. |
Uses of NodeHandle in planet.test.dht |
Methods in planet.test.dht with parameters of type NodeHandle | |
void |
ChordDHTApplication.update(NodeHandle node,
boolean joined)
Shows that the node has been joinded or not to the network. |
Uses of NodeHandle in planet.test.scribe |
Methods in planet.test.scribe with parameters of type NodeHandle | |
void |
ScribeClientTest.childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeClientTest.childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeApplication.childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeApplication.childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
Uses of NodeHandle in planet.test.simpledht |
Methods in planet.test.simpledht with parameters of type NodeHandle | |
void |
DHTApplication.update(NodeHandle node,
boolean joined)
Shows that the node has been joinded or not to the network. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |