|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NodeHandle in planet.chord |
---|
Fields in planet.chord declared as NodeHandle | |
---|---|
NodeHandle[] |
ChordNode.finger
|
protected NodeHandle |
ChordNode.predecessor
|
protected NodeHandle[] |
ChordNode.temp
|
Methods in planet.chord that return NodeHandle | |
---|---|
protected NodeHandle |
ChordNode.closest_preceding_finger(Id id)
Finds the closest preceding finger of a node |
protected NodeHandle |
ChordNode.find_predecessor(int pos)
Finds the predecessor of a node. |
protected NodeHandle |
ChordNode.find_predecessor(NodeHandle handle)
Finds the predecessor of a node. |
protected NodeHandle |
ChordNode.find_successor(int pos)
Finds the successor of a node. |
protected NodeHandle |
ChordNode.find_successor(NodeHandle handle)
Finds the successor of a node. |
NodeHandle |
ChordNode.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
NodeHandle |
ChordNode.getLocalHandle()
Return the local 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 |
Methods in planet.chord with parameters of type NodeHandle | |
---|---|
void |
ChordNode.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Initiating a Broadcast Message |
protected NodeHandle |
ChordNode.find_predecessor(NodeHandle handle)
Finds the predecessor of a node. |
protected NodeHandle |
ChordNode.find_successor(NodeHandle handle)
Finds the successor of a node. |
static RouteMessage |
ChordNode.getBroadcastMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
static RouteMessage |
ChordNode.getDataMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
protected void |
ChordNode.notify(NodeHandle nh)
Verify if the indicated node is the true predecessor |
boolean |
ChordNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
void |
ChordNode.routeData(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Sends a RouteMessage to the ring. |
protected void |
ChordNode.routingData(RouteMessage message,
NodeHandle nextHop)
Send a message to unknown destination node via routing. |
protected void |
ChordNode.sendData(RouteMessage message,
NodeHandle hint)
Send a message to destination node directly. |
protected void |
ChordNode.setFinger(int pos,
NodeHandle handle)
Sets a especific finger of the finger table |
void |
ChordNode.setPred(NodeHandle handle)
Sets the predecessor node |
void |
ChordNode.setSucc(NodeHandle handle)
Sets the successor node |
Uses of NodeHandle in planet.chord.message |
---|
Methods in planet.chord.message that return NodeHandle | |
---|---|
NodeHandle |
BroadcastMessage.getLimit()
|
NodeHandle |
NodeMessage.getNode()
|
Methods in planet.chord.message with parameters of type NodeHandle | |
---|---|
void |
BroadcastMessage.setLimit(NodeHandle limit)
|
void |
NodeMessage.setNode(NodeHandle handle)
|
Constructors in planet.chord.message with parameters of type NodeHandle | |
---|---|
BroadcastMessage(Message info,
NodeHandle limit)
Shows the info to be send on the broadcast, and the limit up to permits to resend this message. |
|
NodeMessage(NodeHandle handle)
Shows the NodeHandle to send with this message. |
Uses of NodeHandle in planet.commonapi |
---|
Methods in planet.commonapi that return NodeHandle | |
---|---|
NodeHandle |
Node.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
NodeHandle |
RouteMessage.getDestination()
Returns the destination NodeHandle for this message |
NodeHandle |
Node.getLocalHandle()
Returns the NodeHandle for the actual Node. |
NodeHandle |
EndPoint.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
NodeHandle |
RouteMessage.getNextHopHandle()
Returns the next hop handle for this message. |
NodeHandle |
Node.getPred()
Returns the NodeHandle of the present predecessor of the node |
NodeHandle |
RouteMessage.getPreviousHopHandle()
Gets the previous hop handle for this message. |
NodeHandle |
RouteMessage.getSource()
Returns the source NodeHandle for this message |
NodeHandle |
Node.getSucc()
Returns the NodeHandle of the present successor of the node |
Methods in planet.commonapi with parameters of type NodeHandle | |
---|---|
void |
Node.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Initiating a Broadcast Message |
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. |
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. |
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 |
RouteMessage.setDestination(NodeHandle handle)
Sets the destination NodeHandle for this message |
void |
RouteMessage.setNewNodeAlongRoute(NodeHandle node)
Adds a new node along the current path. |
void |
RouteMessage.setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
void |
RouteMessage.setPreviousHopHandle(NodeHandle previousHop)
Sets the previous hop handle 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 |
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.destination
Destination Node Id who will receive this message. |
protected NodeHandle |
RouteMessageImpl.nextHop
Next node to arrive |
protected NodeHandle |
NetworkNodeImpl.nodeHandle
NodeHandle for the actual Node. |
protected NodeHandle |
NodeImpl.nodeHandle
NodeHandle for the actual Node. |
protected NodeHandle |
RouteMessageImpl.previousHop
Previous node on path to current node. |
protected NodeHandle |
RouteMessageImpl.source
Source Node Id who sends this message. |
Methods in planet.generic.commonapi that return NodeHandle | |
---|---|
abstract NodeHandle |
NodeImpl.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
NodeHandle |
RouteMessageImpl.getDestination()
Get the destination node's NodeHandle. |
NodeHandle |
NetworkNodeImpl.getLocalHandle()
Returns the local NodeHandle |
NodeHandle |
NodeImpl.getLocalHandle()
Returns the local NodeHandle |
NodeHandle |
EndPointImpl.getLocalNodeHandle()
Returns a handle to the local node below this endpoint. |
NodeHandle |
RouteMessageImpl.getNextHopHandle()
Get next node's NodeHandle to send this message. |
NodeHandle |
RouteMessageImpl.getPreviousHopHandle()
Gets the previous hop handle for this message. |
NodeHandle |
RouteMessageImpl.getSource()
Gets de source Node NodeHandle of the message |
Methods in planet.generic.commonapi with parameters of type NodeHandle | |
---|---|
boolean |
EndPointImpl.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
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. |
void |
RouteMessageImpl.setDestination(NodeHandle handle)
Sets the destination's NodeHandle. |
void |
RouteMessageImpl.setNewNodeAlongRoute(NodeHandle node)
Adds a new node along the current path. |
void |
RouteMessageImpl.setNextHopHandle(NodeHandle nextHop)
Sets the next node's Id to send immediately this message. |
void |
RouteMessageImpl.setPreviousHopHandle(NodeHandle previousHop)
Sets the previous hop handle for 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. |
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 | |
---|---|
static NodeHandle |
GenericFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a new NodeHandle for specifieds Node Id and alive flag. |
NodeHandle |
NodeHandleFactoryImpl.buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds 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.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 |
ScribeImpl.getParent(Topic topic)
Returns the parent for a given topic |
Methods in planet.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 |
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 |
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.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 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 |
ScribeMessage.source
|
protected NodeHandle |
SubscribeMessage.subscriber
The original subscriber |
Methods in planet.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 planet.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 planet.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)
|
|
DropMessage(NodeHandle source,
Topic topic)
|
|
PublishMessage(NodeHandle source,
Topic topic,
ScribeContent content)
|
|
PublishRequestMessage(NodeHandle source,
Topic topic,
ScribeContent content)
|
|
ScribeMessage(NodeHandle source,
Topic topic)
|
|
SubscribeAckMessage(NodeHandle source,
Topic topic,
Id[] pathToRoot,
int id)
|
|
SubscribeFailedMessage(NodeHandle source,
Topic topic,
int id)
Constructor which takes a unique integer Id |
|
SubscribeLostMessage(NodeHandle source,
Topic topic,
int 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)
|
|
UnsubscribeMessage(NodeHandle source,
Topic topic)
|
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.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
NodeHandle |
SymphonyNode.getPred()
|
NodeHandle |
SymphonyNode.getSucc()
|
NodeHandle |
SymphonyNode.route(NodeHandle to)
|
Methods in planet.symphony with parameters of type NodeHandle | |
---|---|
void |
SymphonyNode.addToNeighbourSet(NodeHandle neighbour)
|
void |
SymphonyNode.broadcast(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
This method throws a NoSuchMethodError, because the broadcast algorithm is not implemented yet. |
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
int type,
int mode,
Message m)
|
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
int type,
int mode,
Message m,
java.lang.String key)
|
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message m)
|
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message m,
java.lang.String key)
|
boolean |
SymphonyNode.neighbourSetContains(NodeHandle o)
|
boolean |
SymphonyNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
This methods ALWAYS return false. |
boolean |
SymphonyNode.remove(NodeHandle o)
|
NodeHandle |
SymphonyNode.route(NodeHandle to)
|
void |
SymphonyNode.routeData(java.lang.String appId,
NodeHandle to,
NodeHandle nextHop,
Message msg)
|
Constructors in planet.symphony with parameters of type NodeHandle | |
---|---|
IdComparer(NodeHandle root)
|
Uses of NodeHandle in planet.symphony.messages |
---|
Methods in planet.symphony.messages that return NodeHandle | |
---|---|
NodeHandle |
JoinMessage.getBootStrap()
|
NodeHandle |
JoinMessage.getNewNode()
|
NodeHandle |
NewSuccInListMessage.getNewNode()
|
Methods in planet.symphony.messages with parameters of type NodeHandle | |
---|---|
void |
JoinMessage.setBootStrap(NodeHandle bootStrap)
|
void |
JoinMessage.setNewNode(NodeHandle newNode)
|
void |
NewSuccInListMessage.setNewNodeId(NodeHandle newNode)
|
Constructors in planet.symphony.messages with parameters of type NodeHandle | |
---|---|
JoinMessage(NodeHandle newNode,
NodeHandle bootStrap)
|
|
NewSuccInListMessage(NodeHandle newNode,
int F)
|
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 |
DHTApplication.update(NodeHandle node,
boolean joined)
Shows that the node has been joinded or not to the network. |
Uses of NodeHandle in planet.test.GML.GMLTopology |
---|
Methods in planet.test.GML.GMLTopology 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.helloworld |
---|
Methods in planet.test.helloworld 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.scribe |
---|
Methods in planet.test.scribe with parameters of type NodeHandle | |
---|---|
void |
ScribeApplication.childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeClientTest.childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeApplication.childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
ScribeClientTest.childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
Uses of NodeHandle in planet.test.symphonyDHT |
---|
Methods in planet.test.symphonyDHT with parameters of type NodeHandle | |
---|---|
void |
SymphonyDHTApplication.update(NodeHandle node,
boolean joined)
Shows that the node has been joinded or not to the network. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |