|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Id in planet.chord |
Subclasses of Id in planet.chord | |
class |
ChordId
Spedific Chord Id implementation. |
Fields in planet.chord declared as Id | |
protected static Id |
ChordId.MAX
Maximum value for the ChordId implementation. |
protected Id |
ChordNode.MAX
Maximum Id value with the current configuration. |
Id[] |
ChordNode.start
The starting indices for the finger table (as Finger[k].start). |
Id |
ChordNode.deux
|
Methods in planet.chord that return Id | |
Id |
ChordId.add(Id offset)
Returns an Id corresponding to this Id plus a given offset |
Id |
ChordId.subtractWithCarry(Id offset)
|
Id |
ChordId.subtract(Id offset)
|
Id |
ChordId.shift(int cnt,
int fill)
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2 |
Id |
ChordId.shift(int cnt,
int fill,
boolean roundUp)
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2 |
static Id |
ChordId.getMaximum()
This method returns the maximum value for a ChordId that is possible to build, according the number of bits for key actually in use. |
static Id |
ChordId.divide(int numberOfNodes)
Divides the maximum domain of the node Id in numberOfNodes, to offers the offset between two consecutive nodes. |
Id |
ChordId.divideOn(int divisor)
This method returns the arithmetical result of this division: thisId/divisor |
Id |
ChordId.setValues(java.math.BigInteger newValue)
Sets the internal int[] value from the BigInteger newValue. |
Id |
ChordId.setValues(byte[] newValue)
Sets the internal int[] value from the byte[] newValue. |
Id |
ChordId.setValues(double newValue)
Always throws a NoSuchMethodError. |
Id |
ChordId.setValues(int newValue)
Sets the newValue to the first position of the internal int[], and the rest of positions to zero. |
Id |
ChordId.setValues(int[] newValue)
Sets the internal value from the int[] newValue |
Id |
ChordId.setValues(java.util.Random valueGenerator)
Uses the valueGenerator to radomly build a new value. |
Id |
ChordId.setValues(java.lang.String newValue)
Copies the string representation of a number to the internal int[]. |
Methods in planet.chord with parameters of type Id | |
Id |
ChordId.add(Id offset)
Returns an Id corresponding to this Id plus a given offset |
Id |
ChordId.subtractWithCarry(Id offset)
|
Id |
ChordId.subtract(Id offset)
|
boolean |
ChordId.between(Id ccw,
Id cw)
|
boolean |
ChordId.clockwise(Id nid)
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring. |
protected NodeHandle |
ChordNode.closestPrecedingFinger(Id id)
Finds the closest preceding finger of a node |
java.util.Vector |
ChordNode.localLookup(Id key,
int max,
boolean safe)
Returns a list of nodes that can be used as next hops on a route towards key. |
int |
ChordNode.firstLocalLookup(Id key)
Detects de first position that key is in range of some position of finger table. |
boolean |
ChordNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
java.util.Vector |
ChordNode.replicaSet(Id key,
int maxRank)
|
NodeHandle |
ChordNode.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
Node |
ChordNode.setValues(Id newId)
Sets the new Id for this node. |
boolean |
GMLConstraintZmod.isACompliantNode(Id id)
|
Constructors in planet.chord with parameters of type Id | |
ChordNode.LookupListener(ChordNode node,
Id key)
|
Uses of Id in planet.chord.message |
Methods in planet.chord.message that return Id | |
Id |
IdMessage.getNode()
|
Methods in planet.chord.message with parameters of type Id | |
void |
IdMessage.setNode(Id id)
|
Constructors in planet.chord.message with parameters of type Id | |
IdMessage(Id id)
Shows the Id to send with this message. |
Uses of Id in planet.commonapi |
Methods in planet.commonapi that return Id | |
Id |
EndPoint.getId()
Returns this node's id, which is its identifier in the namespace. |
abstract Id |
Id.add(Id offset)
Returns an Id corresponding to this Id plus a given distance |
abstract Id |
Id.subtract(Id offset)
Returns an Id corresponding to this Id minus a given distance |
abstract Id |
Id.shift(int cnt,
int fill)
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2 |
static Id |
Id.getMaximum()
This method returns the maximum value for an Id that is possible to build. |
static Id |
Id.divide(int numberOfNodes)
Divides the maximum domain of the node Id in numberOfNodes, to offers the offset between two consecutive nodes. |
abstract Id |
Id.divideOn(int divisor)
This method returns the arithmetical result of this division: thisId/divisor |
abstract Id |
Id.setValues(int newValue)
Sets the new value for this Id, based on an integer value. |
abstract Id |
Id.setValues(double newValue)
Sets the new value for this Id, based on a double value. |
abstract Id |
Id.setValues(byte[] newValue)
Sets the new value for this Id, based on a byte[] value. |
abstract Id |
Id.setValues(int[] newValue)
Sets the new value for this Id, based on an int[] value. |
abstract Id |
Id.setValues(java.lang.String newValue)
Sets the new value for this Id, based on a String value. |
abstract Id |
Id.setValues(java.math.BigInteger newValue)
Sets the new value for this Id, based on a BigInteger value. |
abstract Id |
Id.setValues(java.util.Random valueGenerator)
Sets the new value for this Id, based on a randomly generated value. |
Id |
Id.setValues(java.lang.String material,
java.lang.String algorithm)
Sets the new value for this Id, based on a hashed value. |
Id |
Node.getId()
Returns the Id of this node |
abstract Id |
NodeHandle.getId()
Returns this node's id. |
Methods in planet.commonapi with parameters of type Id | |
void |
Application.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
void |
EndPoint.broadcast(Id id,
Message message)
Sends a broadcast message to all nodes in the network. |
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. |
java.util.Vector |
EndPoint.localLookup(Id key,
int max,
boolean safe)
Returns a list of nodes that can be used as next hops on a route towards key. |
java.util.Vector |
EndPoint.replicaSet(Id key,
int maxRank)
Returns an ordered set of nodes on which replicas of the object with this key can be stored. |
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. |
abstract boolean |
Id.between(Id ccw,
Id cw)
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle |
boolean |
Id.Ebetween(Id init,
Id end)
Checks if this Id is in interval [init,end) |
boolean |
Id.betweenE(Id init,
Id end)
Checks if this Id is in interval (init,end] |
abstract boolean |
Id.clockwise(Id nid)
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring. |
abstract Id |
Id.add(Id offset)
Returns an Id corresponding to this Id plus a given distance |
abstract Id |
Id.subtract(Id offset)
Returns an Id corresponding to this Id minus a given distance |
void |
Id.setValue(Id newValue)
Sets the new value with Id newValue. |
java.util.Vector |
Node.localLookup(Id key,
int max,
boolean safe)
Returns a list of nodes that can be used as next hops on a route towards key. |
java.util.Vector |
Node.replicaSet(Id key,
int maxRank)
Returns an ordered set of nodes on which replicas of the object with this key can be stored. |
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. |
NodeHandle |
Node.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
Node |
Node.setValues(Id newId)
Sets the new Id for this Node. |
abstract NodeHandle |
NodeHandle.setValues(Id newValue)
Sets the new Id for this NodeHandle, and the flag 'alive' to true. |
abstract NodeHandle |
NodeHandle.setValues(Id newValue,
boolean alive)
Sets the new Id for this NodeHandle, and the flag 'alive' to the specified value. |
Uses of Id in planet.commonapi.factory |
Methods in planet.commonapi.factory that return Id | |
Id |
IdFactory.buildId()
Builds an Id with the actual configuration of network topology and size. |
Id |
IdFactory.buildId(int material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(double material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(byte[] material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(int[] material)
Builds a protocol-specific Id given the source data as int[]. |
Id |
IdFactory.buildKey(java.lang.String materialToHash)
Builds a protocol-specific Id by using the given string as source data for a hash function (like SHA-1). |
Id |
IdFactory.buildId(java.lang.String material)
Generate an Id from the String as its internal value. |
Id |
IdFactory.buildId(java.math.BigInteger material)
Generate an Id from a BigInteger, that includes its internal value. |
Id |
IdFactory.buildId(java.lang.String material,
java.lang.String algorithm)
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5. |
Id |
IdFactory.buildRandomId()
Builds an uniformly distributed random Id. |
Methods in planet.commonapi.factory with parameters of type Id | |
Node |
NodeFactory.buildNode(Id id)
Builds a Node using the Id that appears in parameter, using the default Class for him. |
NodeHandle |
NodeHandleFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
Uses of Id in planet.commonapi.results |
Methods in planet.commonapi.results that return Id | |
Id |
ResultsEdge.getSource()
|
Id |
ResultsEdge.getTarget()
|
Methods in planet.commonapi.results with parameters of type Id | |
boolean |
ResultsConstraint.isACompliantNode(Id id)
This method returns true if a Node is compliant according to this Constraint. |
void |
ResultsEdge.setSource(Id source)
|
void |
ResultsEdge.setTarget(Id target)
|
ResultsEdge |
ResultsEdge.setValues(Id source,
Id target,
boolean isDirected,
java.lang.String fill)
Sets the values for this edge. |
ResultsEdge |
ResultsFactory.buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build an edge with the specified values. |
Uses of Id in planet.generic.commonapi |
Fields in planet.generic.commonapi declared as Id | |
protected Id |
NetworkNodeImpl.id
|
protected Id |
NodeImpl.id
|
Methods in planet.generic.commonapi that return Id | |
Id |
EndPointImpl.getId()
Returns the identification of the related Node |
Id |
NetworkNodeImpl.getId()
Returns the id of the node * |
Id |
NodeHandleImpl.getId()
Gets the Id of the related node |
Id |
NodeImpl.getId()
Returns the id of the node * |
Methods in planet.generic.commonapi with parameters of type Id | |
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 |
EndPointImpl.broadcast(Id key,
Message message)
Sends a broadcast message to the network. |
java.util.Vector |
EndPointImpl.replicaSet(Id key,
int maxRank)
|
java.util.Vector |
EndPointImpl.localLookup(Id key,
int max,
boolean safe)
Returns a list of nodes that can be used as next hops on a route towards key. |
boolean |
EndPointImpl.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
|
abstract void |
NetworkNodeImpl.join(Id bootstrap)
The node joins in the network |
abstract void |
NetworkNodeImpl.lookup(Id key)
Lookup of a key |
NodeHandle |
NodeHandleImpl.setValues(Id newValue)
Sets the 'newValue' Id and the flag alive to true. |
NodeHandle |
NodeHandleImpl.setValues(Id newValue,
boolean alive)
Sets the values for this NodeHandle. |
ResultsEdge |
NodeImpl.buildNewEdge(java.lang.String resultName,
Id left,
Id right,
java.lang.String color)
Builds a ResultsEdge with the specified bounds and following the resultsName type format. |
abstract NodeHandle |
NodeImpl.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
Node |
NodeImpl.setValues(Id newId)
Sets the new Id. |
Constructors in planet.generic.commonapi with parameters of type Id | |
NetworkNodeImpl(Id id)
Constructor, create a new Node instance with node Id |
Uses of Id in planet.generic.commonapi.factory |
Fields in planet.generic.commonapi.factory declared as Id | |
protected Id |
IdFactoryImpl.actualValue
Id just generated. |
protected Id |
IdFactoryImpl.chunkValue
Actual value to add to the actualValue to obtain the next Id. |
Methods in planet.generic.commonapi.factory that return Id | |
static Id |
GenericFactory.buildId()
|
static Id |
GenericFactory.buildId(int material)
|
static Id |
GenericFactory.buildId(double material)
|
static Id |
GenericFactory.buildId(byte[] material)
|
static Id |
GenericFactory.buildId(int[] material)
|
static Id |
GenericFactory.buildKey(java.lang.String string)
|
static Id |
GenericFactory.buildId(java.lang.String string)
|
static Id |
GenericFactory.buildId(java.math.BigInteger bigNumber)
|
static Id |
GenericFactory.buildId(java.lang.String material,
java.lang.String algorithm)
|
static Id |
GenericFactory.buildRandomId()
|
Id |
IdFactoryImpl.buildId()
Builds an Id with the actual configuration of network topology and size. |
Id |
IdFactoryImpl.buildRandomId()
Builds a random Id using the Random constructor of the target Id. |
Id |
IdFactoryImpl.buildId(double material)
Builds an Id with the double parameter as its internal value. |
Id |
IdFactoryImpl.buildId(int material)
Builds an Id with the int parameter as its internal value. |
Id |
IdFactoryImpl.buildId(byte[] material)
Generate an Id from material in byte[] format as its internal value. |
Id |
IdFactoryImpl.buildId(int[] material)
Generate an Id from material in int[] format, as its internal value. |
Id |
IdFactoryImpl.buildKey(java.lang.String string)
Generate an Id from a String with SHA-1 hash function. |
Id |
IdFactoryImpl.buildId(java.lang.String material)
Generate an Id from a String that contains its internal value. |
Id |
IdFactoryImpl.buildId(java.lang.String material,
java.lang.String algorithm)
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5. |
Id |
IdFactoryImpl.buildId(java.math.BigInteger bigNumber)
Generate an Id from the BigInteger as its internal value. |
Methods in planet.generic.commonapi.factory with parameters of type Id | |
static NodeHandle |
GenericFactory.buildNodeHandle(Id nodeId,
boolean alive)
|
static Node |
GenericFactory.buildNode(Id id)
|
static ResultsEdge |
GenericFactory.buildEdge(java.lang.String resultsName,
Id source,
Id target,
boolean directed,
java.lang.String fill)
|
Node |
NodeFactoryImpl.buildNode(Id id)
Builds a node with the actual implementation class of NodeImpl and the specified id. |
NodeHandle |
NodeHandleFactoryImpl.buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag. |
Constructors in planet.generic.commonapi.factory with parameters of type Id | |
IdFactoryImpl.DistributedIdIterator(int networkSize,
Id initialValue,
Id chunkValue)
Initialize this instance with the specified values. |
Uses of Id in planet.generic.commonapi.message |
Methods in planet.generic.commonapi.message that return Id | |
Id |
DataMessage.getMessageKey()
|
Methods in planet.generic.commonapi.message with parameters of type Id | |
void |
DataMessage.setMessageKey(Id messageKey)
|
Constructors in planet.generic.commonapi.message with parameters of type Id | |
DataMessage(Id key,
Message msg)
|
Uses of Id in planet.generic.commonapi.results |
Fields in planet.generic.commonapi.results declared as Id | |
protected Id |
ResultsEdgeImpl.source
|
protected Id |
ResultsEdgeImpl.target
|
Methods in planet.generic.commonapi.results that return Id | |
Id |
ResultsEdgeImpl.getSource()
|
Id |
ResultsEdgeImpl.getTarget()
|
Methods in planet.generic.commonapi.results with parameters of type Id | |
void |
ResultsEdgeImpl.setSource(Id source)
|
void |
ResultsEdgeImpl.setTarget(Id target)
|
ResultsEdge |
ResultsEdgeImpl.setValues(Id source,
Id target,
boolean isDirected,
java.lang.String fill)
Sets the initial values for this edge. |
ResultsEdge |
ResultsFactoryImpl.buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build a ResultsEdge with the specified values. |
boolean |
ResultsIdleConstraint.isACompliantNode(Id id)
Always return true. |
Uses of Id in planet.results |
Methods in planet.results that return Id | |
Id |
NodeFlowStatus.getId()
|
Methods in planet.results with parameters of type Id | |
static void |
LinkStateResults.updateIncoming(Id node)
Stores the number of incoming messages received by the node. |
static void |
LinkStateResults.updateOutcoming(Id node)
Stores the number of outcoming messages sent by the node. |
static void |
LinkStateResults.updateDropped(Id node)
Stores the number of messages dropped by the node. |
Constructors in planet.results with parameters of type Id | |
NodeFlowStatus(Id node)
|
Uses of Id in planet.scribe |
Fields in planet.scribe declared as Id | |
protected Id[] |
ScribeImpl.TopicManager.pathToRoot
The current path to the root for this node |
protected Id |
Topic.id
The Id to which this topic is mapped |
Methods in planet.scribe that return Id | |
Id |
ScribeImpl.getNodeId()
Returns the Id of the local node |
Id[] |
ScribeImpl.TopicManager.getPathToRoot()
Gets the PathToRoot attribute of the TopicManager object |
Id |
Topic.getId()
Returns the Id to which this topic is mapped |
static Id |
Topic.getId(IdFactory factory,
java.lang.String name)
Returns the Id to which the string is mapped |
Methods in planet.scribe with parameters of type Id | |
void |
ScribeImpl.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
void |
ScribeImpl.TopicManager.setPathToRoot(Id[] pathToRoot)
Sets the PathToRoot attribute of the TopicManager object |
Constructors in planet.scribe with parameters of type Id | |
Topic(Id id)
Constructor which takes an Id for this topic |
Uses of Id in planet.scribe.messaging |
Fields in planet.scribe.messaging declared as Id | |
protected Id[] |
SubscribeAckMessage.pathToRoot
The contained path to the root |
protected Id |
SubscribeMessage.previousParent
The previous parent |
Methods in planet.scribe.messaging that return Id | |
Id |
ReplicaSetMessage.getMessageKey()
|
Id[] |
SubscribeAckMessage.getPathToRoot()
Returns the path to the root for the node receiving this message |
Id |
SubscribeMessage.getPreviousParent()
Returns the node who is trying to subscribe |
Methods in planet.scribe.messaging with parameters of type Id | |
void |
ReplicaSetMessage.setMessageKey(Id messageKey)
|
Constructors in planet.scribe.messaging with parameters of type Id | |
ReplicaSetMessage(Id sourceId,
int maxRank)
Builds the message to inform the maximum number of replica set that is required. |
|
ReplicaSetMessage(Id sourceId,
java.util.Vector replicaSet)
Builds the message to inform the required replica set. |
|
SubscribeAckMessage(NodeHandle source,
Topic topic,
Id[] pathToRoot,
int id)
|
|
SubscribeMessage(NodeHandle source,
Topic topic,
Id previousParent,
int id,
ScribeContent content)
Constructor which takes a unique integer Id |
Uses of Id in planet.simulate |
Methods in planet.simulate that return Id | |
Id |
Event.getFrom()
|
Id |
Event.getTo()
|
Id |
IEvent.getFrom()
|
Id |
IEvent.getTo()
|
static Id |
Results.getLookup(Id key)
|
Methods in planet.simulate with parameters of type Id | |
static void |
Logger.logSend(Id id,
RouteMessage msg,
int lvl)
Logs a sent RouteMessage. |
static void |
Logger.logReceive(Id id,
RouteMessage msg,
int lvl)
Logs a received RouteMessage |
void |
NetworkSimulator.addNode(Id id,
Id bootstrap)
Create and joins a new node to the simulated network. |
static void |
Results.numMessagesTime(Id id,
int step,
int num,
java.lang.String type)
|
static void |
Results.updateHopsMsg(Id source,
java.lang.String key_msg)
|
static void |
Results.addLookup(Id key,
Id own)
|
static Id |
Results.getLookup(Id key)
|
Constructors in planet.simulate with parameters of type Id | |
Event(Id from,
Id to,
int type,
int times)
|
|
Event(Id from,
Id to,
int type,
int times,
int time)
|
|
SampleGenerator(Id id,
Id target,
int type,
int times)
|
Uses of Id in planet.symphony |
Subclasses of Id in planet.symphony | |
class |
SymphonyId
This Id is backed up a double value. |
Fields in planet.symphony declared as Id | |
protected static Id |
SymphonyId.MAX
Inform the maximum value for this SymphonyId (1.0). |
Methods in planet.symphony that return Id | |
Id |
SymphonyId.add(Id offset)
|
Id |
SymphonyId.subtract(Id offset)
|
Id |
SymphonyId.shift(int cnt,
int fill)
|
static Id |
SymphonyId.getMaximum()
This method returns the maximum value for a SymphonyId that is possible to build. |
static Id |
SymphonyId.divide(int num)
Overwrite the static method to return the required Id. |
Id |
SymphonyId.divideOn(int divisor)
This method returns the arithmetical result of this division: thisId/divisor |
Id |
SymphonyId.setValues(java.math.BigInteger newValue)
Always throws a NoSuchMethodError error. |
Id |
SymphonyId.setValues(byte[] newValue)
Sets the internal double value from the byte[] newValue. |
Id |
SymphonyId.setValues(double newValue)
Sets the internal double value from the newValue |
Id |
SymphonyId.setValues(int newValue)
Always throws a NoSuchMethodError error. |
Id |
SymphonyId.setValues(int[] newValue)
Always throws a NoSuchMethodError error. |
Id |
SymphonyId.setValues(java.util.Random valueGenerator)
Uses the valueGenerator to radomly build a new value. |
Id |
SymphonyId.setValues(java.lang.String newValue)
Copies the string representation of a number to the internal double. |
Methods in planet.symphony with parameters of type Id | |
boolean |
SymphonyId.between(Id ccw,
Id cw)
|
boolean |
SymphonyId.clockwise(Id nid)
|
Id |
SymphonyId.add(Id offset)
|
Id |
SymphonyId.subtract(Id offset)
|
java.util.Vector |
SymphonyNode.localLookup(Id key,
int max,
boolean safe)
Returns a list of nodes that can be used as next hops on a route towards key. |
boolean |
SymphonyNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
This methods ALWAYS return false. |
java.util.Vector |
SymphonyNode.replicaSet(Id key,
int maxRank)
Returns an ordered set of nodes on which replicas of the object with this key can be stored. |
NodeHandle |
SymphonyNode.getClosestNodeHandle(Id id)
Returns the NodeHandle closest to id. |
Node |
SymphonyNode.setValues(Id newId)
Sets the new Id. |
Uses of Id in planet.symphony.messages |
Methods in planet.symphony.messages that return Id | |
Id |
SetPredMessage.getPredId()
|
Id |
SetSuccMessage.getSuccId()
|
Methods in planet.symphony.messages with parameters of type Id | |
void |
SetPredMessage.setPredId(Id predId)
|
void |
SetSuccMessage.setSuccId(Id succId)
|
Constructors in planet.symphony.messages with parameters of type Id | |
SetPredMessage(Id predId)
|
|
SetSuccMessage(Id succId)
|
Uses of Id in planet.test.broadcast |
Methods in planet.test.broadcast that return Id | |
Id |
DHTPeerTestMessage.getSourceNodeId()
Gets Id of source Node, who sends this message. |
Methods in planet.test.broadcast with parameters of type Id | |
void |
DHTApplication.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
void |
DHTPeerTestMessage.setSourceNodeId(Id id)
Sets a new Id of source Node, who sends (re-send) this message. |
Constructors in planet.test.broadcast with parameters of type Id | |
DHTPeerTestMessage(Id sourceNodeId,
java.lang.String data)
Constructor for this Message. |
Uses of Id in planet.test.dht |
Methods in planet.test.dht with parameters of type Id | |
void |
DHTApplication.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
Uses of Id in planet.test.dht2 |
Methods in planet.test.dht2 that return Id | |
Id |
DHTMessage.getSource()
|
Methods in planet.test.dht2 with parameters of type Id | |
void |
DHTApplication.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
void |
DHTMessage.setSource(Id source)
|
Constructors in planet.test.dht2 with parameters of type Id | |
DHTMessage(Id source,
int type)
Builds a new Message with the specified source Node origNode and specified type type |
|
DHTMessage(Id source,
int type,
java.lang.String key,
java.lang.String value,
java.util.Vector MultiValue)
Builds a new Message with the specified source Node and type, key/value pairs. |
|
DHTMessage(Id source,
int type,
java.lang.String key,
java.lang.String value)
|
|
DHTMessage(Id source,
int type,
java.lang.String key,
java.util.Vector MultiValue)
|
Uses of Id in planet.test.helloworld |
Methods in planet.test.helloworld with parameters of type Id | |
void |
DHTApplication.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
Uses of Id in planet.test.trivialp2ptest |
Methods in planet.test.trivialp2ptest that return Id | |
Id |
TrivialMessage.getData()
Gets the content of the message. |
Methods in planet.test.trivialp2ptest with parameters of type Id | |
Message |
TrivialApplication.makeTestMessage(Id data)
Build a new TrivialMessage with the specified data. |
void |
TrivialApplication.deliver(Id id,
Message message)
This method is called on the application at the destination node for the given id. |
void |
TrivialApplication.find(Id key)
This method permits to send a message with the specified key key |
Constructors in planet.test.trivialp2ptest with parameters of type Id | |
TrivialMessage(Id data)
Builds a new message with the specified data |
Uses of Id in planet.trivialp2p |
Subclasses of Id in planet.trivialp2p | |
class |
TrivialId
Uses the SymphonyId as the TrivialNode id. |
Methods in planet.trivialp2p with parameters of type Id | |
NodeHandle |
TrivialNode.getClosestNodeHandle(Id id)
Returns the own nodehandle or its successor nodehandle, in a clockwise proximity. |
java.util.Vector |
TrivialNode.localLookup(Id key,
int max,
boolean safe)
Always return null. |
java.util.Vector |
TrivialNode.replicaSet(Id key,
int maxRank)
Always return null. |
boolean |
TrivialNode.range(NodeHandle node,
Id rank,
Id leftKey,
Id rightKey)
This methods ALWAYS return false. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |