A B C D E F G H I J K L M N O P Q R S T U V W Z

A

ACCEPT_CONNECT - Static variable in class planet.symphony.SymphonyNode
 
ALARMS - Static variable in class planet.simulate.Globals
Maximum number of events to be processed by a simulator
ALTERNATIVE_FILL - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Alternative Fill Color For the Shape Of The Node
ALWAYS_MASK - Static variable in class planet.behaviour.BehavioursPoolImpl
 
APPLICATION_ID - Static variable in class planet.test.dht.DHTApplication
 
APPLICATION_ID - Static variable in class planet.test.symphonyDHT.SymphonyDHTApplication
 
AbstractSubscribeMessage - class planet.scribe.messaging.AbstractSubscribeMessage.
The ack for a subscribe message.
AbstractSubscribeMessage(NodeHandle, Topic, int) - Constructor for class planet.scribe.messaging.AbstractSubscribeMessage
Constructor which takes a unique integer Id
AcceptConnectBehaviour - class planet.symphony.behaviours.AcceptConnectBehaviour.
AcceptConnectBehaviour agrees to accept a long link connection.
AcceptConnectBehaviour() - Constructor for class planet.symphony.behaviours.AcceptConnectBehaviour
 
Always - Static variable in class planet.behaviour.Pattern
Overlay property: Always refers to a behvaiour which must run always despite RouteMessage's destination.
AnycastMessage - class planet.scribe.messaging.AnycastMessage.
 
AnycastMessage(NodeHandle, Topic, ScribeContent) - Constructor for class planet.scribe.messaging.AnycastMessage
 
Application - interface planet.commonapi.Application.
Interface which an application must implement in order to run on top of the EndPoint interface.
ApplicationFactory - interface planet.commonapi.factory.ApplicationFactory.
This interface abstracts the task of generate new instances of Application.
ApplicationFactoryImpl - class planet.generic.commonapi.factory.ApplicationFactoryImpl.
This factory abstracts the functionality of builds new instances of Application.
ApplicationFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.ApplicationFactoryImpl
This constructor reads the properties' file and initializes the Class for new Applications.
ApplicationFactoryImpl(Class) - Constructor for class planet.generic.commonapi.factory.ApplicationFactoryImpl
This constructor reads the properties' file and initializes the Class for new Applications.
acceptAnycast - Variable in class planet.test.scribe.ScribeApplication
Whether or not this client should accept anycasts
acceptAnycast(boolean) - Method in class planet.test.scribe.ScribeApplication
 
acceptAnycast - Variable in class planet.test.scribe.ScribeClientTest
Whether or not this client should accept anycasts
acceptAnycast(boolean) - Method in class planet.test.scribe.ScribeClientTest
 
actualBuildsIds - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Number of Ids generated actually.
actualValue - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Id just generated.
add(Pattern) - Method in class planet.behaviour.BehaviourProperties
This method add patterns to the vector sorted from more-to-less specific.
add(Id) - Method in class planet.chord.ChordId
Returns an Id corresponding to this Id plus a given offset
add(Id) - Method in class planet.commonapi.Id
Returns an Id corresponding to this Id plus a given distance
add(Object) - Method in class planet.symphony.SortedKList
Adds a object to the sortedKList.
add(Id) - Method in class planet.symphony.SymphonyId
 
add(Object) - Method in class planet.util.Queue
Add a value to the tail of the queue.
add(SimulationTimer) - Static method in class planet.util.timer.ControlTimer
Adds the specified timer to current timers.
addAll(Collection) - Method in class planet.symphony.SortedKList
Adds a collection of elements inside the SortedKList.
addChild(Topic, NodeHandle) - Method in interface planet.scribe.Scribe
Adds a child to the given topic
addChild(NodeHandle) - Method in class planet.scribe.ScribeImpl.TopicManager
Adds a feature to the Child attribute of the TopicManager object
addChild(Topic, NodeHandle) - Method in class planet.scribe.ScribeImpl
Adds a child to the given topic
addClient(ScribeClient) - Method in class planet.scribe.ScribeImpl.TopicManager
Adds a feature to the Client attribute of the TopicManager object
addEvents(Vector) - Method in interface planet.simulate.IScheduler
 
addEvents(Vector) - Method in class planet.simulate.Scheduler
 
addFirst(NodeHandle) - Method in class planet.scribe.messaging.AnycastMessage
Adds a node the the front of the to-visit list
addInsert(String, String) - Static method in class planet.simulate.Results
 
addLast(NodeHandle) - Method in class planet.scribe.messaging.AnycastMessage
Adds a node the the end of the to-visit list
addLookup(Id, Id) - Static method in class planet.simulate.Results
 
addMessageListener(String, MessageListener) - Method in class planet.generic.commonapi.NetworkNodeImpl
Adds a listener to the node so that it executes herself when the message response arrives
addMessageListener(String, MessageListener) - Method in class planet.generic.commonapi.NodeImpl
Adds a listener to the node so that it executes herself when the message response arrives
addNode(Node, Id) - Method in class planet.simulate.NetworkSimulator
Joins a new node to the simulated network.
addNode(Id, Id) - Method in class planet.simulate.NetworkSimulator
Create and joins a new node to the simulated network.
addNode(Node, Id) - Method in class planet.simulate.Simulator
Joins a new node to the simulated network.
addNode(Id, Id) - Method in class planet.simulate.Simulator
Create and joins a new node to the simulated network.
addPeriodicGenerator(IEventGenerator, int, int) - Method in interface planet.simulate.IScheduler
 
addPeriodicGenerator(IEventGenerator, int, int) - Method in class planet.simulate.Scheduler
 
addToNeighbourSet(Collection) - Method in class planet.symphony.SymphonyNode
 
addToNeighbourSet(NodeHandle) - Method in class planet.symphony.SymphonyNode
 
addVisited(NodeHandle) - Method in class planet.scribe.messaging.AnycastMessage
Adds a node to the visited list
alive - Variable in class planet.generic.commonapi.NetworkNodeImpl
 
alive - Variable in class planet.symphony.SymphonyNode
 
allowSubscribe(SubscribeMessage, ScribeClient[], NodeHandle[]) - Method in class planet.scribe.ScribePolicy.DefaultScribePolicy
This method always return true;
allowSubscribe(SubscribeMessage, ScribeClient[], NodeHandle[]) - Method in class planet.scribe.ScribePolicy.LimitedScribePolicy
This method returns (children.length < maxChildren-1);
allowSubscribe(SubscribeMessage, ScribeClient[], NodeHandle[]) - Method in interface planet.scribe.ScribePolicy
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.
alternativeFill - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Alternative Fill Color For the Shape Of The Node
anycast(Topic, ScribeContent) - Method in interface planet.scribe.Scribe
Anycasts the given content to a member of the given topic
anycast(Topic, ScribeContent) - Method in interface planet.scribe.ScribeClient
This method is invoked when an anycast is received for a topic which this client is interested in.
anycast(Topic, ScribeContent) - Method in class planet.scribe.ScribeImpl
Anycasts the given content to a member of the given topic
anycast(Topic, ScribeContent) - Method in class planet.test.scribe.ScribeApplication
DESCRIBE THE METHOD
anycast(Topic, ScribeContent) - Method in class planet.test.scribe.ScribeClientTest
DESCRIBE THE METHOD
appClass - Variable in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Class for Applications to build.
appClass - Static variable in class planet.util.Properties
Class of Application implementation.
appConstructor - Variable in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Constructor for applications with some parameter.
appId - Variable in class planet.generic.commonapi.RouteMessageImpl
The application Id who generates the related data and will receive on to remote Node.
applicationId - Static variable in class planet.test.broadcast.DHTApplication
Identification of the application.
applicationId - Static variable in class planet.test.helloworld.DHTApplication
Identification of the application.
auxCAPI - Variable in class planet.chord.ChordNode
Temporal use in Common API methods.

B

BEH_MAPPINGS - Static variable in class planet.behaviour.BehavioursPoolImpl
 
BROADCAST - Static variable in class planet.chord.ChordNode
Type value: The message with this type identifies a broadcast message.
BYTE_SIZE - Static variable in class planet.util.Utilities
Size in bits of the byte
Bad - Static variable in class planet.behaviour.Pattern
Overlay property: Bad refers to a behvaiour which must run when node misbehaves, including routing and overlay invariant's maintenance.
BadChordNode - class planet.badchord.BadChordNode.
A Chord node is single entity in the chord network.
BadChordNode(Id) - Constructor for class planet.badchord.BadChordNode
Constructor, create a new BadChordNode instance with this node Id
BadRole - Static variable in class planet.behaviour.BehavioursPoolImpl
Behaviour's Property: Bad modifier for Behaviour's role.
Behaviour - interface planet.behaviour.Behaviour.
This interface provides a method to add functionality to a behvaiour.
BehaviourInvoker - class planet.behaviour.BehaviourInvoker.
This class is used to invoke a behaviour.
BehaviourInvoker(Behaviour, double) - Constructor for class planet.behaviour.BehaviourInvoker
 
BehaviourInvokerStatus - class planet.behaviour.BehaviourInvokerStatus.
BehaviourInvokerStatus stores the RouteMessage replies as result of a behaviour invocation and if the behaviour was finally invoked.
BehaviourInvokerStatus(RouteMessage[], boolean) - Constructor for class planet.behaviour.BehaviourInvokerStatus
 
BehaviourProperties - class planet.behaviour.BehaviourProperties.
This class allows to add new behaviours to bad nodes on the overlay.
BehaviourProperties() - Constructor for class planet.behaviour.BehaviourProperties
 
BehaviourProperties - interface planet.util.BehaviourProperties.
This interface allows to add new behaviours to bad nodes on the overlay.
BehaviourRoleSelector - interface planet.behaviour.BehaviourRoleSelector.
BehaviourRoleSelector's Interface is aimed at providing a mechanism to set the role of each node within the overlay network.
BehaviourRoleSelectorImpl - class planet.behaviour.BehaviourRoleSelectorImpl.
BehaviourRoleSelectorImpl provides a default implementation for BehaviourRoleSelector interface The node's role can only be determined on behaviour's context.
BehaviourRoleSelectorImpl() - Constructor for class planet.behaviour.BehaviourRoleSelectorImpl
 
BehavioursPool - interface planet.behaviour.BehavioursPool.
The BehavioursPool's interface is aimed at providing an internal scheduler of node's behaviuours.
BehavioursPoolFactory - interface planet.behaviour.BehavioursPoolFactory.
This interface provides a method to get a an instance of a BehavioursPool, a singleton object which dispatches some behaviours whenever a message pattern matches a pattern for a behaviour.
BehavioursPoolFactoryImpl - class planet.behaviour.BehavioursPoolFactoryImpl.
This class provides an implementation of BehavioursPoolFactory's interface.
BehavioursPoolFactoryImpl(Class, BehaviourProperties, Class) - Constructor for class planet.behaviour.BehavioursPoolFactoryImpl
 
BehavioursPoolImpl - class planet.behaviour.BehavioursPoolImpl.
The BehavioursPool's class is aimed at providing an internal scheduler of node's behaviuours.
BehavioursPoolImpl(Class, Vector, Class) - Constructor for class planet.behaviour.BehavioursPoolImpl
 
BroadcastMessage - class planet.chord.message.BroadcastMessage.
Chord uses this message to send a special message to broadcasting.
BroadcastMessage(Message, NodeHandle) - Constructor for class planet.chord.message.BroadcastMessage
Shows the info to be send on the broadcast, and the limit up to permits to resend this message.
BroadcastTest - class planet.test.broadcast.BroadcastTest.
This test make a broadcast message over all network nodes.
BroadcastTest() - Constructor for class planet.test.broadcast.BroadcastTest
Initialize the broadcast test and builds the network.
beh - Variable in class planet.behaviour.BehaviourInvoker
Behaviour object: this properties is a placeholder for a behaviour.
beh - Variable in class planet.behaviour.BehavioursPoolFactoryImpl
 
beh - Variable in class planet.behaviour.BehavioursPoolImpl
BehavioursPool properties: mapping from to
behClass - Static variable in class planet.util.Properties
BehavioursPool's class.
behFactoryClass - Static variable in class planet.util.Properties
BehavioursPool's Factory class.
behPropertiesClass - Static variable in class planet.util.Properties
Class with all behaviours
behProps - Static variable in class planet.util.Properties
This contains all patterns for all behaviours.
behSlots - Variable in class planet.behaviour.BehavioursPoolImpl
 
between(Id, Id) - Method in class planet.chord.ChordId
 
between(Id, Id) - Method in class planet.commonapi.Id
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
between(Id, Id) - Method in class planet.symphony.SymphonyId
 
betweenE(Id, Id) - Method in class planet.commonapi.Id
Checks if this Id is in interval (init,end]
bitsKey - Static variable in class planet.chord.ChordId
Sets the number of bits used in last building of MAX.
bitsKey - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
Number of bits for the Ids of Nodes.
bitsKey - Static variable in class planet.util.Properties
Number of bits for Id.
blit(byte[]) - Method in class planet.chord.ChordId
 
broadcast(String, NodeHandle, NodeHandle, Message) - Method in class planet.chord.ChordNode
Initiating a Broadcast Message
broadcast(Id, Message) - Method in interface planet.commonapi.EndPoint
Sends a broadcast message to all nodes in the network.
broadcast(String, NodeHandle, NodeHandle, Message) - Method in interface planet.commonapi.Node
Initiating a Broadcast Message
broadcast(Id, Message) - Method in class planet.generic.commonapi.EndPointImpl
Sends a broadcast message to the network.
broadcast(String, NodeHandle, NodeHandle, Message) - Method in class planet.symphony.SymphonyNode
This method throws a NoSuchMethodError, because the broadcast algorithm is not implemented yet.
build(Vector) - Method in class planet.behaviour.BehavioursPoolImpl
Given the patterns sorted from more-to-less specific as input, builds a mapping from RouteMessage's patterns to behaviours.
build() - Method in interface planet.commonapi.factory.ApplicationFactory
Generates a new instance of the actual Application class.
build(String) - Method in interface planet.commonapi.factory.ApplicationFactory
Generates a new instance of the Application class app.
build() - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Builds a new instance of the actual Application's class with the default name.
build(String) - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Builds a new instance of the specified Application's class app with the default name.
build() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
build(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildBehavioursPool() - Method in interface planet.behaviour.BehavioursPoolFactory
Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
buildBehavioursPool() - Method in class planet.behaviour.BehavioursPoolFactoryImpl
Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
buildBehavioursPool() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
buildDefaultGMLConstraint() - Method in interface planet.commonapi.GML.GMLFactory
Build the GMLConstraint specified in the GML properties file.
buildDefaultGMLConstraint() - Method in class planet.generic.commonapi.GML.GMLFactoryImpl
Build the GMLConstraint specified in the GML properties file.
buildDefaultGMLConstraint() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildDistributedIds(long) - Method in interface planet.commonapi.factory.IdFactory
The Iterator instance returned permits to build as maximum desiredNetworkSize.
buildDistributedIds(long) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildDistributedIds(long) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
The Iterator instance returned permits to build as maximum desiredNetworkSize.
buildEdge(Id, Id, boolean) - Method in interface planet.commonapi.GML.GMLFactory
Build a GML edge with the specified values.
buildEdge(Id, Id, boolean, String) - Method in interface planet.commonapi.GML.GMLFactory
Build a GML edge with the specified values.
buildEdge(Id, Id, boolean) - Method in class planet.generic.commonapi.GML.GMLFactoryImpl
Build a GML edge with the specified values.
buildEdge(Id, Id, boolean, String) - Method in class planet.generic.commonapi.GML.GMLFactoryImpl
Build a GML edge with the specified values.
buildEdge(Id, Id, boolean) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildEdge(Id, Id, boolean, String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildEndPoint(Application, Node) - Method in interface planet.commonapi.factory.EndPointFactory
Builds a new EndPoint that relates the Application app with the underlying Node node.
buildEndPoint(Application, Node) - Method in class planet.generic.commonapi.factory.EndPointFactoryImpl
Builds a new instance of EndPoint, relating specified Application and Node.
buildEndPoint(Application, Node) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildGMLGenerator() - Method in interface planet.commonapi.GML.GMLFactory
Builds the GMLGenerator specified in the GML properties file.
buildGMLGenerator() - Method in class planet.generic.commonapi.GML.GMLFactoryImpl
Builds the GMLGenerator specified in the GML properties file.
buildGMLGenerator() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId() - Method in interface planet.commonapi.factory.IdFactory
Builds an Id with the actual configuration of network topology and size.
buildId(int) - Method in interface planet.commonapi.factory.IdFactory
Builds a protocol-specific Id given the source data.
buildId(double) - Method in interface planet.commonapi.factory.IdFactory
Builds a protocol-specific Id given the source data.
buildId(byte[]) - Method in interface planet.commonapi.factory.IdFactory
Builds a protocol-specific Id given the source data.
buildId(int[]) - Method in interface planet.commonapi.factory.IdFactory
Builds a protocol-specific Id given the source data as int[].
buildId(String) - Method in interface planet.commonapi.factory.IdFactory
Generate an Id from the String as its internal value.
buildId(BigInteger) - Method in interface planet.commonapi.factory.IdFactory
Generate an Id from a BigInteger, that includes its internal value.
buildId(String, String) - Method in interface planet.commonapi.factory.IdFactory
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5.
buildId() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(int) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(double) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(byte[]) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(int[]) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(BigInteger) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId(String, String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildId() - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds an Id with the actual configuration of network topology and size.
buildId(Object[], Constructor) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds an Id with the arguments params, using the Constructor cons.
buildId(double) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds an Id with the double parameter as its internal value.
buildId(int) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds an Id with the int parameter as its internal value.
buildId(byte[]) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Generate an Id from material in byte[] format as its internal value.
buildId(int[]) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Generate an Id from material in int[] format, as its internal value.
buildId(String) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Generate an Id from a String that contains its internal value.
buildId(String, String) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5.
buildId(BigInteger) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Generate an Id from the BigInteger as its internal value.
buildKey(String) - Method in interface planet.commonapi.factory.IdFactory
Builds a protocol-specific Id by using the given string as source data for a hash function (like SHA-1).
buildKey(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildKey(String) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Generate an Id from a String with SHA-1 hash function.
buildMessage(NodeHandle, NodeHandle, int, int, Message) - Method in class planet.symphony.SymphonyNode
 
buildMessage(NodeHandle, NodeHandle, int, int, Message, String) - Method in class planet.symphony.SymphonyNode
 
buildMessage(NodeHandle, NodeHandle, NodeHandle, int, int, Message) - Method in class planet.symphony.SymphonyNode
 
buildMessage(NodeHandle, NodeHandle, NodeHandle, int, int, Message, String) - Method in class planet.symphony.SymphonyNode
 
buildNetwork() - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the actual size of the Network.
buildNetwork(int) - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the size of Nodes specified by parameter.
buildNetwork(int, NodeFactory) - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the size of Nodes specified by parameter.
buildNetwork(int, String) - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the size of Nodes specified by parameter.
buildNetwork(int, NodeFactory, String) - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the size of Nodes specified by parameter.
buildNetwork(int, NodeFactory, String, int) - Method in interface planet.commonapi.factory.NetworkFactory
Generates a new Network with the size of Nodes specified by parameter.
buildNetwork() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork(int) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork(int, NodeFactory) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork(int, String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork(int, NodeFactory, String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork(int, NodeFactory, String, int) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNetwork() - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a network with the actual specified properties.
buildNetwork(int) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a network with the actual specified properties, but overwriting the number of nodes to build within.
buildNetwork(int, String) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a network with the specified size for the network, building it under this concrete topology.
buildNetwork(int, NodeFactory) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a new network with the specified size and this concrete nodeFactory.
buildNetwork(int, NodeFactory, String) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a new network with the specified size, this concrete nodeFactory and network topology.
buildNetwork(int, NodeFactory, String, int) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a new network with the specified size, this concrete nodeFactory, network topology and k bits to construct new Ids for the Nodes.
buildNode() - Method in interface planet.commonapi.factory.NodeFactory
Builds a Node using the default IdFactory and the default Class for him.
buildNode(Id) - Method in interface planet.commonapi.factory.NodeFactory
Builds a Node using the Id that appears in parameter, using the default Class for him.
buildNode() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNode(Id) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildNode() - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Builds a NodeImpl with the actual IdFactory and class for the nodes.
buildNode(Id) - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Builds a node with the actual implementation class of NodeImpl and the specified id.
buildNodeHandle(Id, boolean) - Method in interface planet.commonapi.factory.NodeHandleFactory
Builds a NodeHandle using the default NodeHandle class.
buildNodeHandle(Id, boolean) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new NodeHandle for specifieds Node Id and alive flag.
buildNodeHandle(Id, boolean) - Method in class planet.generic.commonapi.factory.NodeHandleFactoryImpl
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag.
buildRandomId() - Method in interface planet.commonapi.factory.IdFactory
Builds an uniformly distributed random Id.
buildRandomId() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildRandomId() - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Builds a random Id using the Random constructor of the target Id.
buildWithName(String) - Method in interface planet.commonapi.factory.ApplicationFactory
Generates a new instance of the actual Application class.
buildWithName(String, String) - Method in interface planet.commonapi.factory.ApplicationFactory
Generates a new instance of the Application class app.
buildWithName(String) - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Generates a new instance of the actual class of Application.
buildWithName(String, String) - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Generates a new instance of the specified Application class app.
buildWithName(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
buildWithName(String, String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
byStep() - Method in interface planet.commonapi.Application
An upcall to inform this Application for a new step.
byStep() - Method in interface planet.commonapi.EndPoint
An upcall to inform to each Application for a new step.
byStep() - Method in class planet.generic.commonapi.EndPointImpl
An upcall to inform to the top Application for a new step.
byStep() - Method in class planet.scribe.ScribeImpl
An upcall to inform this Application for a new step.
byStep() - Method in class planet.test.broadcast.DHTApplication
An upcall to inform this Application for a new step.
byStep() - Method in class planet.test.dht.DHTApplication
An upcall to inform this Application for a new step.
byStep() - Method in class planet.test.helloworld.DHTApplication
An upcall to inform this Application for a new step.
byStep() - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
An upcall to inform this Application for a new step.

C

CANCEL_CONNECT - Static variable in class planet.symphony.SymphonyNode
 
CHAIN - Static variable in class planet.behaviour.BehaviourProperties
Chain Distribution.
CIRCULAR - Static variable in class planet.generic.commonapi.factory.Topology
This topology specify that the Id of nodes are distributed uniformly in the ring.
CLOSE_LONG_CONNECT - Static variable in class planet.symphony.SymphonyNode
 
CLOSE_NEIGHBOUR_CONNECT - Static variable in class planet.symphony.SymphonyNode
 
CancelConnectBehaviour - class planet.symphony.behaviours.CancelConnectBehaviour.
CancelConnectBehaviour's executes when a prior QUERY_CONNECT message has been rejected.
CancelConnectBehaviour() - Constructor for class planet.symphony.behaviours.CancelConnectBehaviour
 
ChordId - class planet.chord.ChordId.
Spedific Chord Id implementation.
ChordId() - Constructor for class planet.chord.ChordId
Generates an Id initialized to zero.
ChordId(int) - Constructor for class planet.chord.ChordId
This constructor is nonapplicable to the Chord overlay.
ChordId(double) - Constructor for class planet.chord.ChordId
This constructor is nonapplicable to the Chord overlay.
ChordId(byte[]) - Constructor for class planet.chord.ChordId
Generates an Id from data in byte array format.
ChordId(int[]) - Constructor for class planet.chord.ChordId
Generates an Id from data in int array format.
ChordId(String) - Constructor for class planet.chord.ChordId
This constructor generate a BigInteger with the number inside of material, and then, translate it to the correct Id.
ChordId(BigInteger) - Constructor for class planet.chord.ChordId
This constructor translate the BigInteger value to the correct Id.
ChordId(String, String) - Constructor for class planet.chord.ChordId
Builds a new Id from an arbitray string applying a one-way hashing algorithm such as SHA or MD5.
ChordId(Random) - Constructor for class planet.chord.ChordId
Build a new ChordId based with the random number generator random.
ChordNode - class planet.chord.ChordNode.
A Chord node is single entity in the chord network.
ChordNode(Id) - Constructor for class planet.chord.ChordNode
Constructor, create a new BadChordNode instance with this node Id
ChordNode.FindPredListener - class planet.chord.ChordNode.FindPredListener.
 
ChordNode.FindPredListener(ChordNode, Hashtable) - Constructor for class planet.chord.ChordNode.FindPredListener
 
ChordNode.FindSuccListener - class planet.chord.ChordNode.FindSuccListener.
 
ChordNode.FindSuccListener(ChordNode) - Constructor for class planet.chord.ChordNode.FindSuccListener
 
ChordNode.FixFingerTask - class planet.chord.ChordNode.FixFingerTask.
Simple TimerTask that invoke fix_fingers() Node method.
ChordNode.FixFingerTask() - Constructor for class planet.chord.ChordNode.FixFingerTask
Initialize this StabilizeTask.
ChordNode.GetPreListener - class planet.chord.ChordNode.GetPreListener.
 
ChordNode.GetPreListener(ChordNode) - Constructor for class planet.chord.ChordNode.GetPreListener
 
ChordNode.LookupListener - class planet.chord.ChordNode.LookupListener.
 
ChordNode.LookupListener(ChordNode, Id) - Constructor for class planet.chord.ChordNode.LookupListener
 
ChordNode.StabilizeTask - class planet.chord.ChordNode.StabilizeTask.
Simple TimerTask that invoke stabilize() Node method.
ChordNode.StabilizeTask() - Constructor for class planet.chord.ChordNode.StabilizeTask
Initialize this StabilizeTask.
ChordProperties - class planet.chord.ChordProperties.
This class includes the initialization and the values for all configuration properties of the Chord overlay.
ChordProperties() - Constructor for class planet.chord.ChordProperties
 
CloseLongConnectBehaviour - class planet.symphony.behaviours.CloseLongConnectBehaviour.
CloseLongConnectBehaviour attemps to handle a CLOSE_LONG_CONNECT request.
CloseLongConnectBehaviour() - Constructor for class planet.symphony.behaviours.CloseLongConnectBehaviour
 
CloseNeighbourConnectBehaviour - class planet.symphony.behaviours.CloseNeighbourConnectBehaviour.
The CloseNeighbourConnectBehaviour is used to close a neighbour connection on the neighbour's set.
CloseNeighbourConnectBehaviour() - Constructor for class planet.symphony.behaviours.CloseNeighbourConnectBehaviour
 
Comparer - interface planet.symphony.Comparer.
Comparer interface imposes a total ordering on some collection of objects.
ControlTimer - class planet.util.timer.ControlTimer.
This class has all its members statics to permit in a simulation envirionment controls all timers and to inform them of the actual step of simulation.
ControlTimer() - Constructor for class planet.util.timer.ControlTimer
 
Cwildcard - Static variable in class planet.behaviour.Pattern
Complementary wildcard: given a set of patterns P, this wildcard is used to attach a behaviour to the patterns on the whole pattern space S not included in P set.
cancel() - Method in class planet.util.timer.SimulationTimerImpl
Cancels all scheduled tasks.
cancel() - Method in class planet.util.timer.ThreadTimerTask
Cancels this TimerTask.
cancel() - Method in interface planet.util.timer.Timer
Cancels all TimerTasks active actually.
cancel() - Method in interface planet.util.timer.TimerTask
It avoids that this TimerTask executes more times.
cancel() - Method in class planet.util.timer.TimerTaskImpl
Cancells the actual TimerTask.
childAdded(Topic, NodeHandle) - Method in interface planet.scribe.ScribeClient
Informs this client that a child was added to a topic in which it was interested in.
childAdded(Topic, NodeHandle) - Method in class planet.test.scribe.ScribeApplication
DESCRIBE THE METHOD
childAdded(Topic, NodeHandle) - Method in class planet.test.scribe.ScribeClientTest
DESCRIBE THE METHOD
childRemoved(Topic, NodeHandle) - Method in interface planet.scribe.ScribeClient
Informs this client that a child was removed from a topic in which it was interested in.
childRemoved(Topic, NodeHandle) - Method in class planet.test.scribe.ScribeApplication
DESCRIBE THE METHOD
childRemoved(Topic, NodeHandle) - Method in class planet.test.scribe.ScribeClientTest
DESCRIBE THE METHOD
children - Variable in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE FIELD
chunkValue - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Actual value to add to the actualValue to obtain the next Id.
clear() - Method in class planet.util.Queue
Remove all the values from the queue.
clearFingerChanges() - Method in class planet.chord.ChordNode
Clears the counter of the finger table changes
clearStabRate() - Static method in class planet.simulate.Results
 
clients - Variable in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE FIELD
clockwise(Id) - Method in class planet.chord.ChordId
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
clockwise(Id) - Method in class planet.commonapi.Id
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
clockwise(Id) - Method in class planet.symphony.SymphonyId
 
close() - Method in class planet.io.NoReplacingOutputStream
 
closest_preceding_finger(Id) - Method in class planet.chord.ChordNode
Finds the closest preceding finger of a node
compare(Object, Object) - Method in interface planet.symphony.Comparer
A comparison function, which imposes a total ordering on some collection of objects.
compare(Object, Object) - Method in class planet.symphony.IdComparer
 
compareTo(Pattern) - Method in class planet.behaviour.Pattern
Compares two patterns based on specific criteria.
compareTo(Object) - Method in class planet.chord.ChordId
Comparison operator for Ids.
compareTo(Object) - Method in class planet.symphony.SymphonyId
 
contains(Object) - Method in class planet.symphony.SortedKList
Tests if the specified object is a component in this sortedList.
contains(int) - Method in class planet.util.OrderedList
 
content - Variable in class planet.scribe.messaging.AnycastMessage
the content of this message
content - Variable in class planet.scribe.messaging.PublishMessage
 
content - Variable in class planet.scribe.messaging.PublishRequestMessage
 
copy() - Method in class planet.chord.ChordId
 
copyInto(Vector, RouteMessage[]) - Method in class planet.behaviour.BehavioursPoolImpl
 
copyInto(Vector) - Method in class planet.behaviour.BehavioursPoolImpl
 
count - Variable in class planet.util.Queue
current size of queue
currentStep - Static variable in class planet.util.timer.ControlTimer
Actual step of simulation.
currentStep(int) - Static method in class planet.util.timer.ControlTimer
Iterate for all active Timers to inform the actual step.
currentStep(int) - Method in interface planet.util.timer.SimulationTimer
Informs to Timer that the current step is step.
currentStep(int) - Method in class planet.util.timer.SimulationTimerImpl
Informs to the Timer that the actual step is step and permits to advise to differents taks for their timeouts.

D

DATA - Static variable in class planet.chord.ChordNode
Type value: It identifies that this message contains an application level Message.
DATA - Static variable in class planet.symphony.SymphonyNode
Type value: It identifies that this message contains an application level Message.
DEBUG_INFO - Static variable in class planet.behaviour.BehaviourProperties
Behaviour.Property: Specifies We Want Debug Or Not Debug Info.
DECLARED_DEAD - Static variable in class planet.commonapi.NodeHandle
 
DECLARED_LIVE - Static variable in class planet.commonapi.NodeHandle
 
DEFAULT_ALTERNATIVE_FILL - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Alternative Fill Color For the Shape Of The Node (in #'RRGGBB' format)
DEFAULT_APPLICATION - Static variable in class planet.generic.commonapi.factory.ApplicationFactoryImpl
The default key specified in the properties file that identifies the class of some Application's implementation.
DEFAULT_APPLICATION - Static variable in class planet.util.Properties
Factories property: The default key specified in the properties file that identifies the class of some Application's implementation.
DEFAULT_BEHAVIOUR_PROPERTIES - Static variable in class planet.util.Properties
Simulator property: Default key for the Behaviour properties class.
DEFAULT_BEHCLASS - Static variable in class planet.util.Properties
Factories property: The default Class for BehavioursPools specified in the properteis file.
DEFAULT_BEHFACTORY - Static variable in class planet.util.Properties
Factories property: The default BehavioursPoolFactory key specified in the properties file.
DEFAULT_BITS_KEY - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the number of bits of the key.
DEFAULT_DHT_APP_PROPERTIES - Static variable in class planet.util.Properties
Default file which contains the default properties for the DHT application layer.
DEFAULT_DHT_PROPERTIES - Static variable in class planet.util.Properties
Simulator property: Default key for the DHT properties class.
DEFAULT_END_POINT - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the class for new EndPoints.
DEFAULT_EVENT_FILE - Static variable in class planet.util.Properties
Simulator property: Default key for filename with events to load.
DEFAULT_F - Static variable in class planet.symphony.SymphonyProperties
Symphony property: Default key for maximum number of members in successor list.
DEFAULT_FACTORY_PROPERTIES - Static variable in class planet.util.Properties
Default file which contains the default properties for the factories.
DEFAULT_FAULTY_NODES - Static variable in class planet.behaviour.BehaviourProperties
Behaviour.Property: Default percentatge of malicious nodes
DEFAULT_FILL - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Fill Color For The Shape Of the Node (in #'RRGGBB' format)
DEFAULT_FIX_FINGER_STEPS - Static variable in class planet.chord.ChordProperties
Chord property: Default key for number of steps to fix finger tables.
DEFAULT_FONT_NAME - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Name Of the Node Id Label
DEFAULT_FONT_SIZE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Size Of the Node Id Label
DEFAULT_GML_CONSTRAINT_CLASS - Static variable in class planet.generic.commonapi.GML.GMLFactoryImpl
Default GMLConstraint implementation to use
DEFAULT_GML_EDGE_CLASS - Static variable in class planet.generic.commonapi.GML.GMLFactoryImpl
Edge class implementation
DEFAULT_GML_GENERATOR_CLASS - Static variable in class planet.generic.commonapi.GML.GMLFactoryImpl
Default GMLConstraint implementation to use
DEFAULT_GML_PROPERTIES - Static variable in class planet.util.Properties
Simulator property: Default key for the graphical GML properties class.
DEFAULT_HEIGHT - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Height Of The Virtual Bounding Box
DEFAULT_IDFACTORY - Static variable in class planet.util.Properties
Factories property: The default IdFactory key specified in the properties file.
DEFAULT_ID_CLASS - Static variable in class planet.util.Properties
Factories property: The default Class for Ids specified in the properties file.
DEFAULT_K - Static variable in class planet.symphony.SymphonyProperties
Symphony property: Default key for maximum number of long distance connections.
DEFAULT_KBR_PROPERTIES - Static variable in class planet.util.Properties
Default file which contains the default properties for the Chord protocol.
DEFAULT_LOG_LEVEL - Static variable in class planet.util.Properties
Simulator property: Default key for log level.
DEFAULT_MALICIOUS_DISTRIBUTION - Static variable in class planet.behaviour.BehaviourProperties
Behaviour.Property: Default malicious node distribution
DEFAULT_MAX_JOIN_RETRIES - Static variable in class planet.symphony.SymphonyProperties
Symphony property: Default key for maximum number of retries to enter to the network by the same bootstrap.
DEFAULT_MAX_RETRIES_NEW_LONG_DISTANCE - Static variable in class planet.symphony.SymphonyProperties
Symphony property: Default key for maximum number of retries to obtain a connection to the same long distance node.
DEFAULT_MINIMAL_NODE_DISTANCE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Minimal Node Distance arranged on a circle
DEFAULT_MSG_PROCESS - Static variable in class planet.util.Properties
Kbr property: Default key for message processig.
DEFAULT_NETWORK - Static variable in class planet.util.Properties
Factories property: The default key specified in the properties file that identifies the class of the network implementation to use.
DEFAULT_NETWORK_SIZE - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the network size.
DEFAULT_NODECLASS - Static variable in class planet.util.Properties
Factories property: The default Class for Nodes specified in the properties file.
DEFAULT_NODEHANDLECLASS - Static variable in class planet.util.Properties
Factories property: The default Class for NodeHandles specified in the properties file.
DEFAULT_NODE_FACTORY - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the NodeFactory.
DEFAULT_OUTLINE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Color Of The Border Line (in #'RRGGBB' format)
DEFAULT_OUTPUT_FILE - Static variable in class planet.util.Properties
Simulator property: Default key for filename to which serialize the final state.
DEFAULT_OVERLAY_PROPERTIES - Static variable in class planet.util.Properties
Simulator property: Default key for the overlay properties class.
DEFAULT_QUEUE_SIZE - Static variable in class planet.util.Properties
Kbr property: Default key for queue size.
DEFAULT_REPLACE_OUTPUT_FILE - Static variable in class planet.util.Properties
Simulator property: Default key to show if the output file must be replaced with new outputs.
DEFAULT_REPLICATION_RATIO - Static variable in class planet.dht.DHTProperties
DHT property: Default key for number of replicas
DEFAULT_REPLICATION_STAB - Static variable in class planet.dht.DHTProperties
DHT property: Default key for number of replicas
DEFAULT_ROUTE_MESSAGE - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the class for new RouteMessage.
DEFAULT_SERIALIZED_FILE - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the serialized file that contains the state to load.
DEFAULT_SHAPE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Shape Of The Node
DEFAULT_SIMULATION_STEPS - Static variable in class planet.util.Properties
Simulator property: Default key for number of stabilization steps for any node join or leave.
DEFAULT_SIM_PROPERTIES - Static variable in class planet.util.Properties
Default file which contains the default properties for the simulator.
DEFAULT_STABILIZE_STEPS - Static variable in class planet.chord.ChordProperties
Chord property: Default key for number of stabilize steps.
DEFAULT_STABILIZE_STEPS - Static variable in class planet.symphony.SymphonyProperties
Symphony property: Default key for number of stabilize steps.
DEFAULT_SUCC_LIST_MAX - Static variable in class planet.chord.ChordProperties
Chord property: Default key for size of successor list.
DEFAULT_TIMER - Static variable in class planet.util.Properties
Simulator property: Default key for Timer class to use at nodes.
DEFAULT_TOPOLOGY - Static variable in class planet.util.Properties
Factories property: Default key at properties file that identifies the topology of the network.
DEFAULT_WIDTH - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Width Of The Virtual Bounding Box
DHTApplication - class planet.test.broadcast.DHTApplication.
 
DHTApplication() - Constructor for class planet.test.broadcast.DHTApplication
Constructor
DHTApplication(String) - Constructor for class planet.test.broadcast.DHTApplication
Sets a new application id.
DHTApplication - class planet.test.dht.DHTApplication.
Application that contains all key/values pairs, required for owner Node Id.
DHTApplication() - Constructor for class planet.test.dht.DHTApplication
Constructor
DHTApplication(String) - Constructor for class planet.test.dht.DHTApplication
Simple constructor where is specified the application identification.
DHTApplication - class planet.test.helloworld.DHTApplication.
This application only make two tasks: send a "Hello World" message and receive it.
DHTApplication() - Constructor for class planet.test.helloworld.DHTApplication
Constructor
DHTApplication(String) - Constructor for class planet.test.helloworld.DHTApplication
Builds a new application with the specified name as application id.
DHTMessage - class planet.test.dht.DHTMessage.
Message to be used at DHTTest main application.
DHTMessage(String, int) - Constructor for class planet.test.dht.DHTMessage
Builds a new Message with the specified source Node origNode and specified type type
DHTMessage(String, int, String, String) - Constructor for class planet.test.dht.DHTMessage
Builds a new Message with the specified source Node and type, containing initially the specified key/value pair.
DHTMessage(String, int, String, Vector) - Constructor for class planet.test.dht.DHTMessage
Builds a Message with the specifid source Node, type and key, with value a Vector with all values of the required key.
DHTPeerTest - class planet.test.helloworld.DHTPeerTest.
Makes a simple Hello World test.
DHTPeerTest() - Constructor for class planet.test.helloworld.DHTPeerTest
Builds a network, following the values of the properties files.
DHTPeerTestMessage - class planet.test.broadcast.DHTPeerTestMessage.
 
DHTPeerTestMessage(Id, String) - Constructor for class planet.test.broadcast.DHTPeerTestMessage
Constructor for this Message.
DHTPeerTestMessage - class planet.test.helloworld.DHTPeerTestMessage.
Simple Message to contain a String to deliver a remote application.
DHTPeerTestMessage(String) - Constructor for class planet.test.helloworld.DHTPeerTestMessage
Builds a new message with the specified data
DHTProperties - class planet.dht.DHTProperties.
This class includes the initialization and the values for all configuration properties of a generic DHT overlay.
DHTProperties() - Constructor for class planet.dht.DHTProperties
 
DHTProperties - interface planet.util.DHTProperties.
This interface allows to implement all the own properties of configuration of a generic DHT application layer.
DHTTest - class planet.test.dht.DHTTest.
Main application that tests to inserts a wide number of key/value pairs at the ring and lookups a concrete existing key.
DHTTest() - Constructor for class planet.test.dht.DHTTest
Constructor that initialize a network with MAX_NODES, and register over each node an instance of DHTApplication.
DISTR - Static variable in class planet.behaviour.BehaviourProperties
 
DataBehaviour - class planet.symphony.behaviours.DataBehaviour.
DataBehaviour handles DATA request messages.
DataBehaviour() - Constructor for class planet.symphony.behaviours.DataBehaviour
 
DataMessage - class planet.generic.commonapi.message.DataMessage.
Message of data to be send over the underlying network.
DataMessage(Id, Message) - Constructor for class planet.generic.commonapi.message.DataMessage
 
DropBehaviour - class planet.symphony.behaviours.DropBehaviour.
This behaviour drops whatever message.
DropBehaviour() - Constructor for class planet.symphony.behaviours.DropBehaviour
 
DropMessage - class planet.scribe.messaging.DropMessage.
The drop message, which tells a child that it's parent can no longer support it.
DropMessage(NodeHandle, Topic) - Constructor for class planet.scribe.messaging.DropMessage
 
data - Variable in class planet.util.Queue
The references to values stored within the queue.
debugInfo - Variable in class planet.behaviour.BehaviourProperties
 
decF() - Method in class planet.symphony.messages.NewSuccInListMessage
 
decTimeToLive() - Method in interface planet.commonapi.RouteMessage
Decreases the Time to Live for the packet.
decTimeToLive() - Method in class planet.generic.commonapi.RouteMessageImpl
Decreases the Time to Live for the packet.
decTraffic() - Static method in class planet.simulate.Results
 
defaultIdClass - Static variable in class planet.generic.commonapi.factory.IdFactoryImpl
The default Class for Ids specified in the properties file.
defaultNetworkSize - Static variable in class planet.generic.commonapi.factory.IdFactoryImpl
The default size key for the target network specified in the properties file.
defaultTopology - Static variable in class planet.generic.commonapi.factory.IdFactoryImpl
The default topology of the target network specified in the properties file.
deliver(Id, Message) - Method in interface planet.commonapi.Application
This method is called on the application at the destination node for the given id.
deliver(Topic, ScribeContent) - Method in interface planet.scribe.ScribeClient
This method is invoked when a message is delivered for a topic this client is interested in.
deliver(Id, Message) - Method in class planet.scribe.ScribeImpl
This method is called on the application at the destination node for the given id.
deliver(Id, Message) - Method in class planet.test.broadcast.DHTApplication
This method is called on the application at the destination node for the given id.
deliver(Id, Message) - Method in class planet.test.dht.DHTApplication
This method is called on the application at the destination node for the given id.
deliver(Id, Message) - Method in class planet.test.helloworld.DHTApplication
This method is called on the application at the destination node for the given id.
deliver(Topic, ScribeContent) - Method in class planet.test.scribe.ScribeApplication
DESCRIBE THE METHOD
deliver(Topic, ScribeContent) - Method in class planet.test.scribe.ScribeClientTest
DESCRIBE THE METHOD
deliver(Id, Message) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
This method is called on the application at the destination node for the given id.
destination - Variable in class planet.generic.commonapi.RouteMessageImpl
Destination Node Id who will receive this message.
deux - Variable in class planet.chord.ChordNode
 
dhtPropertiesClass - Static variable in class planet.util.Properties
Class with all dht properties.
dhtProps - Static variable in class planet.util.Properties
This contains all properties for the concrete dht.
directAnycast(AnycastMessage, NodeHandle, NodeHandle[]) - Method in class planet.scribe.ScribePolicy.DefaultScribePolicy
Simply adds the parent and children in order, which implements a depth-first-search.
directAnycast(AnycastMessage, NodeHandle, NodeHandle[]) - Method in interface planet.scribe.ScribePolicy
This method is called when an anycast is received which is not satisfied at the local node.
dispatchDataMessage(RouteMessage, int, int) - Method in class planet.generic.commonapi.NodeImpl
Make a generic treatment of the DATA messages (application layer messages).
dispatcher(RouteMessage) - Method in class planet.badchord.BadChordNode
Treats the messages and according to the case, executes the generic listeners or listeners specialized, forward the messages or send responses messages
dispatcher(RouteMessage) - Method in class planet.chord.ChordNode
Treats the messages and according to the case, executes the generic listeners or listeners specialized, forward the messages or send responses messages
dispatcher(RouteMessage) - Method in class planet.symphony.SymphonyNode
 
divide(long) - Static method in class planet.chord.ChordId
Divides the maximum domain of the node Id in numberOfNodes, to offers the offset between two consecutive nodes.
divide(long) - Static method in class planet.commonapi.Id
Divides the maximum domain of the node Id in numberOfNodes, to offers the offset between two consecutive nodes.
divide(long) - Static method in class planet.symphony.SymphonyId
Overwrite the static method to return the required Id.

E

ERROR - Static variable in class planet.simulate.Globals
Mode value: This mode is returned by the simulator always when the receiver of a message not exist in the actual network.
ERROR_LOG - Static variable in class planet.simulate.Logger
Logger level: Only permits to show error logs.
EVENT_LOG - Static variable in class planet.simulate.Logger
Logger level: Permits to show event logs.
Ebetween(Id, Id) - Method in class planet.commonapi.Id
Checks if this Id is in interval [init,end)
EndPoint - interface planet.commonapi.EndPoint.
Interface which represents a node in a peer-to-peer system, regardless of the underlying protocol.
EndPointFactory - interface planet.commonapi.factory.EndPointFactory.
This interface attempts to abstract building EndPoints, using the pattern design Factory Method.
EndPointFactoryImpl - class planet.generic.commonapi.factory.EndPointFactoryImpl.
This class uses the Factory Method pattern design to build new EndPoints.
EndPointFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.EndPointFactoryImpl
Constructor for the factory using the specified factory properties file.
EndPointFactoryImpl(Class) - Constructor for class planet.generic.commonapi.factory.EndPointFactoryImpl
Constructor for the factory using the specified implementation class of EndPoint.
EndPointImpl - class planet.generic.commonapi.EndPointImpl.
Interface which represents a node in a peer-to-peer system, regardless of the underlying protocol.
EndPointImpl(Application, Node) - Constructor for class planet.generic.commonapi.EndPointImpl
Generates an EndPoint from id in String format and the actual Node.
EndPointImpl.MessageScheduler - class planet.generic.commonapi.EndPointImpl.MessageScheduler.
Implements an scheduler for sent messages to this application with a specified delay.
EndPointImpl.MessageScheduler(RouteMessage, long, Node) - Constructor for class planet.generic.commonapi.EndPointImpl.MessageScheduler
Fixes the message an delay to send the message.
Event - class planet.simulate.Event.
 
Event(Id, Id, int, int) - Constructor for class planet.simulate.Event
 
Event(Id, Id, int, int, int) - Constructor for class planet.simulate.Event
 
EventParser - class planet.simulate.EventParser.
 
EventParser() - Constructor for class planet.simulate.EventParser
 
elem() - Method in class planet.util.OrderedList
 
endPoint - Static variable in class planet.util.Properties
Implementation of EndPoint interface.
endpoint - Variable in class planet.scribe.ScribeImpl
this application's endpoint
endpoints - Variable in class planet.generic.commonapi.NetworkNodeImpl
Local EndPoints.
endpoints - Variable in class planet.generic.commonapi.NodeImpl
Local EndPoints.
equals(Object) - Method in class planet.chord.ChordId
 
equals(Object) - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
Object.equals(Object o) implementation for GMLEdgeImpl.
equals(Object) - Method in class planet.generic.commonapi.NodeHandleImpl
Overwrites this method to reflect the comparison between the related Id's.
equals(Object) - Method in class planet.scribe.Topic
Returns whether this is equal to o or not
equals(Object) - Method in class planet.symphony.IdComparer
 
equals(Object) - Method in class planet.symphony.SymphonyId
 
eventFile - Static variable in class planet.util.Properties
Filename to use to load events to the simulator.
existNodeWithId(Id) - Method in interface planet.commonapi.Network
Inform if exist on the network one node with Id id.
existNodeWithId(Id) - Method in class planet.generic.commonapi.NetworkImpl
Inform if exist on the network one node with Id id.

F

F - Variable in class planet.symphony.SymphonyProperties
Maximum number of members in successor list.
FAIL - Static variable in class planet.simulate.Globals
Event type: Node fails.
FILL - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Fill Color For The Shape Of the Node
FILTER - Static variable in class planet.behaviour.BehaviourProperties
Behaviour.Property: Specifies The Filter For Behaviours Queue.
FIND_PRE - Static variable in class planet.chord.ChordNode
Type value: Start a set of messages that permits to find the inmediate successor of any new incoming node to the network.
FIND_SUCC - Static variable in class planet.chord.ChordNode
Type value: First message that is send by any node to get its inmediate successor.
FONT_NAME - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Name Of the Node Id Label
FONT_SIZE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Size Of the Node Id Label
Filter - interface planet.behaviour.Filter.
This interface provides a method filter RouteMessages before BehaviourPool attempt to match patterns.
FindSuccListener - class planet.symphony.listeners.FindSuccListener.
 
FindSuccListener(SymphonyNode) - Constructor for class planet.symphony.listeners.FindSuccListener
 
fail() - Method in class planet.chord.ChordNode
Sets alive flag to false.
fail() - Method in interface planet.commonapi.Node
If supose TCP connections onto network layer, this method must informe with some type of error message to its connected nodes for broken connection.
fail() - Method in class planet.symphony.SymphonyNode
The leave protocol is the same as in leave case.
failNodes(Id[]) - Method in interface planet.commonapi.Network
nodes shows all nodes Id that have failed.
failNodes(Id[]) - Method in class planet.generic.commonapi.NetworkImpl
Runs the stabilization process after each fail node.
fill - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Fill Color For The Shape Of the Node
fill - Variable in class planet.generic.commonapi.GML.GMLEdgeImpl
 
filter - Variable in class planet.behaviour.BehavioursPoolImpl
 
filter(RouteMessage, Node) - Method in interface planet.behaviour.Filter
Given a RouteMessage and a Node as input, filter's method filters the input RouteMessage if does not satisfy filter's precondition.
filter(RouteMessage, Node) - Method in class planet.symphony.behaviours.IdleFilter
Given a RouteMessage and a Node as input, filter's method filters the input RouteMessage if does not satisfy filter's precondition.
filterClass - Variable in class planet.behaviour.BehaviourProperties
 
find_predecessor(NodeHandle) - Method in class planet.chord.ChordNode
Finds the predecessor of a node.
find_predecessor(int) - Method in class planet.chord.ChordNode
Finds the predecessor of a node.
find_successor(NodeHandle) - Method in class planet.chord.ChordNode
Finds the successor of a node.
find_successor(int) - Method in class planet.chord.ChordNode
Finds the successor of a node.
finger - Variable in class planet.chord.ChordNode
 
finger_changes - Variable in class planet.chord.ChordNode
Detect the number of finger changes only on one simulation step.
firstLocalLookup(Id) - Method in class planet.chord.ChordNode
Detects de first position that key is in range of some position of finger table.
fixFingerSteps - Variable in class planet.chord.ChordProperties
Number of steps to fix fingers.
fix_fingers() - Method in class planet.chord.ChordNode
This method allows to update a finger table position.
flowOfMessages - Static variable in class planet.results.LinkStateResults
 
flush() - Method in class planet.io.NoReplacingOutputStream
 
fontName - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Name Of the Node Id Label
fontSize - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Font Size Of the Node Id Label
forward(Message) - Method in interface planet.commonapi.Application
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
forward(RouteMessage) - Method in interface planet.commonapi.EndPoint
Forwarding the message to the Application
forward(RouteMessage) - Method in class planet.generic.commonapi.EndPointImpl
Deliver only the content Message in RouteMessage to the application and returns if this message must be forward.
forward(Message) - Method in class planet.scribe.ScribeImpl
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
forward(Message) - Method in class planet.test.broadcast.DHTApplication
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
forward(Message) - Method in class planet.test.dht.DHTApplication
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
forward(Message) - Method in class planet.test.helloworld.DHTApplication
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
forward(Message) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
This method is invoked on applications when the underlying node is about to forward the given message with the provided target to the specified next hop.
freeMessage(RouteMessage) - Static method in class planet.simulate.MessagePool
To free a message only pushing it to stack to reuse.

G

GET_PRE - Static variable in class planet.chord.ChordNode
Type value: Start a set of messages that permits to find the inmediate node in charge of any key.
GMLConstraint - interface planet.commonapi.GML.GMLConstraint.
This interface is used to define constraints on edge selection.
GMLConstraintZmod - class planet.chord.GMLConstraintZmod.
Constraints for GML edge selection according to Integer congruences partitions.
GMLConstraintZmod(int, int) - Constructor for class planet.chord.GMLConstraintZmod
 
GMLDefaultProperties - class planet.generic.commonapi.GML.GMLDefaultProperties.
Default graphical properties for GML graphs.
GMLDefaultProperties() - Constructor for class planet.generic.commonapi.GML.GMLDefaultProperties
 
GMLEdge - interface planet.commonapi.GML.GMLEdge.
This wrapper class is used to store an edge of a directed or undirected graph according to GML file format.
GMLEdgeImpl - class planet.generic.commonapi.GML.GMLEdgeImpl.
This wrapper class is used to store an edge of a directed or undirected graph according to GML file format.
GMLEdgeImpl(Id, Id, boolean) - Constructor for class planet.generic.commonapi.GML.GMLEdgeImpl
 
GMLEdgeImpl(Id, Id, boolean, String) - Constructor for class planet.generic.commonapi.GML.GMLEdgeImpl
 
GMLFactory - interface planet.commonapi.GML.GMLFactory.
Its objective is build any required element to build an GML graph.
GMLFactoryImpl - class planet.generic.commonapi.GML.GMLFactoryImpl.
Factory for the GML implementation classes.
GMLFactoryImpl(String) - Constructor for class planet.generic.commonapi.GML.GMLFactoryImpl
Loads all specified classes in the propertiesFile, related to the GML items.
GMLGenerator - interface planet.commonapi.GML.GMLGenerator.
 
GMLGeneratorImpl - class planet.generic.commonapi.GML.GMLGeneratorImpl.
 
GMLGeneratorImpl() - Constructor for class planet.generic.commonapi.GML.GMLGeneratorImpl
Anything to do.
GMLTopologyTest - class planet.test.GML.GMLTopology.GMLTopologyTest.
GMLTopologyTest is an object class aimed at providing a description of a Chord Topology using The Graphic File Format GML for its representations an according to the specific GMLConstraint used for edge selection.
GMLTopologyTest() - Constructor for class planet.test.GML.GMLTopology.GMLTopologyTest
 
GenEvents - class planet.simulate.GenEvents.
This class permits to build events in a programming way, without any event file.
GenEvents() - Constructor for class planet.simulate.GenEvents
 
GenFileEvents - class planet.simulate.GenFileEvents.
Build file events in random or distributed manner.
GenFileEvents() - Constructor for class planet.simulate.GenFileEvents
 
GenSerializedFile - class planet.test.serialize.GenSerializedFile.
Builds a network based with events file "test_join1000d.txt" and serialize obtained network.
GenSerializedFile() - Constructor for class planet.test.serialize.GenSerializedFile
Builds a network based with events file "test_join1000d.txt" and serialize it to file "test_1000.dat".
GenericApp - class planet.generic.commonapi.GenericApp.
This class only attemps to help to programmers make more simple the initialization of the required context of new applications.
GenericApp() - Constructor for class planet.generic.commonapi.GenericApp
Make required initialization on the context of the application.
GenericApp(String, String, String) - Constructor for class planet.generic.commonapi.GenericApp
Make required initialization on the context of the application.
GenericApp(String, String, String, String) - Constructor for class planet.generic.commonapi.GenericApp
Make required initialization on the context of the application.
GenericApp(String, String, String, String, String) - Constructor for class planet.generic.commonapi.GenericApp
Make required initialization on the context of the application.
GenericAppWithGML - class planet.generic.commonapi.GenericAppWithGML.
This class only attemps to help to programmers make more simple the initialization of the required context of new applications.
GenericAppWithGML(String, String, String, String, String) - Constructor for class planet.generic.commonapi.GenericAppWithGML
Make required initialization on the context of the application.
GenericAppWithGML(String, String, String, String, String, String) - Constructor for class planet.generic.commonapi.GenericAppWithGML
Make required initialization on the context of the application.
GenericAppWithGML(String, String, String, String, String, String, String) - Constructor for class planet.generic.commonapi.GenericAppWithGML
Make required initialization on the context of the application.
GenericFactory - class planet.generic.commonapi.factory.GenericFactory.
It is an abstraction class that follows the Factory Method pattern.
GenericFactory() - Constructor for class planet.generic.commonapi.factory.GenericFactory
 
Globals - class planet.simulate.Globals.
This class contains as static manner all of the types and string representatations of them requireds for the simulator.
Globals() - Constructor for class planet.simulate.Globals
 
Good - Static variable in class planet.behaviour.Pattern
Overlay property: Good refers to a behaviour which must run when node behaves as underlying kbr protocol stipulates.
GoodRole - Static variable in class planet.behaviour.BehavioursPoolImpl
Behaviour's Property: Good modifier for Behaviour's role.
gatherStatistics() - Method in class planet.test.dht.DHTApplication
Generate a string with a representation of keys and values existing at this application.
gatherStatistics() - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Generate a string with a representation of keys and values existing at this application.
genDistribEvents(int) - Static method in class planet.simulate.GenEvents
Returns an array with two positions.
genDistribEvents(String, int, int) - Static method in class planet.simulate.GenFileEvents
Build num equidistant Ids.
genRandomEvents(String, int, int) - Static method in class planet.simulate.GenFileEvents
Generate a set of random ids for nodes to insert to the overlay.
genRandomIds(int) - Static method in class planet.simulate.GenEvents
Generate a set of random ids for nodes to insert to the overlay.
generate() - Method in interface planet.simulate.IEventGenerator
 
generate() - Method in class planet.simulate.JoinGenerator
 
generate() - Method in class planet.simulate.SampleGenerator
 
generateByteHash(String) - Static method in class planet.util.Utilities
Generate a hash code from specified data.
generateGML(Network, String, GMLConstraint, boolean) - Method in interface planet.commonapi.GML.GMLGenerator
This procedure generate GML information for a stable Overlay ring using GML format.
generateGML(Network, String, GMLConstraint, boolean) - Method in class planet.generic.commonapi.GML.GMLGeneratorImpl
This method generates GML information into out file for a stable Overlay ring using GML format.
generateGML(Network, String, GMLConstraint, boolean) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
generateIntHash(String) - Static method in class planet.util.Utilities
Generate a hash code from specified data.
generateKey() - Static method in class planet.generic.commonapi.factory.GenericFactory
Generate a unique key, based on a simple int.
generateKey() - Method in class planet.util.KeyGen
 
get(int) - Method in class planet.symphony.SortedKList
Returns the element at the specified position in this sorted list.
get(int) - Method in class planet.util.OrderedList
 
get() - Method in class planet.util.Queue
Fetch the value at the head of the queue.
getAllInserts() - Static method in class planet.simulate.Results
 
getAllLinks() - Method in class planet.chord.ChordNode
Gets all node connections to other nodes as its NodeHandles.
getAllLinks() - Method in interface planet.commonapi.EndPoint
Gets all node connections to other nodes as its NodeHandles.
getAllLinks() - Method in interface planet.commonapi.Node
Gets all node connections to other nodes as its NodeHandles.
getAllLinks() - Method in class planet.generic.commonapi.EndPointImpl
Returns all node links.
getAllLinks() - Method in class planet.symphony.SymphonyNode
Gets all node connections to other nodes as its NodeHandles.
getAllLookups() - Static method in class planet.simulate.Results
 
getApplication() - Method in interface planet.commonapi.EndPoint
Gets the associated Application.
getApplication() - Method in class planet.generic.commonapi.EndPointImpl
Gets the associated Application.
getApplicationClass() - Method in interface planet.commonapi.factory.ApplicationFactory
Gets the actual Application class whose is generating the new instances of the application, in calls to the method build()
getApplicationClass() - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Gets the Application classname actually in use.
getApplicationClass() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
getApplicationFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of ApplicationFactory.
getApplicationFactory(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of ApplicationFactory.
getApplicationId() - Method in interface planet.commonapi.EndPoint
Returns the Application's identification.
getApplicationId() - Method in interface planet.commonapi.RouteMessage
Returns the application Id for this message
getApplicationId() - Method in class planet.generic.commonapi.EndPointImpl
Returns the identification of the related Application
getApplicationId() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the related application's identification.
getBehavioursPoolFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of BehavioursPoolFactory.
getBootStrap() - Method in class planet.symphony.messages.JoinMessage
 
getBroadcastMessage(String, NodeHandle, NodeHandle, NodeHandle, Message) - Static method in class planet.chord.ChordNode
Return a RouteMessage with the specified values.
getChildren(Topic) - Method in interface planet.scribe.Scribe
Returns the list of children for a given topic
getChildren() - Method in class planet.scribe.ScribeImpl.TopicManager
Gets the Children attribute of the TopicManager object
getChildren(Topic) - Method in class planet.scribe.ScribeImpl
Returns the list of children for a given topic
getClassOf() - Method in class planet.behaviour.Pattern
 
getClients() - Method in class planet.scribe.ScribeImpl.TopicManager
Gets the Clients attribute of the TopicManager object
getClients(Topic) - Method in class planet.scribe.ScribeImpl
Returns the list of clients for a given topic
getClosestNodeHandle(Id) - Method in class planet.chord.ChordNode
Returns the NodeHandle closest to id.
getClosestNodeHandle(Id) - Method in class planet.generic.commonapi.NodeImpl
Returns the NodeHandle closest to id.
getClosestNodeHandle(Id) - Method in class planet.symphony.SymphonyNode
Returns the NodeHandle closest to id.
getComparer() - Method in class planet.symphony.SortedKList
Returns the comparer object used to order list.
getContent() - Method in class planet.scribe.messaging.AnycastMessage
Returns the content
getContent() - Method in class planet.scribe.messaging.PublishMessage
Returns the content
getContent() - Method in class planet.scribe.messaging.PublishRequestMessage
Returns the content
getData() - Method in class planet.test.broadcast.DHTPeerTestMessage
Gets the data.
getData() - Method in class planet.test.helloworld.DHTPeerTestMessage
Gets the content of the message.
getDataMessage(String, NodeHandle, NodeHandle, NodeHandle, Message) - Static method in class planet.chord.ChordNode
Return a RouteMessage with the specified values.
getDecimals(double) - Static method in class planet.symphony.SymphonyId
Gives back the value between 0.0 and 1.0 of the value, using only the decimals of the argument.
getDestination() - Method in interface planet.commonapi.RouteMessage
Returns the destination NodeHandle for this message
getDestination() - Method in class planet.generic.commonapi.RouteMessageImpl
Get the destination node's NodeHandle.
getDigit(int, int) - Method in class planet.chord.ChordId
Gets the ith digit in base 2^b. i = 0 is the least significant digit.
getDoubleValue() - Method in class planet.symphony.SymphonyId
 
getDropped() - Method in class planet.results.NodeFlowStatus
 
getEInGML(Collection, GMLConstraint) - Method in class planet.chord.ChordNode
This method is a callback method used to collect all of the edges of a graph according to GML file format for latter visual graph performance.
getEInGML(Collection, GMLConstraint) - Method in interface planet.commonapi.Node
This method is a callback method used to collect all of the edges of a graph according to GML file format for latter visual graph performance.
getEInGML(Collection, GMLConstraint) - Method in class planet.symphony.SymphonyNode
This method is a callback method used to collect all of the edges of a graph according to GML file format for latter visual graph performance.
getEndPointFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of EndPointFactory.
getEndPointFactory(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of EndPointFactory.
getEndPoints() - Method in class planet.symphony.SymphonyNode
 
getEvents(int) - Method in interface planet.simulate.IScheduler
 
getEvents(int) - Method in class planet.simulate.Scheduler
 
getFill() - Method in interface planet.commonapi.GML.GMLEdge
 
getFill() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
getFilter() - Method in class planet.behaviour.BehaviourProperties
 
getFingerChanges() - Method in class planet.chord.ChordNode
Returns the count of the finger table changes
getFirstPred() - Method in class planet.symphony.SortedKList
Returns the first predecessor.
getFirstSucc() - Method in class planet.symphony.SortedKList
Returns the first successor.
getFrom() - Method in class planet.simulate.Event
 
getFrom() - Method in interface planet.simulate.IEvent
 
getGMLFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Gets an instance of the GMLFactory.
getHopsPerType() - Method in class planet.results.PatternStatus
 
getId() - Method in interface planet.commonapi.Application
Gets the identification of this application.
getId() - Method in interface planet.commonapi.EndPoint
Returns this node's id, which is its identifier in the namespace.
getId() - Method in interface planet.commonapi.Node
Returns the Id of this node
getId() - Method in class planet.commonapi.NodeHandle
Returns this node's id.
getId() - Method in class planet.generic.commonapi.EndPointImpl
Returns the identification of the related Node
getId() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns the id of the node *
getId() - Method in class planet.generic.commonapi.NodeHandleImpl
Gets the Id of the related node
getId() - Method in class planet.generic.commonapi.NodeImpl
Returns the id of the node *
getId() - Method in class planet.results.NodeFlowStatus
 
getId() - Method in class planet.scribe.ScribeImpl
Returns the Id of the application
getId() - Method in class planet.scribe.Topic
Returns the Id to which this topic is mapped
getId(IdFactory, String) - Static method in class planet.scribe.Topic
Returns the Id to which the string is mapped
getId() - Method in class planet.scribe.messaging.AbstractSubscribeMessage
Returns this subscribe lost message's id
getId() - Method in class planet.scribe.messaging.SubscribeMessage
Returns this subscribe lost message's id
getId() - Method in class planet.test.broadcast.DHTApplication
Gets the identification of the Application
getId() - Method in class planet.test.dht.DHTApplication
Gets the identification of this instance of Application.
getId() - Method in class planet.test.helloworld.DHTApplication
Gets the identification of the Application
getId() - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Gets the identification of this instance of Application.
getIdFactory() - Method in interface planet.commonapi.Node
Returns a factory for Ids specific to this node's protocol.
getIdFactory() - Method in interface planet.commonapi.factory.NodeFactory
Returns the IdFactory that the concrete implementation uses to generate new Ids for new instances of Nodes.
getIdFactory() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns a factory for Ids specific to this node's protocol.
getIdFactory() - Method in class planet.generic.commonapi.NodeImpl
Returns a factory for Ids specific to this node's protocol.
getIdFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of IdFactory.
getIdFactory(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of IdFactory.
getIdFactory() - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Gets the actual IdFactory in use.
getIncoming() - Method in class planet.results.NodeFlowStatus
 
getIncommingSet() - Method in class planet.symphony.SymphonyNode
 
getInfo() - Method in class planet.chord.ChordNode
 
getInfo() - Method in class planet.chord.message.BroadcastMessage
 
getInfo() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns information of the node
getInfo() - Method in class planet.generic.commonapi.NodeImpl
Returns information of the node
getInfo() - Method in class planet.symphony.SymphonyNode
 
getInsert(String) - Static method in class planet.simulate.Results
 
getInternalNetwork() - Method in class planet.simulate.NetworkSimulator
Returns a reference of the internal network.
getKey() - Method in interface planet.commonapi.RouteMessage
Gets the identification key of this communication.
getKey() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the identification key of this message.
getKey() - Method in class planet.test.dht.DHTMessage
 
getKey() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
getLimit() - Method in class planet.chord.message.BroadcastMessage
 
getLocalHandle() - Method in class planet.chord.ChordNode
Return the local NodeHandle.
getLocalHandle() - Method in interface planet.commonapi.Node
Returns the NodeHandle for the actual Node.
getLocalHandle() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns the local NodeHandle
getLocalHandle() - Method in class planet.generic.commonapi.NodeImpl
Returns the local NodeHandle
getLocalNodeHandle() - Method in interface planet.commonapi.EndPoint
Returns a handle to the local node below this endpoint.
getLocalNodeHandle() - Method in class planet.generic.commonapi.EndPointImpl
Returns a handle to the local node below this endpoint.
getLookup(Id) - Static method in class planet.simulate.Results
 
getMap() - Method in class planet.behaviour.Pattern
 
getMaxRank() - Method in class planet.scribe.messaging.ReplicaSetMessage
 
getMaximum() - Static method in class planet.chord.ChordId
This method returns the maximum value for a ChordId that is possible to build, according the number of bits for key actually in use.
getMaximum() - Static method in class planet.commonapi.Id
This method returns the maximum value for an Id that is possible to build.
getMaximum() - Static method in class planet.symphony.SymphonyId
This method returns the maximum value for a SymphonyId that is possible to build.
getMeanByTypeOf(String, String) - Static method in class planet.results.LinkStateResults
Gets the average of hops for the Message Performative specified by " typeOf " and " modeOf ".
getMeanByTypeOnly(String) - Static method in class planet.results.LinkStateResults
Gets the average of hops for the Message Performative specified only by the type.
getMessage() - Method in interface planet.commonapi.RouteMessage
Returns the enclosed message inside of this message
getMessage() - Method in class planet.generic.commonapi.RouteMessageImpl
Get the Message to route.
getMessage() - Method in class planet.generic.commonapi.message.DataMessage
 
getMessage(String, NodeHandle, NodeHandle, int, int) - Static method in class planet.simulate.MessagePool
Return a RouteMessage with the specified values.
getMessage(String, NodeHandle, NodeHandle, NodeHandle, Message, int, int, String) - Static method in class planet.simulate.MessagePool
Builds a new instance of RouteMessage with all specified values.
getMessageKey() - Method in class planet.generic.commonapi.message.DataMessage
 
getMessageKey() - Method in class planet.scribe.messaging.ReplicaSetMessage
 
getMessagesPerType() - Method in class planet.results.PatternStatus
 
getMode() - Method in interface planet.commonapi.RouteMessage
Gets the mode of the actual Message.
getMode() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the mode of this message.
getMode() - Method in class planet.results.PatternStatus
 
getModeOf() - Method in class planet.behaviour.Pattern
 
getName() - Method in interface planet.behaviour.Behaviour
 
getName() - Method in class planet.behaviour.BehaviourInvoker
 
getName() - Method in interface planet.behaviour.Filter
 
getName() - Method in class planet.symphony.behaviours.AcceptConnectBehaviour
 
getName() - Method in class planet.symphony.behaviours.CancelConnectBehaviour
 
getName() - Method in class planet.symphony.behaviours.CloseLongConnectBehaviour
 
getName() - Method in class planet.symphony.behaviours.CloseNeighbourConnectBehaviour
 
getName() - Method in class planet.symphony.behaviours.DataBehaviour
 
getName() - Method in class planet.symphony.behaviours.DropBehaviour
 
getName() - Method in class planet.symphony.behaviours.IdleFilter
 
getName() - Method in class planet.symphony.behaviours.QueryConnectBehaviour
 
getName() - Method in class planet.symphony.behaviours.QueryJoinBehaviour
 
getName() - Method in class planet.symphony.behaviours.RoutingBehaviour
 
getName() - Method in class planet.symphony.behaviours.SetInfoBehaviour
 
getNeighbourSet() - Method in class planet.symphony.SortedKList
 
getNeighbourSet() - Method in class planet.symphony.SymphonyNode
 
getNeighbourhoodSet() - Method in class planet.symphony.messages.NeighbourMessage
 
getNetworkFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of NetworkFactory.
getNetworkFactory(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of NetworkFactory.
getNetworkSize() - Method in interface planet.commonapi.factory.NetworkFactory
Returns the actual size of the new Networks.
getNetworkSize() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
getNetworkSize() - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Inform from the network size for the default building networks.
getNewE(Iterator, GMLConstraint, Collection, String) - Method in interface planet.commonapi.Node
Adds a new Edge to E set according to specified GMLConstraint.
getNewE(Iterator, GMLConstraint, Collection, String) - Method in class planet.generic.commonapi.NodeImpl
Adds a new Edge to E set according to specified GMLConstraint.
getNewLongDistance() - Method in class planet.symphony.SymphonyNode
 
getNewNode() - Method in class planet.symphony.messages.JoinMessage
 
getNewNode() - Method in class planet.symphony.messages.NewSuccInListMessage
 
getNewSet() - Method in class planet.symphony.SymphonyNode
 
getNext() - Method in class planet.scribe.messaging.AnycastMessage
Returns the next handle to visit and removes the node from the list.
getNextHopHandle() - Method in interface planet.commonapi.RouteMessage
Returns the next hop handle for this message.
getNextHopHandle() - Method in class planet.generic.commonapi.RouteMessageImpl
Get next node's NodeHandle to send this message.
getNode() - Method in class planet.chord.message.IdMessage
 
getNode() - Method in class planet.chord.message.NodeMessage
 
getNodeClass() - Method in interface planet.commonapi.factory.NodeFactory
Gets Class for the generated Nodes.
getNodeClass() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
getNodeClass() - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Gets the actual class of implementation of NodeImpl returned by this factory.
getNodeFactory() - Method in interface planet.commonapi.factory.NetworkFactory
Returns the actual NodeFactory to use to generate networks.
getNodeFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of NodeFactory.
getNodeFactory(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of NodeFactory.
getNodeFactory() - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Returns the NodeFactory actually in use.
getNodeHandleClass() - Method in interface planet.commonapi.factory.NodeHandleFactory
Gets Class for the generated NodeHandles.
getNodeHandleClass() - Static method in class planet.generic.commonapi.factory.GenericFactory
Gets the NodeHandle class actually in use to build new NodeHandles.
getNodeHandleClass() - Method in class planet.generic.commonapi.factory.NodeHandleFactoryImpl
Gets the actual class of implementation of NodeHandle returned by this factory.
getNodeHandleFactory() - Static method in class planet.generic.commonapi.factory.GenericFactory
Builds a new instance of NodeHandleFactory.
getNodeId() - Method in class planet.scribe.ScribeImpl
Returns the Id of the local node
getNodes() - Method in class planet.simulate.Simulator
Returns the HashMap structure of the all nodes
getOptions() - Method in interface planet.commonapi.RouteMessage
 
getOptions() - Method in class planet.generic.commonapi.RouteMessageImpl
 
getOriginNode() - Method in class planet.test.dht.DHTMessage
 
getOutcoming() - Method in class planet.results.NodeFlowStatus
 
getOutcommingSet() - Method in class planet.symphony.SymphonyNode
 
getParent() - Method in class planet.scribe.ScribeImpl.TopicManager
Gets the Parent attribute of the TopicManager object
getParent(Topic) - Method in class planet.scribe.ScribeImpl
Returns the parent for a given topic
getPathToRoot() - Method in class planet.scribe.ScribeImpl.TopicManager
Gets the PathToRoot attribute of the TopicManager object
getPathToRoot() - Method in class planet.scribe.messaging.SubscribeAckMessage
Returns the path to the root for the node receiving this message
getPatterns() - Method in class planet.behaviour.BehaviourProperties
 
getPdf() - Method in class planet.behaviour.Pattern
 
getPendingJoinMsg() - Method in class planet.symphony.messages.QueryJoinSetMessage
 
getPolicy() - Method in interface planet.scribe.Scribe
Returns the current policy for this scribe object
getPolicy() - Method in class planet.scribe.ScribeImpl
Returns the current policy for this scribe object
getPred() - Method in class planet.chord.ChordNode
Returns the NodeHandle of the present identification of the precursor of the node
getPred() - Method in interface planet.commonapi.Node
Returns the NodeHandle of the present predecessor of the node
getPred() - Method in class planet.symphony.SymphonyNode
 
getPredId() - Method in class planet.symphony.messages.SetPredMessage
 
getPredList(int) - Method in class planet.symphony.SortedKList
Returns the predecessor list.
getPredSet() - Method in class planet.symphony.messages.SetInfoMessage
 
getPreviousHopHandle() - Method in interface planet.commonapi.RouteMessage
Gets the previous hop handle for this message.
getPreviousHopHandle() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the previous hop handle for this message.
getPreviousParent() - Method in class planet.scribe.messaging.SubscribeMessage
Returns the node who is trying to subscribe
getProximity(Id, Id) - Method in interface planet.commonapi.Network
Evaluates the proximity between the two nodes.
getProximity() - Method in class planet.commonapi.NodeHandle
Evaluates the proximity between the node who invokes this method, and the node that represents this NodeHandle.
getProximity(Id, Id) - Method in class planet.generic.commonapi.NetworkImpl
Always returns 1 (one).
getProximity() - Method in class planet.generic.commonapi.NodeHandleImpl
Always returns one as proximity between any two nodes.
getPt() - Method in class planet.chord.GMLConstraintZmod
 
getRandomApplication(String) - Method in interface planet.commonapi.Network
Gets a reference of some application on any node of the network.
getRandomApplication(String) - Method in class planet.generic.commonapi.NetworkImpl
Gets a reference of some application on any node of the network.
getRandomNode(Random) - Method in interface planet.commonapi.Network
Returns a randomly selected node of actual network.
getRandomNode(Random) - Method in class planet.generic.commonapi.NetworkImpl
Returns a randomly selected node of actual network.
getRandomNode(Random) - Method in class planet.simulate.Simulator
Selects a node by a random number
getReferee() - Method in class planet.symphony.SortedKList
Returns the referee's object.
getRegisteredApplications() - Method in interface planet.commonapi.Node
Returns all references of the applications that mantains this node.
getRegisteredApplications() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns all references of the applications that mantains this node.
getRegisteredApplications() - Method in class planet.generic.commonapi.NodeImpl
Returns all references of the applications that mantains this node.
getReplicaSet() - Method in class planet.scribe.messaging.ReplicaSetMessage
 
getResultRouteMessages() - Method in class planet.behaviour.BehaviourInvokerStatus
 
getRetries() - Method in class planet.symphony.messages.JoinMessage
 
getRoleOf() - Method in class planet.behaviour.Pattern
 
getRoute() - Method in interface planet.commonapi.RouteMessage
Returns the route from the source to the destination.
getRoute() - Method in class planet.generic.commonapi.RouteMessageImpl
Returns the route from the source to the destination.
getSectionSizePred() - Method in class planet.symphony.messages.SetSectionSizePredMessage
 
getSectionSizeSucc() - Method in class planet.symphony.messages.SetSectionSizeSuccMessage
 
getSerializedFile() - Method in interface planet.commonapi.factory.NetworkFactory
Gets the actual file from where capture a serialized state of a network.
getSerializedFile() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
getSerializedFile() - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Gets the filename for the serialized state of some network.
getSimulatedSteps() - Method in interface planet.commonapi.Network
Gets the actual number of simulated steps.
getSimulatedSteps() - Method in class planet.generic.commonapi.NetworkImpl
Gets the actual number of simulated steps.
getSizeNetwork() - Method in class planet.simulate.NetworkSimulator
Return the size of the network
getSizeRing() - Method in class planet.simulate.Simulator
Return the size of the network
getSortedSet() - Method in class planet.symphony.SortedKList
 
getSource() - Method in interface planet.commonapi.GML.GMLEdge
 
getSource() - Method in interface planet.commonapi.RouteMessage
Returns the source NodeHandle for this message
getSource() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
getSource() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets de source Node NodeHandle of the message
getSource() - Method in class planet.scribe.messaging.ScribeMessage
Method which returns this messages' source address
getSource() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
getSourceNodeId() - Method in class planet.test.broadcast.DHTPeerTestMessage
Gets Id of source Node, who sends this message.
getStabRate() - Static method in class planet.simulate.Results
 
getStatisticsByTypeOf(String, String) - Static method in class planet.results.LinkStateResults
Gets the PatternStatus of the Message Performative specified by "TypeOf" and "ModeOf".
getStatisticsByTypeOnly(String) - Static method in class planet.results.LinkStateResults
Gets the PatternStatus of the Message Performative specified only by the type.
getStep() - Static method in class planet.simulate.Logger
Gets the actual step in run.
getSubscribeFailed() - Method in class planet.test.scribe.ScribeApplication
 
getSubscribeFailed() - Method in class planet.test.scribe.ScribeClientTest
 
getSubscriber() - Method in class planet.scribe.messaging.SubscribeMessage
Returns the node who is trying to subscribe
getSucc() - Method in class planet.chord.ChordNode
Returns the NodeHandle of the present identification of the successor of the node
getSucc() - Method in interface planet.commonapi.Node
Returns the NodeHandle of the present successor of the node
getSucc() - Method in class planet.symphony.SymphonyNode
 
getSuccId() - Method in class planet.symphony.messages.SetSuccMessage
 
getSuccList(int) - Method in class planet.chord.ChordNode
Returns the successor list of the present node
getSuccList(int) - Method in interface planet.commonapi.Node
Returns the successor list of the present node with max number of Ids.
getSuccList(int) - Method in class planet.symphony.SortedKList
Returns the successor list.
getSuccList(int) - Method in class planet.symphony.SymphonyNode
Returns up to max successors of the actual node.
getSuccSet() - Method in class planet.symphony.messages.SetInfoMessage
 
getSuccs() - Method in class planet.chord.message.SuccListMessage
 
getTarget() - Method in interface planet.commonapi.GML.GMLEdge
 
getTarget() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
getTime() - Method in class planet.simulate.Event
 
getTime() - Method in interface planet.simulate.IEvent
 
getTimeToLive() - Method in interface planet.commonapi.RouteMessage
Gets the time to live for the packet.
getTimeToLive() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the time to live for the packet.
getTimes() - Method in class planet.simulate.Event
 
getTimes() - Method in interface planet.simulate.IEvent
 
getTo() - Method in class planet.simulate.Event
 
getTo() - Method in interface planet.simulate.IEvent
 
getTopic() - Method in class planet.scribe.messaging.ScribeMessage
Method which returns this messages' topic
getTopology() - Method in interface planet.commonapi.Network
Returns the topology of the actual network.
getTopology() - Method in interface planet.commonapi.factory.NetworkFactory
Gets the actual network's topology of the generated networks.
getTopology() - Method in interface planet.commonapi.factory.NodeFactory
Gets the actual topology for the network.
getTopology() - Method in class planet.generic.commonapi.NetworkImpl
Gets the actual topology of the underlying network.
getTopology() - Static method in class planet.generic.commonapi.factory.GenericFactory
 
getTopology() - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Inform the topology actually in use to build networks.
getTopology() - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Gets the actual topology for the network.
getTraffic() - Static method in class planet.simulate.Results
 
getType() - Method in interface planet.commonapi.RouteMessage
Gets the type of the actual Message.
getType() - Method in class planet.generic.commonapi.RouteMessageImpl
Gets the type of this message.
getType() - Method in class planet.results.PatternStatus
 
getType() - Method in class planet.simulate.Event
 
getType(String) - Static method in class planet.simulate.EventParser
 
getType() - Method in interface planet.simulate.IEvent
 
getType() - Method in class planet.test.dht.DHTMessage
 
getType() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
getTypeForApplicationMessage() - Method in class planet.chord.ChordProperties
Returns RouteMessage type for Application level.
getTypeForApplicationMessage() - Method in class planet.symphony.SymphonyProperties
Returns RouteMessage type for Application level.
getTypeForApplicationMessage() - Method in interface planet.util.OverlayProperties
Returns RouteMessage type for Application level.
getTypeOf() - Method in class planet.behaviour.Pattern
 
getValue() - Method in class planet.chord.ChordId
Return the int[] with the value of this Id.
getValue() - Method in class planet.commonapi.Id
Returns the internal representation value of this Id.
getValue() - Method in class planet.symphony.SymphonyId
 
getValue() - Method in class planet.test.dht.DHTMessage
 
getValue() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
getVectorValue() - Method in class planet.test.dht.DHTMessage
 
getVectorValue() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
getWhenTo() - Method in class planet.behaviour.Pattern
 
getZmod() - Method in class planet.chord.GMLConstraintZmod
 
gmlClassesProperties - Static variable in class planet.util.Properties
Usable instance of the GMLFactory in use.
gmlProps - Static variable in class planet.util.Properties
Have all graphical properties for GML purposes.
gmlPropsClass - Static variable in class planet.util.Properties
Implementation class for the graphical attributes on GML graphs.

H

HEIGHT - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Height Of The Virtual Bounding Box
h - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Height Of The Virtual Bounding Box
handle - Variable in class planet.scribe.ScribeImpl
the local node handle
hasFailed - Variable in class planet.chord.ChordNode
 
hasLeaved - Variable in class planet.chord.ChordNode
 
hasMoreMessages() - Method in class planet.generic.commonapi.NetworkNodeImpl
Checks if the incoming queue have a messages to send
hasMoreMessages() - Method in class planet.generic.commonapi.NodeImpl
Checks if the incoming queue have a messages to send
hasNeighbour() - Method in class planet.symphony.SortedKList
 
hasNext() - Method in class planet.generic.commonapi.NetworkImpl.NetworkIterator
Evaluate if there are more nodes.
hasNext() - Method in class planet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator
Test if all Id have been built.
hasNext() - Method in interface planet.simulate.IScheduler
 
hasNext() - Method in class planet.simulate.Scheduler
 
hasPredSet() - Method in class planet.symphony.messages.SetInfoMessage
 
hasSuccSet() - Method in class planet.symphony.messages.SetInfoMessage
 
hashCode() - Method in class planet.chord.ChordId
Hash codes for Ids.
hashCode() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
Object.hashCode(Object o) implementation for GMLEdgeImpl.
hashCode() - Method in class planet.generic.commonapi.NodeHandleImpl
Overwrites this method to reflect the hash code of the related Id.
hashCode() - Method in class planet.scribe.Topic
Returns the hashCode for this topic
hashCode() - Method in class planet.symphony.SymphonyId
 
head - Variable in class planet.util.Queue
index of the head of queue.
hopsByTypeOf - Static variable in class planet.results.LinkStateResults
LinkStateResults property: stores how many hops per RouteMessage's type and mode.

I

IEvent - interface planet.simulate.IEvent.
 
IEventGenerator - interface planet.simulate.IEventGenerator.
 
INSERT - Static variable in class planet.test.dht.DHTMessage
Insert message type to be used at constructor.
INSERT - Static variable in class planet.test.symphonyDHT.SymphonyDHTMessage
Insert message type to be used at constructor.
INT_SIZE - Static variable in class planet.util.Utilities
Size in bits of the int
IScheduler - interface planet.simulate.IScheduler.
 
ISimulator - interface planet.simulate.ISimulator.
 
Id - class planet.commonapi.Id.
This interface is an abstraction of an Id (or key) from the CommonAPI paper.
Id() - Constructor for class planet.commonapi.Id
 
IdComparer - class planet.symphony.IdComparer.
This is class is used to compare two ids.
IdComparer(NodeHandle) - Constructor for class planet.symphony.IdComparer
 
IdFactory - interface planet.commonapi.factory.IdFactory.
This interface provides methods with a way of generating Ids.
IdFactoryImpl - class planet.generic.commonapi.factory.IdFactoryImpl.
This Factory generate uniques Id from a material.
IdFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.IdFactoryImpl
This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes.
IdFactoryImpl(Class, String, int) - Constructor for class planet.generic.commonapi.factory.IdFactoryImpl
Constructor that builds an instance with these parameters
IdFactoryImpl.DistributedIdIterator - class planet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator.
Is an Id iterator, for building up to networkSize Id.
IdFactoryImpl.DistributedIdIterator(long, Id, Id) - Constructor for class planet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator
Initialize this instance with the specified values.
IdMessage - class planet.chord.message.IdMessage.
Chord uses this message to inform to another one any Id that it is required.
IdMessage(Id) - Constructor for class planet.chord.message.IdMessage
Shows the Id to send with this message.
IdTest - class planet.test.IdTest.
Make different tests to build Ids with 32, 64, 96, 128 and 160 bits.
IdTest(String) - Constructor for class planet.test.IdTest
 
IdleFilter - class planet.symphony.behaviours.IdleFilter.
IdleFilter class does not filter any RouteMessage.
IdleFilter() - Constructor for class planet.symphony.behaviours.IdleFilter
 
IdleGMLConstraint - class planet.generic.commonapi.GML.IdleGMLConstraint.
IdleGMLConstraint is used to select the whole topology of peer-to-peer network.
IdleGMLConstraint() - Constructor for class planet.generic.commonapi.GML.IdleGMLConstraint
 
InitializationException - exception planet.commonapi.exception.InitializationException.
This Exception is thrown by cannot read completely a properties file of any Factory, and some factory cannot initialize any parameter on its setter methods.
InitializationException() - Constructor for class planet.commonapi.exception.InitializationException
Generates new instance with default message.
InitializationException(String) - Constructor for class planet.commonapi.exception.InitializationException
Generates nes instance with the specified message
InitializationException(String, Throwable) - Constructor for class planet.commonapi.exception.InitializationException
Inicialization of the new instance.
InitializationException(Throwable) - Constructor for class planet.commonapi.exception.InitializationException
Initialization of the new instance.
IsRootListener - interface planet.scribe.IsRootListener.
Interface for isRoot call response events
IsStabilized() - Method in class planet.symphony.SymphonyNode
 
id - Variable in class planet.generic.commonapi.NetworkNodeImpl
 
id - Variable in class planet.generic.commonapi.NodeImpl
 
id - Variable in class planet.scribe.Topic
The Id to which this topic is mapped
id - Variable in class planet.scribe.messaging.AbstractSubscribeMessage
The id of this subscribe message
id - Variable in class planet.scribe.messaging.SubscribeMessage
The id of this message
id - Variable in class planet.test.scribe.ScribeApplication
 
id - Variable in class planet.test.scribe.ScribeClientTest
 
idClass - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Actual instance of Class for new Ids.
idClass - Static variable in class planet.util.Properties
Id class.
idClassConstructorBigInteger - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: a BigInteger.
idClassConstructorByteArray - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: a byte array.
idClassConstructorDouble - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: a double.
idClassConstructorHashSpecific - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with two parameters: the first String with the material for the hash algorithm, and the second String with the algorithm name.
idClassConstructorInt - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: an int.
idClassConstructorIntArray - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: an int array.
idClassConstructorRandom - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: a java.util.Random, for radomly built Id.
idClassConstructorString - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Constructor of actual idClass with only one parameter: a String.
idDivideMethod - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Id.divide(long) method for the actual Id implementation.
idFactory - Static variable in class planet.util.Properties
IdFactory implementation class.
incStabRate() - Static method in class planet.simulate.Results
 
incTraffic() - Static method in class planet.simulate.Results
 
incTrafficBy(int) - Static method in class planet.simulate.Results
 
init(String) - Method in class planet.behaviour.BehaviourProperties
Initialize correctly the behaviours.
init(String) - Method in class planet.chord.ChordProperties
Initialize all configuration properties of the Chord overlay.
init(String) - Method in class planet.dht.DHTProperties
Initialize all configuration properties of a generic DHT application layer
init(String) - Method in class planet.generic.commonapi.GML.GMLDefaultProperties
Loads the default values specified in the propertiesFile for GML purposes.
init() - Static method in class planet.generic.commonapi.factory.GenericFactory
Initialize the GenericFactory to load the default properties file.
init(Class, String, int) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Initialize the new instance with correct values to generate new Ids.
init() - Static method in class planet.simulate.MessagePool
 
init(String) - Method in class planet.symphony.SymphonyProperties
Initialize all configuration properties of the Symphony overlay.
init(String) - Method in interface planet.util.DHTProperties
Initialize correctly the generic DHT configuration properties.
init(String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator and chord, from the specified files, respectively.
init(String, String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
init(String, String, String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
init(String) - Method in interface planet.util.PropertiesInitializer
Initialize correctly the configuration properties.
init() - Static method in class planet.util.timer.ControlTimer
Initialize the ControlTimer to permit adding Timers.
initDistributedAttr() - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Initializes the protected attributes to permits the uniform distribution of Ids.
initFactories(String) - Static method in class planet.util.Properties
Initializa all attributes for factories.
initSimulator(String) - Static method in class planet.util.Properties
Load all properties for the simulator.
initWithGML(String, String, String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator and chord, from the specified files, respectively.
initWithGML(String, String, String, String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
initWithGML(String, String, String, String, String, String, String) - Static method in class planet.util.Properties
Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
insert(String, String) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Owner SymphonyDHTApplication method which permits to send a Message with a key/value pair, for INSERT.
insert(OrderedList) - Method in class planet.util.OrderedList
 
insertAll(String, SymphonyDHTApplication, Network) - Method in class planet.test.symphonyDHT.SymphonyDHT
This methods insert all keys from a file called insertSet to DHT.
inverse() - Method in class planet.generic.commonapi.RouteMessageImpl
Reverse path.
invoke(RouteMessage, Node) - Method in class planet.behaviour.BehaviourInvoker
This method invokes a behaviour.
invokeByStepToAllApplications() - Method in class planet.generic.commonapi.NodeImpl
Invokes to each registered Application, by the related EndPoint, the byStep() method.
invoked - Variable in class planet.behaviour.BehaviourInvokerStatus
 
isACompliantEdge(GMLEdge) - Method in class planet.chord.GMLConstraintZmod
 
isACompliantEdge(GMLEdge) - Method in interface planet.commonapi.GML.GMLConstraint
This method returns true if a GMLEdgeImpl is compliant according to this GMLConstraint.
isACompliantEdge(GMLEdge) - Method in class planet.generic.commonapi.GML.IdleGMLConstraint
Always return true.
isACompliantNode(Id) - Method in class planet.chord.GMLConstraintZmod
 
isACompliantNode(Id) - Method in interface planet.commonapi.GML.GMLConstraint
This method returns true if a Node is compliant according to this GMLConstraint.
isACompliantNode(Id) - Method in class planet.generic.commonapi.GML.IdleGMLConstraint
Always return true.
isActivated() - Method in class planet.test.scribe.ScribeClientTest
 
isAlive() - Method in class planet.chord.ChordNode
 
isAlive() - Method in interface planet.commonapi.Node
Informs if this node is alive.
isAlive() - Method in class planet.commonapi.NodeHandle
Returns whether or not this node is currently alive
isAlive() - Method in class planet.generic.commonapi.NodeHandleImpl
Inform if the related node is alive.
isAlive() - Method in class planet.symphony.SymphonyNode
 
isDirected() - Method in interface planet.commonapi.GML.GMLEdge
 
isDirected - Variable in class planet.generic.commonapi.GML.GMLEdgeImpl
 
isDirected() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
isEmpty() - Method in class planet.symphony.SortedKList
Tests if this vector has no components.
isEmpty() - Method in class planet.util.Queue
Determine if the queue is empty.
isFinished() - Method in class planet.util.timer.ThreadTimerTask
Inform if this TimerTask has been cancelled.
isFinished() - Method in interface planet.util.timer.TimerTask
Inform that this TimerTask is just cancelled.
isFinished() - Method in class planet.util.timer.TimerTaskImpl
Inform if this TimerTask has been cancelled.
isFull() - Method in class planet.util.Queue
Determines if the queue is not able to accept any new values.
isInvoked() - Method in class planet.behaviour.BehaviourInvokerStatus
 
isLocalMessage(RouteMessage) - Method in interface planet.commonapi.Node
The isLocalMessage's method is an extension method for commonapi specs.
isLocalMessage(RouteMessage) - Method in class planet.generic.commonapi.NodeImpl
The isLocalMessage's method is an extension method for commonapi specs.
isLocalMessage(RouteMessage) - Method in class planet.symphony.SymphonyNode
The isLocalMessage's method is an extension method for commonapi specs.
isNormalized(double) - Method in class planet.behaviour.BehaviourProperties
This method checks wether a double value lies between (0.0, 1.0] range.
isRequest() - Method in class planet.scribe.messaging.ReplicaSetMessage
 
isRoot(Topic) - Method in interface planet.scribe.Scribe
Returns whether or not this Scribe is the root for the given topic
isRoot(Topic) - Method in class planet.scribe.ScribeImpl
Returns whether or not this Scribe is the root for the given topic
isValid(String) - Static method in class planet.generic.commonapi.factory.Topology
Identify if the topology specified is valid or not.
isValidForNew(String) - Static method in class planet.generic.commonapi.factory.Topology
Inform when the specified topology is valid to build new instances with sentence new.
iterator() - Method in interface planet.commonapi.Network
Gets an Iterator to get all nodes.
iterator() - Method in class planet.generic.commonapi.NetworkImpl
Builds an Iterator to iterate over all nodes of the network.
iterator() - Method in class planet.symphony.SortedKList
 

J

JOIN - Static variable in class planet.simulate.Globals
Event type: Adding a new node to the network.
JoinGenerator - class planet.simulate.JoinGenerator.
 
JoinGenerator() - Constructor for class planet.simulate.JoinGenerator
 
JoinListener - class planet.symphony.listeners.JoinListener.
 
JoinListener(SymphonyNode) - Constructor for class planet.symphony.listeners.JoinListener
 
JoinMessage - class planet.symphony.messages.JoinMessage.
 
JoinMessage(NodeHandle, NodeHandle) - Constructor for class planet.symphony.messages.JoinMessage
 
join(Id) - Method in class planet.chord.ChordNode
The node joins in the network
join(Id) - Method in interface planet.commonapi.Node
This Node joins another node identified by nodeId.
join(Id) - Method in class planet.generic.commonapi.NetworkNodeImpl
The node joins in the network
join(Id) - Method in class planet.generic.commonapi.NodeImpl
The node joins in the network
join(Id) - Method in class planet.symphony.SymphonyNode
 
joinNode(Node) - Method in interface planet.commonapi.Network
Joins the node to the ring.
joinNode(Node, Id) - Method in interface planet.commonapi.Network
Network joins a node with specified bootstrap.
joinNode(Node) - Method in class planet.generic.commonapi.NetworkImpl
Add the node to the actual network.
joinNode(Node, Id) - Method in class planet.generic.commonapi.NetworkImpl
Adds node to the network, using the node with Id bootstrap to enter it.
joinNodes(int) - Method in interface planet.commonapi.Network
Generates size Nodes and joins them to the ring.
joinNodes(int, Id[]) - Method in interface planet.commonapi.Network
Generates size new Nodes joins them by any of the bootstraps.
joinNodes(int) - Method in class planet.generic.commonapi.NetworkImpl
Add size nodes to the actual network.
joinNodes(int, Id[]) - Method in class planet.generic.commonapi.NetworkImpl
Add size nodes to the actual network.

K

K - Variable in class planet.symphony.SymphonyProperties
Maximum number of long distance connections.
KeyGen - class planet.util.KeyGen.
 
KeyGen(int, int) - Constructor for class planet.util.KeyGen
 
key - Variable in class planet.generic.commonapi.RouteMessageImpl
Identification key of this message, necessary to known relationships between sent messages and new incoming messages.
kktest1000Join() - Method in class planet.test.SimpleTest
Builds a network with 1000 nodes, based with events file "data/test_join1000r.txt".
kktest1000NetworkJoin() - Method in class planet.test.SimpleTest
Builds a network with 1000 nodes, with the predefined node class at properties file, using network.joinNodes(1000).

L

LEAVE - Static variable in class planet.simulate.Globals
Event type: Node leaving network.
LONG_SIZE - Static variable in class planet.util.Utilities
Size in bits of the long
LOOKUP - Static variable in class planet.simulate.Globals
Event type: Node lookup.
LOOKUP - Static variable in class planet.test.dht.DHTMessage
Lookup message type to be used at constructor.
LOOKUP - Static variable in class planet.test.symphonyDHT.SymphonyDHTMessage
Lookup message type to be used at constructor.
LinkStateResults - class planet.results.LinkStateResults.
LinkStateResults is a class which shows how many incoming messages has been dropped by nodes and how many has been retransmitted towards its destination.
LinkStateResults() - Constructor for class planet.results.LinkStateResults
 
LoadSerializedFile - class planet.test.serialize.LoadSerializedFile.
Builds a network based with a serialized network specified in the properties file.
LoadSerializedFile() - Constructor for class planet.test.serialize.LoadSerializedFile
 
Local - Static variable in class planet.behaviour.Pattern
Overlay property: Local refers to a behaviour which must run only when RouteMessage's pattern is for him.
LocalTraffic - Static variable in class planet.behaviour.BehavioursPoolImpl
Behaviour's Property: Local modifier applied to a behaviour means it only will be scheduled when a RouteMessage has as destination the local node.
Logger - class planet.simulate.Logger.
 
Logger() - Constructor for class planet.simulate.Logger
 
LookupListener - class planet.symphony.listeners.LookupListener.
 
LookupListener(Id, Id) - Constructor for class planet.symphony.listeners.LookupListener
 
leave() - Method in class planet.chord.ChordNode
The node leaves the network
leave() - Method in interface planet.commonapi.Node
This method permits to the actual node to leave the network.
leave() - Method in class planet.generic.commonapi.NetworkNodeImpl
The node leaves the network
leave() - Method in class planet.generic.commonapi.NodeImpl
The node leaves the network
leave() - Method in class planet.symphony.SymphonyNode
 
leaveNodes(Id[]) - Method in interface planet.commonapi.Network
Leave the ring the nodes which his Id appears in the array nodes.
leaveNodes(Id[]) - Method in class planet.generic.commonapi.NetworkImpl
Leave theese nodes for the network.
listeners - Variable in class planet.generic.commonapi.NetworkNodeImpl
 
listeners - Variable in class planet.generic.commonapi.NodeImpl
 
localLookup(Id, int, boolean) - Method in class planet.chord.ChordNode
Returns a list of nodes that can be used as next hops on a route towards key.
localLookup(Id, int, boolean) - Method in interface planet.commonapi.EndPoint
Returns a list of nodes that can be used as next hops on a route towards key.
localLookup(Id, int, boolean) - Method in interface planet.commonapi.Node
Returns a list of nodes that can be used as next hops on a route towards key.
localLookup(Id, int, boolean) - Method in class planet.generic.commonapi.EndPointImpl
Returns a list of nodes that can be used as next hops on a route towards key.
localLookup(Id, int, boolean) - Method in class planet.symphony.SymphonyNode
Returns a list of nodes that can be used as next hops on a route towards key.
log(String, int) - Static method in class planet.simulate.Logger
Logs a message msg with level lvl .
log(String, int, String, int) - Static method in class planet.simulate.Logger
Logs a string combining arguments as following: msg + p1 + msg1
log(String, Object, int) - Static method in class planet.simulate.Logger
Logs any object.
log(Object, String, Object, int) - Static method in class planet.simulate.Logger
Logs the following string: obj + msg + obj2
log(String, Object, String, int) - Static method in class planet.simulate.Logger
Logs the following string: msg + obj + msg2
log(String[], Object[], int) - Static method in class planet.simulate.Logger
Logs a combination of the arguments.
logLevel - Static variable in class planet.util.Properties
Log level during simulation..
logReceive(Id, RouteMessage, int) - Static method in class planet.simulate.Logger
Logs a received RouteMessage
logSend(Id, RouteMessage, int) - Static method in class planet.simulate.Logger
Logs a sent RouteMessage.
lookup(Id) - Method in class planet.chord.ChordNode
Given a key, it generates the message and listener to obtain the owner of this one.
lookup(Id) - Method in class planet.generic.commonapi.NetworkNodeImpl
Lookup of a key
lookup(Id) - Method in class planet.generic.commonapi.NodeImpl
Lookup of a key
lookup(Id) - Method in class planet.symphony.SymphonyNode
 
lookup(String) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Owner SymphonyDHTApplication method which permits to send a Message with a key/value pair, for LOOKUP.
lookupAll(String, int, SymphonyDHTApplication, Network) - Method in class planet.test.symphonyDHT.SymphonyDHT
This method launches several lookup operation into Symphony Ring.

M

MAX - Static variable in class planet.chord.ChordId
Maximum value for the ChordId implementation.
MAX - Variable in class planet.chord.ChordNode
 
MAX - Static variable in class planet.symphony.SymphonyId
Inform the maximum value for this SymphonyId (1.0).
MAX - Static variable in class planet.test.TestPool
Numer of messages (default 100.000).
MAX_ARRAY_SIZE - Static variable in class planet.chord.ChordId
Chord specific constant: Maximum size of array that contains entire identification.
MAX_BITS - Static variable in class planet.chord.ChordId
Chord specific constant: Maximum number of bits for any Id.
MAX_SYMPHONY - Static variable in class planet.symphony.SymphonyId
Symphony specific constant: Maximum value for the internal value of Id.
MESSAGE_TIMEOUT - Static variable in class planet.scribe.ScribeImpl
the timeout for a subscribe message
MINIMAL_NODE_DISTANCE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Minimal Node Distance arranged on a circle
MIN_BITS - Static variable in class planet.chord.ChordId
Chord specific constant: Number of bits saved at any array position.
MODES - Static variable in class planet.chord.ChordNode
This String contains a string representation of each mode value of the RouteMessage.
MODES - Static variable in class planet.symphony.SymphonyNode
This String contains a string representation of each mode value of the RouteMessage.
MODULE - Static variable in class planet.chord.ChordId
Chord specific constant: Each array position contains a maximum representation of MODULE bits.
MSG_LOG - Static variable in class planet.simulate.Logger
Logger level: The less restrictive level of logs.
Message - interface planet.commonapi.Message.
This interface is an abstraction of a message which is sent through the common API-based system.
MessageListener - interface planet.simulate.MessageListener.
 
MessagePool - class planet.simulate.MessagePool.
 
MessagePool() - Constructor for class planet.simulate.MessagePool
 
main(String[]) - Static method in class planet.simulate.GenFileEvents
This main application wait three arguments: name: Filename to save all events.
main(String[]) - Static method in class planet.test.GML.GMLTopology.GMLTopologyTest
Launches GMLTopologyTest app.
main(String[]) - Static method in class planet.test.SimNetTest
This example shows how to build a simple Network, without registered Application's on to the nodes.
main(String[]) - Static method in class planet.test.SimTest
Initialize the planet.util.Properties with ..
main(String[]) - Static method in class planet.test.TestPool
Make a new reference of this class, that runs the test.
main(String[]) - Static method in class planet.test.bad.SimNetTest
This test puts into the same network Chord nodes, but there are a 2% of bad nodes.
main(String[]) - Static method in class planet.test.broadcast.BroadcastTest
Builds a new BroadcastTest and send the message.
main(String[]) - Static method in class planet.test.dht.DHTTest
Initialize a network with the number of nodes specified by command line argument, and inserts all keys/values existing at file claves.txt.
main(String[]) - Static method in class planet.test.factory.TestAppFactory
Test the ApplicationFactoryImpl.
main(String[]) - Static method in class planet.test.factory.TestEndPointFactory
Test the IdFactoryImpl.
main(String[]) - Static method in class planet.test.factory.TestIdFactory
Test the IdFactoryImpl.
main(String[]) - Static method in class planet.test.factory.TestNetFactory
Test the NetworkFactoryImpl.
main(String[]) - Static method in class planet.test.factory.TestNodeFactory
Test the NodeFactoryImpl.
main(String[]) - Static method in class planet.test.factory.TestNodeHandleFactory
Test the NodeHandleFactoryImpl.
main(String[]) - Static method in class planet.test.helloworld.DHTPeerTest
Starts the test, building a network following the values of the properties files and send a simple Hello World message.
main(String[]) - Static method in class planet.test.scribe.ScribePeerTest
Metode principal: rep els arguments i inicialitza el peer servidor
main(String[]) - Static method in class planet.test.serialize.GenSerializedFile
 
main(String[]) - Static method in class planet.test.serialize.LoadSerializedFile
Loads a serialized network from the specified serialized file at properties file.
main(String[]) - Static method in class planet.test.symphonyDHT.SymphonyDHT
Initialize a network with the number of nodes specified by command line argument, and inserts all keys/values existing at file claves.txt.
main(String[]) - Static method in class planet.test.timer.SimulationTimerTest
Make: new SimulationTimerTest();
makeRandomIndexes(int) - Method in class planet.generic.commonapi.NetworkImpl
Returns an array of indexes in range (0..number of nodes) to use to identify which nodes to select.
makeTestMessage(String) - Method in class planet.test.broadcast.DHTApplication
Makes a new instance of a Message to be sent with the specified data.
makeTestMessage(String) - Method in class planet.test.helloworld.DHTApplication
Build a new DHTPeerTestMessage with the specified data.
maliciousDistribution - Variable in class planet.behaviour.BehaviourProperties
 
map(String) - Method in class planet.behaviour.Pattern
Maps a property to specific quantifier.
maxChildren - Variable in class planet.scribe.ScribePolicy.LimitedScribePolicy
The number of children to allow per topic
maxJoinRetries - Variable in class planet.symphony.SymphonyProperties
Maximum number of retries to enter to the network by the same bootstrap.
maxRetriesNewLongDistance - Variable in class planet.symphony.SymphonyProperties
Maximum number of retries to obtain a connection to the same long distance node.
message - Variable in class planet.generic.commonapi.RouteMessageImpl
Message (data) to be routed
minimalNodeDistance - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Minimal Node Distance arranged on a circle
mode - Variable in class planet.generic.commonapi.RouteMessageImpl
Mode of this message.
modeToString(int) - Method in class planet.chord.ChordProperties
Returns a string representation of each of event mode and RouteMessage mode.
modeToString(int) - Static method in class planet.simulate.Globals
Returns a string representation of each of event mode and RouteMessage mode.
modeToString(int) - Method in class planet.symphony.SymphonyProperties
Returns a string representation of each of event mode and RouteMessage mode.
modeToString(int) - Method in interface planet.util.OverlayProperties
Returns a string representation of each of event mode and RouteMessage mode.
msgProcess - Static variable in class planet.util.Properties
Message processing.

N

NEUTRAL_MASK - Static variable in class planet.behaviour.BehavioursPoolImpl
 
NOTIFY - Static variable in class planet.chord.ChordNode
Type value: Informs to the node that receive this message its inmediate predecessor.
NULL_MASK - Static variable in class planet.behaviour.BehavioursPoolImpl
 
NeighbourMessage - class planet.symphony.messages.NeighbourMessage.
Is a neighbour's set performed as a message.
NeighbourMessage() - Constructor for class planet.symphony.messages.NeighbourMessage
 
NeighbourMessage(Collection) - Constructor for class planet.symphony.messages.NeighbourMessage
 
Network - interface planet.commonapi.Network.
This interface abstacts any ring or network of Nodes.
NetworkFactory - interface planet.commonapi.factory.NetworkFactory.
This interface is focused to allow the ability of build networks of different topologies, size and Nodes.
NetworkFactoryImpl - class planet.generic.commonapi.factory.NetworkFactoryImpl.
This factory abstracts a NetworkFactory.
NetworkFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a new instance of NetworkFactory reading all necessary properties from propertiesFile.
NetworkFactoryImpl(Class, Class, Class, Class, Class, String, int) - Constructor for class planet.generic.commonapi.factory.NetworkFactoryImpl
Builds a new instance of the NetworkFactory using all specified parameters.
NetworkImpl - class planet.generic.commonapi.NetworkImpl.
This implementation of Network interface pretends to abstract any network, based with the actual commonapi, of course.
NetworkImpl(NodeFactory) - Constructor for class planet.generic.commonapi.NetworkImpl
Initialize the network with: No nodes.
NetworkImpl.NetworkIterator - class planet.generic.commonapi.NetworkImpl.NetworkIterator.
This class implements the java.util.Iterator interface and is backed up by TreeMap that contains all existing nodes on the network.
NetworkImpl.NetworkIterator(TreeMap) - Constructor for class planet.generic.commonapi.NetworkImpl.NetworkIterator
Initialize the key set iterator over the HashMap.
NetworkNodeImpl - class planet.generic.commonapi.NetworkNodeImpl.
Superclass which represents a node in a peer-to-peer system, regardless of the underlying protocol.
NetworkNodeImpl(Id) - Constructor for class planet.generic.commonapi.NetworkNodeImpl
Constructor, create a new Node instance with node Id
NetworkSimulator - class planet.simulate.NetworkSimulator.
The simulator is the main class.
NetworkSimulator(IScheduler) - Constructor for class planet.simulate.NetworkSimulator
Constructor, create a new simulation with a determinate event scheduler and a new network.
NetworkSimulator(IScheduler, Network) - Constructor for class planet.simulate.NetworkSimulator
Constructor, create a new simulation with a determinate event scheduler
NetworkSimulator(IScheduler, Network, String, String, String) - Constructor for class planet.simulate.NetworkSimulator
Constructor that generates a new instance of Network and prepares its simulation using the parameters specified in the properties file.
Neutral - Static variable in class planet.behaviour.Pattern
Overlay property: Neutral refers to a behvaiour which must run always despite node's role is bad or good.
NewSuccInListMessage - class planet.symphony.messages.NewSuccInListMessage.
 
NewSuccInListMessage(NodeHandle, int) - Constructor for class planet.symphony.messages.NewSuccInListMessage
 
NoBehaviourDispatchedException - exception planet.behaviour.exception.NoBehaviourDispatchedException.
This Exception is thrown whenever a incoming RouteMessage pattern match a set of behaviours but no one has been dispatched.
NoBehaviourDispatchedException() - Constructor for class planet.behaviour.exception.NoBehaviourDispatchedException
Generates new instance with default message.
NoBehaviourDispatchedException(String) - Constructor for class planet.behaviour.exception.NoBehaviourDispatchedException
Generates nes instance with the specified message
NoBehaviourDispatchedException(String, Throwable) - Constructor for class planet.behaviour.exception.NoBehaviourDispatchedException
Inicialization of the new instance.
NoBehaviourDispatchedException(Throwable) - Constructor for class planet.behaviour.exception.NoBehaviourDispatchedException
Initialization of the new instance.
NoReplacingOutputStream - class planet.io.NoReplacingOutputStream.
This class abstracts an stream that is capable of no replace the new saved status, according a specified boolean flag.
NoReplacingOutputStream(String, boolean) - Constructor for class planet.io.NoReplacingOutputStream
Constructor that initialize this stream with the specified base filename.
NoSuchBehaviourException - exception planet.behaviour.exception.NoSuchBehaviourException.
This Exception is thrown whenever a incoming RouteMessage pattern does not match any Behaviour pattern on BehavioursPool scheduler.
NoSuchBehaviourException() - Constructor for class planet.behaviour.exception.NoSuchBehaviourException
Generates new instance with default message.
NoSuchBehaviourException(String) - Constructor for class planet.behaviour.exception.NoSuchBehaviourException
Generates nes instance with the specified message
NoSuchBehaviourException(String, Throwable) - Constructor for class planet.behaviour.exception.NoSuchBehaviourException
Inicialization of the new instance.
NoSuchBehaviourException(Throwable) - Constructor for class planet.behaviour.exception.NoSuchBehaviourException
Initialization of the new instance.
NoSuchMessagePerformative - exception planet.results.NoSuchMessagePerformative.
This Exception is thrown whenever a incoming RouteMessage pattern does not match any Message Status on LinkState results.
NoSuchMessagePerformative() - Constructor for class planet.results.NoSuchMessagePerformative
Generates new instance with default message.
NoSuchMessagePerformative(String) - Constructor for class planet.results.NoSuchMessagePerformative
Generates nes instance with the specified message
NoSuchMessagePerformative(String, Throwable) - Constructor for class planet.results.NoSuchMessagePerformative
Inicialization of the new instance.
NoSuchMessagePerformative(Throwable) - Constructor for class planet.results.NoSuchMessagePerformative
Initialization of the new instance.
Node - interface planet.commonapi.Node.
Interface which represents a node in a peer-to-peer system, regardless of the underlying protocol.
NodeFactory - interface planet.commonapi.factory.NodeFactory.
It's a factory for Nodes abstraction.
NodeFactoryImpl - class planet.generic.commonapi.factory.NodeFactoryImpl.
This is a specific implementation of NodeFactory that permits build any class of Node with any type of Id.
NodeFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.NodeFactoryImpl
This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes.
NodeFactoryImpl(Class, Class, Class, String, int) - Constructor for class planet.generic.commonapi.factory.NodeFactoryImpl
Initializes a new instance of NodeFactory with the classes idFactory and nodeClass specifieds by parameter.
NodeFactoryImpl(IdFactory, Class, String) - Constructor for class planet.generic.commonapi.factory.NodeFactoryImpl
Initializes a new instance of NodeFactory with the idFactory and nodeClass specifieds by parameter.
NodeFlowStatus - class planet.results.NodeFlowStatus.
NodeFlowStaus is a class designed to keep track of flow on each node on the overlay.
NodeFlowStatus(Id) - Constructor for class planet.results.NodeFlowStatus
 
NodeHandle - class planet.commonapi.NodeHandle.
This interface is an abstraction of a node handle from the CommonAPI paper.
NodeHandle() - Constructor for class planet.commonapi.NodeHandle
 
NodeHandleFactory - interface planet.commonapi.factory.NodeHandleFactory.
It's a factory for NodeHandles abstraction.
NodeHandleFactoryImpl - class planet.generic.commonapi.factory.NodeHandleFactoryImpl.
This is a specific implementation of NodeHandleFactory that permits build any class of NodeHandle with any type of Id.
NodeHandleFactoryImpl(String) - Constructor for class planet.generic.commonapi.factory.NodeHandleFactoryImpl
This constructor reads the properties' file and initializes the Class for new NodeHandles.
NodeHandleFactoryImpl(Class) - Constructor for class planet.generic.commonapi.factory.NodeHandleFactoryImpl
Initializes a new instance of NodeHandleFactory with the nodeHandleClass specified by parameter.
NodeHandleImpl - class planet.generic.commonapi.NodeHandleImpl.
NodeHandle for node.
NodeHandleImpl(Id, boolean) - Constructor for class planet.generic.commonapi.NodeHandleImpl
Builds a new NodeHandle for a Node, only identify its Id and sets its alive flag.
NodeImpl - class planet.generic.commonapi.NodeImpl.
Superclass which represents a node in a peer-to-peer system, regardless of the underlying protocol.
NodeImpl(Id) - Constructor for class planet.generic.commonapi.NodeImpl
Constructor, create a new Node instance with node Id
NodeMessage - class planet.chord.message.NodeMessage.
Chord uses this message to inform to another one any NodeHandle that it is required.
NodeMessage(NodeHandle) - Constructor for class planet.chord.message.NodeMessage
Shows the NodeHandle to send with this message.
NumberOfModes - Static variable in interface planet.behaviour.BehavioursPool
 
NumberOfModes - Static variable in class planet.symphony.SymphonyNode
 
NumberOfTypes - Static variable in interface planet.behaviour.BehavioursPool
 
NumberOfTypes - Static variable in class planet.symphony.SymphonyNode
 
neighborSet(int) - Method in class planet.chord.ChordNode
 
neighborSet(int) - Method in interface planet.commonapi.EndPoint
Obtains an unordered list of up to max nodes that are neighbors of the local node.
neighborSet(int) - Method in interface planet.commonapi.Node
Obtains an unordered list of up to max nodes that are neighbors of the local node.
neighborSet(int) - Method in class planet.generic.commonapi.EndPointImpl
Obtains an unordered list of up to max nodes that are neighbors of the local node.
neighborSet(int) - Method in class planet.symphony.SymphonyNode
Obtains an unordered list of up to max nodes that are neighbors of the local node.
neighbourSetContains(NodeHandle) - Method in class planet.symphony.SymphonyNode
 
networkClass - Static variable in class planet.util.Properties
Class of Network implementation.
networkConstructor - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
The Constructor for Networks.
networkSize - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Network size for the target network.
networkSize - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
The default network size to use for build a network.
networkSize - Static variable in class planet.util.Properties
Network size to build.
networkStabilized(boolean) - Method in class planet.chord.ChordNode
The networkStabilized's method is a callback method used for the network simulator to notify to all nodes the stabilization process has finished and the topology is built up.
networkStabilized(boolean) - Method in interface planet.commonapi.Node
The networkStabilized's method is a callback method used for the network simulator to notify to all nodes the stabilization process has finished and the topology is built up.
networkStabilized(boolean) - Method in class planet.symphony.SymphonyNode
The networkStabilized's method is a callback method used for the network simulator to notify to all nodes the stabilization process has finished and the topology is built up.
newMessage(RouteMessage) - Static method in class planet.results.LinkStateResults
Stores a new RouteMessage has built up in order to be sent in a few steps.
newMessageOnlyByType(RouteMessage) - Static method in class planet.results.LinkStateResults
Stores a new RouteMessage has built up in order to be sent in a few steps.
next() - Method in class planet.generic.commonapi.NetworkImpl.NetworkIterator
Returns the next Node.
next() - Method in class planet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator
The next Id or null if all networkSize Id has been generated.
next() - Method in class planet.util.OrderedList
 
nextHop - Variable in class planet.generic.commonapi.RouteMessageImpl
Next node to arrive
nextMessage() - Method in class planet.generic.commonapi.NetworkNodeImpl
Return the next message and dequeue this of the incoming queue
nextMessage() - Method in class planet.generic.commonapi.NodeImpl
Return the next message and dequeue this of the incoming queue
nodeClass - Variable in class planet.behaviour.BehavioursPoolImpl
 
nodeClass - Static variable in class planet.util.Properties
Node implementation class.
nodeFactClass - Static variable in class planet.util.Properties
NodeFactory implementation class.
nodeFactory - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
The NodeFactory actually in use.
nodeHandle - Variable in class planet.generic.commonapi.NetworkNodeImpl
NodeHandle for the actual Node.
nodeHandle - Variable in class planet.generic.commonapi.NodeImpl
NodeHandle for the actual Node.
nodeHandleClass - Static variable in class planet.util.Properties
NodeHandle implementation class.
notify(NodeHandle) - Method in class planet.chord.ChordNode
Verify if the indicated node is the true predecessor
null_pointers - Variable in class planet.chord.ChordNode
 
numMessagesTime(Id, int, int, String) - Static method in class planet.simulate.Results
 
numberModes - Variable in class planet.behaviour.BehavioursPoolImpl
 
numberTypes - Variable in class planet.behaviour.BehavioursPoolImpl
 

O

ONE_CHORD - Static variable in class planet.chord.ChordId
Chord specific constant: The value of one (1) of internal value of Id.
OUTLINE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Color Of The Border Line
OrderedList - class planet.util.OrderedList.
 
OrderedList(Object, int) - Constructor for class planet.util.OrderedList
 
OutOfRangeError - error planet.behaviour.exception.OutOfRangeError.
This Exception is thrown whenever a incoming RouteMessage pattern has type or mode out of range.
OutOfRangeError() - Constructor for class planet.behaviour.exception.OutOfRangeError
Generates new instance with default message.
OutOfRangeError(String) - Constructor for class planet.behaviour.exception.OutOfRangeError
Generates nes instance with the specified message
OutOfRangeError(String, Throwable) - Constructor for class planet.behaviour.exception.OutOfRangeError
Inicialization of the new instance.
OutOfRangeError(Throwable) - Constructor for class planet.behaviour.exception.OutOfRangeError
Initialization of the new instance.
OverlayProperties - interface planet.util.OverlayProperties.
This interface permits to implement as static form This interficie allows to implement all the own properties of configuration of the overlay network under a same instance.
onMessage(RouteMessage, Node) - Method in interface planet.behaviour.Behaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in interface planet.behaviour.BehavioursPool
Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
onMessage(RouteMessage, Node) - Method in class planet.behaviour.BehavioursPoolImpl
Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
onMessage(RouteMessage) - Method in class planet.chord.ChordNode.FindPredListener
 
onMessage(RouteMessage) - Method in class planet.chord.ChordNode.FindSuccListener
 
onMessage(RouteMessage) - Method in class planet.chord.ChordNode.GetPreListener
 
onMessage(RouteMessage) - Method in class planet.chord.ChordNode.LookupListener
 
onMessage(RouteMessage) - Method in interface planet.simulate.MessageListener
 
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.AcceptConnectBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.CancelConnectBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.CloseLongConnectBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.CloseNeighbourConnectBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.DataBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.DropBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.QueryConnectBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.QueryJoinBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.RoutingBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage, Node) - Method in class planet.symphony.behaviours.SetInfoBehaviour
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
onMessage(RouteMessage) - Method in class planet.symphony.listeners.FindSuccListener
 
onMessage(RouteMessage) - Method in class planet.symphony.listeners.JoinListener
 
onMessage(RouteMessage) - Method in class planet.symphony.listeners.LookupListener
 
options - Variable in class planet.generic.commonapi.RouteMessageImpl
RouteMessage additional options.
outMessages() - Method in class planet.chord.ChordNode
Overwrites the outMessages to evaluates the internal flag hasFailed for not to deliver the outgoing queue of messages.
outMessages() - Method in interface planet.commonapi.Node
Returns the outgoing queue with message to be send.
outMessages() - Method in class planet.generic.commonapi.NetworkNodeImpl
Returns the present outgoing queue of this node
outMessages() - Method in class planet.generic.commonapi.NodeImpl
Returns the present outgoing queue of this node
outline - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Color Of The Border Line
outputFile - Static variable in class planet.util.Properties
Filename to use to save the actual state by serialization.
overlayPropertiesClass - Static variable in class planet.util.Properties
Class with all overlay properties.
overlayProps - Static variable in class planet.util.Properties
This contains all properties for the concrete overlay.

P

PRINT_LOG - Static variable in class planet.simulate.Logger
Logger level: Permits to show a bigger number of logs.
PROPERTIES_FILE - Static variable in class planet.generic.commonapi.factory.GenericFactory
Properties file to use by default.
PROXIMITY_CHANGED - Static variable in class planet.commonapi.NodeHandle
 
Pattern - class planet.behaviour.Pattern.
This class stores a pattern for incoming messages on a node.
Pattern(Class, String, String, double, String, String) - Constructor for class planet.behaviour.Pattern
 
PatternStatus - class planet.results.PatternStatus.
Statistic class pattern-oriented.
PatternStatus(String) - Constructor for class planet.results.PatternStatus
 
PatternStatus(String, String) - Constructor for class planet.results.PatternStatus
 
Properties - class planet.util.Properties.
 
Properties() - Constructor for class planet.util.Properties
 
PropertiesInitializer - interface planet.util.PropertiesInitializer.
Offers the minimal functionallity for a properties initializer of any type.
PublishMessage - class planet.scribe.messaging.PublishMessage.
The publish message.
PublishMessage(NodeHandle, Topic, ScribeContent) - Constructor for class planet.scribe.messaging.PublishMessage
 
PublishRequestMessage - class planet.scribe.messaging.PublishRequestMessage.
The publish message.
PublishRequestMessage(NodeHandle, Topic, ScribeContent) - Constructor for class planet.scribe.messaging.PublishRequestMessage
 
parent - Variable in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE FIELD
parseBigInteger(BigInteger) - Method in class planet.chord.ChordId
Translate the BigInteger value to an Id, partitioning it to fragments of 32 bits.
parseBoolean(String) - Static method in class planet.util.Utilities
Parses the string argument as a boolean.
parseEvents(String) - Static method in class planet.simulate.EventParser
 
parseEvents(Vector) - Method in class planet.simulate.NetworkSimulator
Prepares all events to simulate from a events vector
parseEvents(Vector) - Method in class planet.simulate.Simulator
Prepares all events to simulate from a events vector
parseFail(IEvent) - Method in class planet.simulate.NetworkSimulator
Prepares the fail event to simulate from a event interface
parseFail(IEvent) - Method in class planet.simulate.Simulator
Prepares the fail event to simulate from a event interface
parseJoin(StringTokenizer, int, int) - Static method in class planet.simulate.EventParser
 
parseJoin(IEvent) - Method in class planet.simulate.NetworkSimulator
Prepares the join event to simulate from a event interface
parseJoin(IEvent) - Method in class planet.simulate.Simulator
Prepares the join event to simulate from a event interface
parseLeave(IEvent) - Method in class planet.simulate.NetworkSimulator
Prepares the leave event to simulate from a event interface
parseLeave(IEvent) - Method in class planet.simulate.Simulator
Prepares the leave event to simulate from a event interface
parseLeaveFail(StringTokenizer, int, int) - Static method in class planet.simulate.EventParser
 
parseLine(String) - Static method in class planet.simulate.EventParser
 
parseLookup(StringTokenizer, int, int) - Static method in class planet.simulate.EventParser
 
parseLookup(IEvent) - Method in class planet.simulate.Simulator
Prepares the lookup event to simulate from a event interface
pathToRoot - Variable in class planet.scribe.ScribeImpl.TopicManager
The current path to the root for this node
pathToRoot - Variable in class planet.scribe.messaging.SubscribeAckMessage
The contained path to the root
patterns - Variable in class planet.behaviour.BehaviourProperties
 
peekNext() - Method in class planet.scribe.messaging.AnycastMessage
Returns the next handle to visit
percentageOfMalicious - Variable in class planet.behaviour.BehaviourProperties
 
planet.badchord - package planet.badchord
 
planet.behaviour - package planet.behaviour
 
planet.behaviour.exception - package planet.behaviour.exception
 
planet.chord - package planet.chord
 
planet.chord.message - package planet.chord.message
 
planet.commonapi - package planet.commonapi
 
planet.commonapi.GML - package planet.commonapi.GML
 
planet.commonapi.exception - package planet.commonapi.exception
 
planet.commonapi.factory - package planet.commonapi.factory
 
planet.dht - package planet.dht
 
planet.generic.commonapi - package planet.generic.commonapi
 
planet.generic.commonapi.GML - package planet.generic.commonapi.GML
 
planet.generic.commonapi.factory - package planet.generic.commonapi.factory
 
planet.generic.commonapi.message - package planet.generic.commonapi.message
 
planet.io - package planet.io
 
planet.results - package planet.results
 
planet.scribe - package planet.scribe
 
planet.scribe.messaging - package planet.scribe.messaging
 
planet.simulate - package planet.simulate
 
planet.symphony - package planet.symphony
 
planet.symphony.behaviours - package planet.symphony.behaviours
 
planet.symphony.listeners - package planet.symphony.listeners
 
planet.symphony.messages - package planet.symphony.messages
 
planet.test - package planet.test
 
planet.test.GML.GMLTopology - package planet.test.GML.GMLTopology
 
planet.test.bad - package planet.test.bad
 
planet.test.broadcast - package planet.test.broadcast
 
planet.test.dht - package planet.test.dht
 
planet.test.factory - package planet.test.factory
 
planet.test.helloworld - package planet.test.helloworld
 
planet.test.scribe - package planet.test.scribe
 
planet.test.serialize - package planet.test.serialize
 
planet.test.symphonyDHT - package planet.test.symphonyDHT
 
planet.test.timer - package planet.test.timer
 
planet.util - package planet.util
 
planet.util.timer - package planet.util.timer
 
playsGoodRole() - Method in interface planet.commonapi.Node
The playsGoodRole's method is an extension method for commonapi specs.
playsGoodRole() - Method in class planet.generic.commonapi.NodeImpl
The playsGoodRole's method is an extension method for commonapi specs.
policy - Variable in class planet.scribe.ScribeImpl
this scribe's policy
pop() - Method in class planet.util.OrderedList
 
predecessor - Variable in class planet.chord.ChordNode
 
prettyPrintAll() - Method in class planet.behaviour.BehavioursPoolImpl
 
prettyPrintNode() - Method in class planet.chord.ChordNode
Shows for System.out only the owner Id, its predecessor and successor.
prettyPrintNode() - Method in interface planet.commonapi.Node
Shows for System.out only the owner Id, its predecessor and successor.
prettyPrintNode() - Method in class planet.symphony.SymphonyNode
 
prettyPrintNodes() - Method in interface planet.commonapi.Network
Shows for each node, its Id, predecessor and successor.
prettyPrintNodes() - Method in class planet.generic.commonapi.NetworkImpl
Shows only the owner Id, the successor and predecessor for each Node.
prev() - Method in class planet.util.OrderedList
 
previousHop - Variable in class planet.generic.commonapi.RouteMessageImpl
Previous node on path to current node.
previousParent - Variable in class planet.scribe.messaging.SubscribeMessage
The previous parent
print() - Static method in class planet.simulate.Results
 
printByNode() - Static method in class planet.results.LinkStateResults
Prints Link State Results per Node's flow.
printByType() - Static method in class planet.results.LinkStateResults
Prints Link State Results per RouteMessage's type and node.
printDHTProperties() - Method in class planet.test.symphonyDHT.SymphonyDHT
This method prints all DHT Properties.
printMap(int) - Method in class planet.behaviour.BehavioursPoolImpl
 
printNode() - Method in class planet.chord.ChordNode
Shows for System.out all information of the node, including finger table.
printNode() - Method in interface planet.commonapi.Node
Shows for System.out all information of the node, including finger table.
printNode() - Method in class planet.symphony.SymphonyNode
 
printNodes() - Method in interface planet.commonapi.Network
Shows for System.out all information of all nodes, including its finger table.
printNodes() - Method in class planet.generic.commonapi.NetworkImpl
Shows for each Node its printNode().
printNodes() - Method in class planet.simulate.NetworkSimulator
 
printNodes() - Method in class planet.simulate.Simulator
 
printPatterns() - Method in class planet.behaviour.BehaviourProperties
Prints sorted patterns from more-to-less specific.
prob - Variable in class planet.behaviour.BehaviourInvoker
Behaviour property: probability to be checked.
process(int) - Method in class planet.chord.ChordNode
Given a time fraction, treats the messages and executes the periodicas actions, as for example, the stabilization methods
process(int) - Method in interface planet.commonapi.Node
It permits to the node to send messages, run stabilization, etc.
process() - Method in class planet.generic.commonapi.NetworkImpl
Process all nodes one step at this network.
process(int) - Method in class planet.generic.commonapi.NetworkNodeImpl
Given a time fraction, the node it can do everything what needs during this
process(int) - Method in class planet.generic.commonapi.NodeImpl
Given a time fraction, the node it can do everything what needs during this
process(int) - Method in class planet.symphony.SymphonyNode
 
propertiesFile - Variable in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Properties file to be read to capture the defaultApplication.
propertiesFile - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Properties file name whose read properties.
propertiesFile - Variable in class planet.generic.commonapi.factory.NodeFactoryImpl
Properties file name whose read properties.
pt - Variable in class planet.chord.GMLConstraintZmod
 
publish(Topic, ScribeContent) - Method in interface planet.scribe.Scribe
Publishes the given message to the topic.
publish(Topic, ScribeContent) - Method in class planet.scribe.ScribeImpl
Publishes the given message to the topic.

Q

QUERY_CONNECT - Static variable in class planet.symphony.SymphonyNode
 
QUERY_JOIN - Static variable in class planet.symphony.SymphonyNode
Type value: First message that is send by any node to get its inmediate successor.
QueryConnectBehaviour - class planet.symphony.behaviours.QueryConnectBehaviour.
QueryConnectBehaviour determines if the QUERY_CONNECT issuer can connect or not to a remote node.
QueryConnectBehaviour() - Constructor for class planet.symphony.behaviours.QueryConnectBehaviour
 
QueryJoinBehaviour - class planet.symphony.behaviours.QueryJoinBehaviour.
This behaviour accepts QUERY_JOIN requests.
QueryJoinBehaviour() - Constructor for class planet.symphony.behaviours.QueryJoinBehaviour
 
QueryJoinSetMessage - class planet.symphony.messages.QueryJoinSetMessage.
 
QueryJoinSetMessage(Set) - Constructor for class planet.symphony.messages.QueryJoinSetMessage
 
Queue - class planet.util.Queue.
An implementation of queues based on arrays.
Queue(int) - Constructor for class planet.util.Queue
Construct a queue holding at most size elements.
QueueFull - exception planet.util.QueueFull.
 
QueueFull() - Constructor for class planet.util.QueueFull
 
queueSize - Static variable in class planet.util.Properties
Size of message queues.

R

RANDOM - Static variable in class planet.generic.commonapi.factory.Topology
This topology specify that the Id of nodes are distributed randomly.
REFRESH - Static variable in class planet.chord.ChordNode
Mode value: Defines a message's mode that requires only communication on one way.
REFRESH - Static variable in class planet.symphony.SymphonyNode
Mode value: Defines a message's mode that requires only communication on one way.
REPLY - Static variable in class planet.chord.ChordNode
Mode value: Defines the response of a communication.
REPLY - Static variable in class planet.symphony.SymphonyNode
Mode value: Defines the response of a communication.
REQUEST - Static variable in class planet.chord.ChordNode
Mode value: Defines the start of communication that requires response (REPLY).
REQUEST - Static variable in class planet.symphony.SymphonyNode
Mode value: Defines the start of communication that requires response (REPLY).
ROLE_SELECTOR - Static variable in class planet.behaviour.BehaviourProperties
Behaviour.Property: Specifies Node's role according to some distribuiton.
Remote - Static variable in class planet.behaviour.Pattern
Overlay property: Remote refers to a behaviour which must run only when RouteMessage's pattern is for another peer rather than him.
RemoteTraffic - Static variable in class planet.behaviour.BehavioursPoolImpl
Behaviour's Property: Remote modifier applied to a behaviour means it only will be scheduled when a RouteMessage has as destination a remode node and needs to be rerouted trough the strucutred overlay again.
ReplicaSetMessage - class planet.scribe.messaging.ReplicaSetMessage.
Message of data to be send a request of the replica set of an another node
ReplicaSetMessage(Id, int) - Constructor for class planet.scribe.messaging.ReplicaSetMessage
Builds the message to inform the maximum number of replica set that is required.
ReplicaSetMessage(Id, Vector) - Constructor for class planet.scribe.messaging.ReplicaSetMessage
Builds the message to inform the required replica set.
Results - class planet.simulate.Results.
 
Results() - Constructor for class planet.simulate.Results
 
RouteMessage - interface planet.commonapi.RouteMessage.
This interface is a container which represents a message, as it is about to be forwarded to another node.
RouteMessageImpl - class planet.generic.commonapi.RouteMessageImpl.
Message that wold be routed throwghout network.
RouteMessageImpl(String, NodeHandle, NodeHandle, Message, NodeHandle) - Constructor for class planet.generic.commonapi.RouteMessageImpl
Constructor who initialize all data.
RouteMessageImpl(String, NodeHandle, NodeHandle, NodeHandle, Message, String, int, int) - Constructor for class planet.generic.commonapi.RouteMessageImpl
Sets all values of the actual RouteMessage, before to be sent.
RoutingBehaviour - class planet.symphony.behaviours.RoutingBehaviour.
This behaviour routes RouteMessages towards RemoteNodes.
RoutingBehaviour() - Constructor for class planet.symphony.behaviours.RoutingBehaviour
 
random - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Random generator for random Id's.
range(NodeHandle, Id, Id, Id) - Method in class planet.chord.ChordNode
 
range(NodeHandle, Id, Id, Id) - Method in interface planet.commonapi.EndPoint
This operation provides information about ranges of keys for which the node is currently a root.
range(NodeHandle, Id, Id, Id) - Method in interface planet.commonapi.Node
This operation provides information about ranges of keys for which the node is currently a root.
range(NodeHandle, Id, Id, Id) - Method in class planet.generic.commonapi.EndPointImpl
 
range(NodeHandle, Id, Id, Id) - Method in class planet.symphony.SymphonyNode
This methods ALWAYS return false.
readIdFactoryObject(ObjectInputStream) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
This method must be invoked by the different IdFactory implementation to recover all Constructors that this class contains.
realStabilizationRate - Variable in class planet.chord.ChordNode
Number of simulation steps without changes on finger table, that represents a real stabilization of this node.
receive(RouteMessage) - Method in interface planet.commonapi.Node
This method is invoked to send a message msg to the actual Node (another ----> me).
receive(RouteMessage) - Method in class planet.generic.commonapi.NetworkNodeImpl
Puts a message in the incoming queue of this node
receive(RouteMessage) - Method in class planet.generic.commonapi.NodeImpl
Puts a message in the incoming queue of this node
registerApplication(Id[]) - Method in interface planet.commonapi.Network
Register to all Nodes whose Id appears in array Ids of nodes the Application specified at properties file.
registerApplication(Application, String) - Method in interface planet.commonapi.Node
This returns a VirtualizedNode specific to the given application and instance name to the application, which the application can then use in order to send and receive messages.
registerApplication(Id[]) - Method in class planet.generic.commonapi.NetworkImpl
Register the Application specified at properties file to the specified nodes by theirs Ids.
registerApplication(Application, String) - Method in class planet.generic.commonapi.NetworkNodeImpl
This returns a VirtualizedNode specific to the given application and instance name to the application, which the application can then use in order to send an receive messages.
registerApplication(Application, String) - Method in class planet.generic.commonapi.NodeImpl
This returns a VirtualizedNode specific to the given application and instance name to the application, which the application can then use in order to send an receive messages.
registerApplicationAll() - Method in interface planet.commonapi.Network
Register to all Nodes in this network the Applicaton specified at properties file.
registerApplicationAll() - Method in class planet.generic.commonapi.NetworkImpl
Register the Application app to all nodes existing at the underlying network.
registerApplicationRandom(int) - Method in interface planet.commonapi.Network
Register the Application specified at properties file radomly to a maximum number of Nodes specified by nodes.
registerApplicationRandom(int) - Method in class planet.generic.commonapi.NetworkImpl
Register the Application app to radomly at the number of Nodes nodes.
remove() - Method in class planet.generic.commonapi.NetworkImpl.NetworkIterator
Remove the actual element of the HashMap.
remove() - Method in class planet.generic.commonapi.factory.IdFactoryImpl.DistributedIdIterator
This method is not implemented and throws a NoSuchMethodError error always.
remove(NodeHandle) - Method in class planet.scribe.messaging.AnycastMessage
Removes the node handle from the to visit and visited lists
remove(Object) - Method in class planet.symphony.SortedKList
Removes an object from neighbour's Set.
remove(NodeHandle) - Method in class planet.symphony.SymphonyNode
 
remove() - Method in class planet.util.Queue
Remove a value from the head of the queue.
removeChild(Topic, NodeHandle) - Method in interface planet.scribe.Scribe
Removes a child from the given topic
removeChild(NodeHandle) - Method in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE METHOD
removeChild(Topic, NodeHandle) - Method in class planet.scribe.ScribeImpl
Removes a child from the given topic
removeChild(Topic, NodeHandle, boolean) - Method in class planet.scribe.ScribeImpl
Removes a child from the given topic
removeClient(ScribeClient) - Method in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE METHOD
removeMessageListener(String) - Method in class planet.generic.commonapi.NetworkNodeImpl
Remove the message listener of the node
removeMessageListener(String) - Method in class planet.generic.commonapi.NodeImpl
Remove the message listener of the node
removeNodes() - Method in class planet.simulate.Simulator
Removes the ready nodes to delete
removePeriodicGenerator(IEventGenerator) - Method in interface planet.simulate.IScheduler
 
removePeriodicGenerator(IEventGenerator) - Method in class planet.simulate.Scheduler
 
replaceOutputFile - Static variable in class planet.util.Properties
Flag to show if the output file must be replaced or not.
replicaSet(Id, int) - Method in class planet.chord.ChordNode
 
replicaSet(Id, int) - Method in interface planet.commonapi.EndPoint
Returns an ordered set of nodes on which replicas of the object with this key can be stored.
replicaSet(Id, int) - Method in interface planet.commonapi.Node
Returns an ordered set of nodes on which replicas of the object with this key can be stored.
replicaSet(Id, int) - Method in class planet.generic.commonapi.EndPointImpl
 
replicaSet(Id, int) - Method in class planet.symphony.SymphonyNode
Returns an ordered set of nodes on which replicas of the object with this key can be stored.
replicationRatio - Variable in class planet.dht.DHTProperties
Number of replicas
replicationStabSteps - Variable in class planet.dht.DHTProperties
Number of step to run replica's maintenance algorithm
replies - Variable in class planet.behaviour.BehaviourInvokerStatus
 
resetInserts() - Static method in class planet.simulate.Results
 
resetLinkState() - Static method in class planet.results.LinkStateResults
Resets the LinkState results;
resetLookups() - Static method in class planet.simulate.Results
 
responseArrived() - Method in interface planet.scribe.IsRootListener
This method is the standard callback provided for isRoot calls.
retriesNewLongDistance - Variable in class planet.symphony.SymphonyNode
 
retrieve(SymphonyDHTMessage) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
This method retrieves value from a key from the dsitributed repository build on top of Symphony Lookup protocol.
role - Variable in class planet.generic.commonapi.NodeImpl
 
route(Id, Message, NodeHandle) - Method in interface planet.commonapi.EndPoint
This method makes an attempt to route the message to the root of the given id.
route(Id, Message, NodeHandle) - Method in class planet.generic.commonapi.EndPointImpl
This method makes an attempt to route the message to the root of the given id.
route - Variable in class planet.generic.commonapi.RouteMessageImpl
Route from the source to the destination.
route(NodeHandle) - Method in class planet.symphony.SymphonyNode
 
routeData(String, NodeHandle, NodeHandle, Message) - Method in class planet.chord.ChordNode
Sends a RouteMessage to the ring.
routeData(String, NodeHandle, NodeHandle, Message) - Method in interface planet.commonapi.Node
Receive's data of the application level and sends it through de network.
routeData(String, NodeHandle, NodeHandle, Message) - Method in class planet.symphony.SymphonyNode
 
routeMessage - Static variable in class planet.util.Properties
Class that implements RouteMessage interface.
routeMessagesHasExpired() - Method in interface planet.commonapi.RouteMessage
Returns true if RouteMessage has expired.
routeMessagesHasExpired() - Method in class planet.generic.commonapi.RouteMessageImpl
Returns true if RouteMessage has expired.
routingData(RouteMessage, NodeHandle) - Method in class planet.chord.ChordNode
Send a message to unknown destination node via routing.
run() - Method in class planet.chord.ChordNode.FixFingerTask
Invoke stabilize() method of Node.
run() - Method in class planet.chord.ChordNode.StabilizeTask
Invoke stabilize() method of Node.
run(int) - Method in interface planet.commonapi.Network
Runs the process to simulate a total number of steps.
run() - Method in class planet.generic.commonapi.EndPointImpl.MessageScheduler
Sends the message after delays the specified time.
run(int) - Method in class planet.generic.commonapi.NetworkImpl
Simulate a total number steps steps.
run(int) - Method in class planet.generic.commonapi.NetworkNodeImpl
Given a time fraction, the node runs and do everything what needs during this
run(int) - Method in interface planet.simulate.ISimulator
 
run(int) - Method in class planet.simulate.NetworkSimulator
Executes the events at the opportune moment, controls the nodes, while they join, go away, they fail,and handles to the messages and the message queues
run(int) - Method in class planet.simulate.Simulator
Executes the events at the opportune moment, controls the nodes, while they join, go away, they fail,and handles to the messages and the message queues
run() - Method in class planet.symphony.SymphonyNode.StabilizeTask
Invoke stabilize() method of Node.
run() - Method in class planet.test.timer.SimulationTimerTest.TestTimerTask
Prints the actual step and the name of this task.
run() - Method in class planet.util.timer.ThreadTimerTask
Implements this method to make the concrete necessary job.
run() - Method in interface planet.util.timer.TimerTask
Job to do when the period of time specified by this TimerTask is passed.
run() - Method in class planet.util.timer.TimerTaskImpl
Implement the job to do for activation of this TimerTask.

S

SERIALIZED - Static variable in class planet.generic.commonapi.factory.Topology
This topology specify that the entire ring are restored from serialized state file.
SET_INFO - Static variable in class planet.symphony.SymphonyNode
 
SET_PRE - Static variable in class planet.chord.ChordNode
Type value: Informs to the node that receive this message its new inmediate predecessor.
SET_SUCC - Static variable in class planet.chord.ChordNode
Type value: Informs to the node that receives this message its new inmediate successor.
SHAPE - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Shape Of The Node
SUCC_LIST - Static variable in class planet.chord.ChordNode
Type value: Start a set of messages that permits the harvesting of successors of the node that send originally this message.
SampleGenerator - class planet.simulate.SampleGenerator.
 
SampleGenerator(Id, Id, int, int) - Constructor for class planet.simulate.SampleGenerator
 
SampleGenerator(String, String, int, int) - Constructor for class planet.simulate.SampleGenerator
 
Scheduler - class planet.simulate.Scheduler.
 
Scheduler() - Constructor for class planet.simulate.Scheduler
 
Scribe - interface planet.scribe.Scribe.
This interface is exported by all instances of Scribe.
ScribeApplication - class planet.test.scribe.ScribeApplication.
 
ScribeApplication(String) - Constructor for class planet.test.scribe.ScribeApplication
Constructor.
ScribeClient - interface planet.scribe.ScribeClient.
This interface represents a client using the Scribe system.
ScribeClientTest - class planet.test.scribe.ScribeClientTest.
 
ScribeClientTest(String) - Constructor for class planet.test.scribe.ScribeClientTest
Constructor.
ScribeContent - interface planet.scribe.ScribeContent.
This interface represents data published in a Scribe system.
ScribeImpl - class planet.scribe.ScribeImpl.
The provided implementation of Scribe.
ScribeImpl(String) - Constructor for class planet.scribe.ScribeImpl
Constructor for Scribe, using the default policy.
ScribeImpl(String, ScribePolicy) - Constructor for class planet.scribe.ScribeImpl
Constructor for Scribe
ScribeImpl.TopicManager - class planet.scribe.ScribeImpl.TopicManager.
Class which keeps track of a given topic
ScribeImpl.TopicManager(Topic, ScribeClient) - Constructor for class planet.scribe.ScribeImpl.TopicManager
Constructor for TopicManager.
ScribeImpl.TopicManager(Topic, NodeHandle) - Constructor for class planet.scribe.ScribeImpl.TopicManager
Constructor for TopicManager.
ScribeImpl.TopicManager(Topic) - Constructor for class planet.scribe.ScribeImpl.TopicManager
Constructor for TopicManager.
ScribeMessage - class planet.scribe.messaging.ScribeMessage.
This class the abstraction of a message used internally by Scribe.
ScribeMessage(NodeHandle, Topic) - Constructor for class planet.scribe.messaging.ScribeMessage
 
ScribePeerTest - class planet.test.scribe.ScribePeerTest.
 
ScribePeerTest() - Constructor for class planet.test.scribe.ScribePeerTest
Constructor
ScribePolicy - interface planet.scribe.ScribePolicy.
This interface represents a policy for Scribe, which is asked whenever a child is about to be added or removed, or when the the local node is about to be implicitly subscribed to a new topic.
ScribePolicy.DefaultScribePolicy - class planet.scribe.ScribePolicy.DefaultScribePolicy.
The default policy for Scribe, which always allows new children to join and adds children in the order in which they are provided, implicitly providing a depth-first search.
ScribePolicy.DefaultScribePolicy() - Constructor for class planet.scribe.ScribePolicy.DefaultScribePolicy
 
ScribePolicy.LimitedScribePolicy - class planet.scribe.ScribePolicy.LimitedScribePolicy.
An optional policy for Scribe, which allows up to a specified number of children per topic.
ScribePolicy.LimitedScribePolicy(int) - Constructor for class planet.scribe.ScribePolicy.LimitedScribePolicy
Construtor which takes a maximum number
ScribeTest - class planet.test.scribe.ScribeTest.
 
ScribeTest(String) - Constructor for class planet.test.scribe.ScribeTest
 
SetInfoBehaviour - class planet.symphony.behaviours.SetInfoBehaviour.
This behaviours updates successor's and predecessor's set of newcomer on bootstrapping.
SetInfoBehaviour() - Constructor for class planet.symphony.behaviours.SetInfoBehaviour
 
SetInfoMessage - class planet.symphony.messages.SetInfoMessage.
 
SetInfoMessage() - Constructor for class planet.symphony.messages.SetInfoMessage
 
SetPredMessage - class planet.symphony.messages.SetPredMessage.
 
SetPredMessage(Id) - Constructor for class planet.symphony.messages.SetPredMessage
 
SetSectionSizePredMessage - class planet.symphony.messages.SetSectionSizePredMessage.
 
SetSectionSizePredMessage(double) - Constructor for class planet.symphony.messages.SetSectionSizePredMessage
 
SetSectionSizeSuccMessage - class planet.symphony.messages.SetSectionSizeSuccMessage.
 
SetSectionSizeSuccMessage(double) - Constructor for class planet.symphony.messages.SetSectionSizeSuccMessage
 
SetSuccMessage - class planet.symphony.messages.SetSuccMessage.
 
SetSuccMessage(Id) - Constructor for class planet.symphony.messages.SetSuccMessage
 
SimNetTest - class planet.test.SimNetTest.
This example shows how to build a simple Network, without registered Application's on to the nodes.
SimNetTest() - Constructor for class planet.test.SimNetTest
 
SimNetTest - class planet.test.bad.SimNetTest.
This test puts into the same network Chord nodes, but there are a 2% of bad nodes.
SimNetTest() - Constructor for class planet.test.bad.SimNetTest
 
SimTest - class planet.test.SimTest.
This test use the event file "test_join1000d.txt" in the "bin/data" directory.
SimTest() - Constructor for class planet.test.SimTest
 
SimpleTest - class planet.test.SimpleTest.
Test differents simulation cases, with joining, failing and leaving nodes.
SimpleTest(String) - Constructor for class planet.test.SimpleTest
 
SimulationTimer - interface planet.util.timer.SimulationTimer.
Permits to inform to differents Timer of nodes the actual step in simulation process.
SimulationTimerImpl - class planet.util.timer.SimulationTimerImpl.
Implements the contract that is specified by the SimulationTimer interface.
SimulationTimerImpl() - Constructor for class planet.util.timer.SimulationTimerImpl
Initialize a Vector to contain all scheduled TimerTask.
SimulationTimerTest - class planet.test.timer.SimulationTimerTest.
Test if the SimulationTimer runs correctly.
SimulationTimerTest() - Constructor for class planet.test.timer.SimulationTimerTest
Builds Timers and differents TimerTask with only one execution and periodic TimerTask.
SimulationTimerTest.TestTimerTask - class planet.test.timer.SimulationTimerTest.TestTimerTask.
Simple TimerTask that only prints the actual step and its name for each invocation of run() method.
SimulationTimerTest.TestTimerTask(String, boolean) - Constructor for class planet.test.timer.SimulationTimerTest.TestTimerTask
Sets the name of this TimerTask.
Simulator - class planet.simulate.Simulator.
The simulator is the main class.
Simulator(IScheduler) - Constructor for class planet.simulate.Simulator
Constructor, create a new simulation with a determinate event scheduler
Simulator(IScheduler, boolean) - Constructor for class planet.simulate.Simulator
Constructor, create a new simulation with a determinate event scheduler and with indicated argument, will load a old state of simulation
SortedKList - class planet.symphony.SortedKList.
A SortedKList is a list of objects kept in sorted order.
SortedKList(Comparer, Object, int) - Constructor for class planet.symphony.SortedKList
Create a new SortedKList using the Comparer interface to define the order on elements.
SubscribeAckMessage - class planet.scribe.messaging.SubscribeAckMessage.
The ack for a subscribe message.
SubscribeAckMessage(NodeHandle, Topic, Id[], int) - Constructor for class planet.scribe.messaging.SubscribeAckMessage
 
SubscribeFailedMessage - class planet.scribe.messaging.SubscribeFailedMessage.
The ack for a subscribe message.
SubscribeFailedMessage(NodeHandle, Topic, int) - Constructor for class planet.scribe.messaging.SubscribeFailedMessage
Constructor which takes a unique integer Id
SubscribeLostMessage - class planet.scribe.messaging.SubscribeLostMessage.
The ack for a subscribe message.
SubscribeLostMessage(NodeHandle, Topic, int) - Constructor for class planet.scribe.messaging.SubscribeLostMessage
 
SubscribeMessage - class planet.scribe.messaging.SubscribeMessage.
 
SubscribeMessage(NodeHandle, Topic, int, ScribeContent) - Constructor for class planet.scribe.messaging.SubscribeMessage
 
SubscribeMessage(NodeHandle, Topic, Id, int, ScribeContent) - Constructor for class planet.scribe.messaging.SubscribeMessage
Constructor which takes a unique integer Id
SuccListMessage - class planet.chord.message.SuccListMessage.
 
SuccListMessage() - Constructor for class planet.chord.message.SuccListMessage
Build the message with an empty Vector with initial size equals to successor list size specified on context.
SuccListMessage(Vector) - Constructor for class planet.chord.message.SuccListMessage
Build the message with the Vector succs as initial value.
SymphonyDHT - class planet.test.symphonyDHT.SymphonyDHT.
Main application that tests to inserts a wide number of key/value pairs at the ring and lookups a concrete existing key.
SymphonyDHT() - Constructor for class planet.test.symphonyDHT.SymphonyDHT
Constructor that initialize a network with MAX_NODES, and register over each node an instance of SymphonyDHTApplication.
SymphonyDHTApplication - class planet.test.symphonyDHT.SymphonyDHTApplication.
Application that contains all key/values pairs, required for owner Node Id.
SymphonyDHTApplication() - Constructor for class planet.test.symphonyDHT.SymphonyDHTApplication
Constructor
SymphonyDHTApplication(String) - Constructor for class planet.test.symphonyDHT.SymphonyDHTApplication
Simple constructor where is specified the application identification.
SymphonyDHTMessage - class planet.test.symphonyDHT.SymphonyDHTMessage.
Message to be used at ChordDHT main application.
SymphonyDHTMessage(Id, int) - Constructor for class planet.test.symphonyDHT.SymphonyDHTMessage
Builds a new Message with the specified source Node origNode and specified type type
SymphonyDHTMessage(Id, int, String, String, Vector) - Constructor for class planet.test.symphonyDHT.SymphonyDHTMessage
Builds a new Message with the specified source Node and type, key/value pairs.
SymphonyDHTMessage(Id, int, String, String) - Constructor for class planet.test.symphonyDHT.SymphonyDHTMessage
 
SymphonyDHTMessage(Id, int, String, Vector) - Constructor for class planet.test.symphonyDHT.SymphonyDHTMessage
 
SymphonyId - class planet.symphony.SymphonyId.
This Id is backed up a double value.
SymphonyId() - Constructor for class planet.symphony.SymphonyId
Must be initialized to initial value, in this case to [0.00].
SymphonyId(int) - Constructor for class planet.symphony.SymphonyId
Always throws an InitializationException, because this constructor is nonapplicable to this type of Id.
SymphonyId(double) - Constructor for class planet.symphony.SymphonyId
Builds a new SymphonyId with the decimals that appear in id double argument.
SymphonyId(byte[]) - Constructor for class planet.symphony.SymphonyId
Builds an Id with the data in byte[] format.
SymphonyId(int[]) - Constructor for class planet.symphony.SymphonyId
Always throws an InitializationException because this constructor is nonapplicable to this type of Id.
SymphonyId(String) - Constructor for class planet.symphony.SymphonyId
Builds a new Id with the double value that appear in the argument as String value.
SymphonyId(String, String) - Constructor for class planet.symphony.SymphonyId
Builds a new Id from an arbitray string applying a one-way hashing algorithm such as SHA or MD5.
SymphonyId(BigInteger) - Constructor for class planet.symphony.SymphonyId
Always throws an InitializationException because this constructor is nonapplicable to this type of Id.
SymphonyId(Random) - Constructor for class planet.symphony.SymphonyId
Build a new random Id, based with the random number generator random.
SymphonyNode - class planet.symphony.SymphonyNode.
This node is an implementation of the Symphony overlay.
SymphonyNode(Id) - Constructor for class planet.symphony.SymphonyNode
 
SymphonyNode.StabilizeTask - class planet.symphony.SymphonyNode.StabilizeTask.
Simple TimerTask that invoke stabilize() Node method.
SymphonyNode.StabilizeTask() - Constructor for class planet.symphony.SymphonyNode.StabilizeTask
Initialize this StabilizeTask.
SymphonyProperties - class planet.symphony.SymphonyProperties.
This class includes the initialization and the values for all configuration properties of the Chord overlay.
SymphonyProperties() - Constructor for class planet.symphony.SymphonyProperties
 
saveState() - Method in class planet.simulate.NetworkSimulator
Serialize the actual state.
saveState() - Method in class planet.simulate.Simulator
Serialize the actual state.
scheduleMessage(RouteMessage, long) - Method in interface planet.commonapi.EndPoint
Schedules a message to be delivered to this application after the provided number of milliseconds.
scheduleMessage(RouteMessage, long) - Method in class planet.generic.commonapi.EndPointImpl
Schedules a message to be delivered to this application after the provided number of milliseconds.
select(Iterator, double, int) - Method in interface planet.behaviour.BehaviourRoleSelector
This methods selects malicious nodes from the overlay according to a percentage and distribution of them along the network.
select(Iterator, double, int) - Method in class planet.behaviour.BehaviourRoleSelectorImpl
This methods selects malicious nodes from the overlay according to a percentage and distribution of them along the network.
selectorClass - Variable in class planet.behaviour.BehaviourProperties
 
send(RouteMessage) - Method in interface planet.commonapi.Node
This method is invoked to send a message msg to another Node (me ---> another).
send(Queue) - Method in class planet.generic.commonapi.NetworkImpl
Takes all messages of queue and send to all destination nodes.
send(RouteMessage) - Method in class planet.generic.commonapi.NetworkNodeImpl
Puts a message in the outcoming queue of this node
send(RouteMessage) - Method in class planet.generic.commonapi.NodeImpl
Puts a message in the outcoming queue of this node
send(Queue) - Method in class planet.simulate.Simulator
Takes all messages of queue and send to all destination nodes
send(String, DHTPeerTestMessage) - Method in class planet.test.broadcast.DHTApplication
Owner DHTApplication method which permits to send a broadcast Message.
send(String, String) - Method in class planet.test.dht.DHTApplication
Owner DHTApplication method which permits to send a Message with a key/value pair, for INSERT.
send(String) - Method in class planet.test.dht.DHTApplication
Owner DHTApplication method which permits to send a Message with a key/value pair, for LOOKUP.
send(String, DHTPeerTestMessage) - Method in class planet.test.helloworld.DHTApplication
This method permits to send a message with the specified key textKey
sendData(RouteMessage, NodeHandle) - Method in class planet.chord.ChordNode
Send a message to destination node directly.
sendEvent(int) - Method in class planet.test.scribe.ScribePeerTest
Per enviar un event Scribe
sendMessage() - Method in class planet.test.broadcast.BroadcastTest
Sends the first broadcast message.
sendMessage() - Method in class planet.test.helloworld.DHTPeerTest
Send a Hello World message to the network, getting a radomly existing DHTApplication of the network.
sendMessages() - Method in class planet.generic.commonapi.NetworkImpl
Sends all message pending to be delivered by all nodes.
serializedFile - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
The default filename from where read a serialized state of a network.
serializedFile - Static variable in class planet.util.Properties
Filename to use to load some serialized state.
setAlive(boolean) - Method in class planet.commonapi.NodeHandle
Updates the alive flag.
setAlive(boolean) - Method in class planet.generic.commonapi.NodeHandleImpl
Updates the alive flag.
setApplicationClass(String) - Method in interface planet.commonapi.factory.ApplicationFactory
Sets the class of the Application to generate future instances.
setApplicationClass(String) - Method in class planet.generic.commonapi.factory.ApplicationFactoryImpl
Sets the Application classname to use in the future.
setApplicationClass(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setApplicationId(String) - Method in interface planet.commonapi.RouteMessage
Sets the application name
setApplicationId(String) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the application's identification who sends and will receive this message.
setBootStrap(NodeHandle) - Method in class planet.symphony.messages.JoinMessage
 
setContent(ScribeContent) - Method in class planet.scribe.messaging.AnycastMessage
Sets the content
setCurrentStep(int) - Static method in class planet.util.timer.ControlTimer
Sets the current step.
setData(String) - Method in class planet.test.broadcast.DHTPeerTestMessage
Sets new data.
setDestination(NodeHandle) - Method in interface planet.commonapi.RouteMessage
Sets the destination NodeHandle for this message
setDestination(NodeHandle) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the destination's NodeHandle.
setDirected(boolean) - Method in interface planet.commonapi.GML.GMLEdge
 
setDirected(boolean) - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
setEndPoint(EndPoint) - Method in interface planet.commonapi.Application
Sets the EndPoint which permits communicate with underlying node.
setEndPoint(EndPoint) - Method in class planet.scribe.ScribeImpl
 
setEndPoint(EndPoint) - Method in class planet.test.broadcast.DHTApplication
Sets the underlying EndPoint of this application.
setEndPoint(EndPoint) - Method in class planet.test.dht.DHTApplication
Sets the actual EndPoint to use to communication with underlying network.
setEndPoint(EndPoint) - Method in class planet.test.helloworld.DHTApplication
Sets the underlying EndPoint for interact with the Node, for sending and receiving messages.
setEndPoint(EndPoint) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Sets the actual EndPoint to use to communication with underlying network.
setFill(String) - Method in interface planet.commonapi.GML.GMLEdge
 
setFill(String) - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
setFinger(int, NodeHandle) - Method in class planet.chord.ChordNode
Sets a especific finger of the finger table
setGoodRole(boolean) - Method in interface planet.commonapi.Node
The setGoodRole's method is an extension method for commonapi specs.
setGoodRole(boolean) - Method in class planet.generic.commonapi.NodeImpl
The setGoodRole's method is an extension method for commonapi specs.
setId(String) - Method in interface planet.commonapi.Application
Sets the String identification of this application.
setId(String) - Method in class planet.scribe.ScribeImpl
Sets the identification of this application.
setId(String) - Method in class planet.test.broadcast.DHTApplication
Sets the String identification of this application.
setId(String) - Method in class planet.test.dht.DHTApplication
Sets the identification of this instance of Application.
setId(String) - Method in class planet.test.helloworld.DHTApplication
Sets the identification of the Application
setId(String) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Sets the identification of this instance of Application.
setIdFactory(IdFactory) - Method in interface planet.commonapi.factory.NodeFactory
Sets the IdFactory to use in the future, to generate new Ids.
setIdFactory(IdFactory) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setIdFactory(IdFactory) - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Sets the IdFactory to use in the future.
setInfo(Message) - Method in class planet.chord.message.BroadcastMessage
 
setKey(String) - Method in interface planet.commonapi.RouteMessage
Sets the identification key of this communication.
setKey(String) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the identification key of this communication.
setLevel(int) - Static method in class planet.simulate.Logger
Sets the level of logs to be applied.
setLimit(NodeHandle) - Method in class planet.chord.message.BroadcastMessage
 
setMaxRank(int) - Method in class planet.scribe.messaging.ReplicaSetMessage
 
setMessage(Message) - Method in interface planet.commonapi.RouteMessage
Sets the internal message for this message
setMessage(Message) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the Message to route.
setMessage(Message) - Method in class planet.generic.commonapi.message.DataMessage
 
setMessageKey(Id) - Method in class planet.generic.commonapi.message.DataMessage
 
setMessageKey(Id) - Method in class planet.scribe.messaging.ReplicaSetMessage
 
setMode(int) - Method in interface planet.commonapi.RouteMessage
Sets the mode of the actual Message.
setMode(int) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the mode of this messge.
setNeighbourhoodSet(Collection) - Method in class planet.symphony.messages.NeighbourMessage
 
setNetworkSize(int) - Method in interface planet.commonapi.factory.NetworkFactory
Sets the size of new networks.
setNetworkSize(int) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setNetworkSize(int) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Sets a new size for the default building networks.
setNewNode(NodeHandle) - Method in class planet.symphony.messages.JoinMessage
 
setNewNodeAlongRoute(NodeHandle) - Method in interface planet.commonapi.RouteMessage
Adds a new node along the current path.
setNewNodeAlongRoute(NodeHandle) - Method in class planet.generic.commonapi.RouteMessageImpl
Adds a new node along the current path.
setNewNodeId(NodeHandle) - Method in class planet.symphony.messages.NewSuccInListMessage
 
setNextHopHandle(NodeHandle) - Method in interface planet.commonapi.RouteMessage
Sets the next hop handle for this message
setNextHopHandle(NodeHandle) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the next node's Id to send immediately this message.
setNode(Id) - Method in class planet.chord.message.IdMessage
 
setNode(NodeHandle) - Method in class planet.chord.message.NodeMessage
 
setNode(String) - Method in class planet.test.dht.DHTApplication
Sets the identification of the node over which this instance of application is running.
setNodeClass(Class) - Method in interface planet.commonapi.factory.NodeFactory
Sets Class to generate new Nodes.
setNodeClass(Class) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setNodeClass(Class) - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Sets the class of an implementation of NodeImpl to return by this factory in the future.
setNodeFactory(NodeFactory) - Method in interface planet.commonapi.factory.NetworkFactory
Sets the NodeFactory to use in the future to generate new networks.
setNodeFactory(NodeFactory) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setNodeFactory(NodeFactory) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Sets the NodeFactory to use in the future.
setNodeHandleClass(Class) - Method in interface planet.commonapi.factory.NodeHandleFactory
Sets Class to generate new NodeHandles.
setNodeHandleClass(Class) - Method in class planet.generic.commonapi.factory.GenericFactory
Sets the NodeHandle class to use in the future.
setNodeHandleClass(Class) - Method in class planet.generic.commonapi.factory.NodeHandleFactoryImpl
Sets the class of an implementation of NodeHandle to return by this factory in the future.
setOptions(Object) - Method in interface planet.commonapi.RouteMessage
Set RouteMessage additional options.
setOptions(Object) - Method in class planet.generic.commonapi.RouteMessageImpl
Set RouteMessage additional options.
setParent(NodeHandle) - Method in class planet.scribe.ScribeImpl.TopicManager
Sets the Parent attribute of the TopicManager object
setPathToRoot(Id[]) - Method in class planet.scribe.ScribeImpl.TopicManager
Sets the PathToRoot attribute of the TopicManager object
setPattern(int, int, String, Pattern) - Method in class planet.behaviour.BehavioursPoolImpl
Given the initial position for type on mapping typePos and mode as input, sets the pattern on the mapping taking into account the grammar tree extracted from wildcards semantics.
setPendingJoinMsg(Set) - Method in class planet.symphony.messages.QueryJoinSetMessage
 
setPolicy(ScribePolicy) - Method in interface planet.scribe.Scribe
Sets the current policy for this scribe object
setPolicy(ScribePolicy) - Method in class planet.scribe.ScribeImpl
Sets the current policy for this scribe object
setPred(NodeHandle) - Method in class planet.chord.ChordNode
Sets the predecessor node
setPredId(Id) - Method in class planet.symphony.messages.SetPredMessage
 
setPredSet(Collection) - Method in class planet.symphony.messages.SetInfoMessage
 
setPreviousHopHandle(NodeHandle) - Method in interface planet.commonapi.RouteMessage
Sets the previous hop handle for this message.
setPreviousHopHandle(NodeHandle) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the previous hop handle for this message.
setPt(int) - Method in class planet.chord.GMLConstraintZmod
 
setReplicaSet(Vector) - Method in class planet.scribe.messaging.ReplicaSetMessage
 
setRequest(boolean) - Method in class planet.scribe.messaging.ReplicaSetMessage
 
setRetries(int) - Method in class planet.symphony.messages.JoinMessage
 
setRoute(Collection) - Method in interface planet.commonapi.RouteMessage
Sets the route for the new path from the source to the destination
setRoute(Collection) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the route for the new path from the source to the destination
setSectionSizePred(double) - Method in class planet.symphony.messages.SetSectionSizePredMessage
 
setSectionSizeSucc(double) - Method in class planet.symphony.messages.SetSectionSizeSuccMessage
 
setSerializedFile(String) - Method in interface planet.commonapi.factory.NetworkFactory
Sets the filename from where capture a serialized state of a network.
setSerializedFile(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setSerializedFile(String) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Sets the filename for capture a serialized state of some network.
setSource(Id) - Method in interface planet.commonapi.GML.GMLEdge
 
setSource(NodeHandle) - Method in interface planet.commonapi.RouteMessage
Sets the source NodeHandle for this message
setSource(Id) - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
setSource(NodeHandle) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the source Node NodeHandle who sends this message.
setSource(NodeHandle) - Method in class planet.scribe.messaging.ScribeMessage
Method which set this messages' source address
setSource(Id) - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
setSourceNodeId(Id) - Method in class planet.test.broadcast.DHTPeerTestMessage
Sets a new Id of source Node, who sends (re-send) this message.
setStep(int) - Static method in class planet.simulate.Logger
Sets the actual step in run.
setSucc(NodeHandle) - Method in class planet.chord.ChordNode
Sets the successor node
setSuccId(Id) - Method in class planet.symphony.messages.SetSuccMessage
 
setSuccSet(Collection) - Method in class planet.symphony.messages.SetInfoMessage
 
setSuccs(Vector) - Method in class planet.chord.message.SuccListMessage
 
setTarget(Id) - Method in interface planet.commonapi.GML.GMLEdge
 
setTarget(Id) - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
 
setTimeToLive(int) - Method in interface planet.commonapi.RouteMessage
Sets Time to Live For The Message.
setTimeToLive(int) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets Time to Live For The Message.
setTimer(TimerTask, long) - Method in interface planet.commonapi.Node
Sets a new task to make only once time.
setTimer(TimerTask, long, long) - Method in interface planet.commonapi.Node
Sets a new task to make periodicly at period time.
setTimer(TimerTask, long, long) - Method in class planet.generic.commonapi.NetworkNodeImpl
Sets a task to be executed periodicly at each period of time.
setTimer(TimerTask, long) - Method in class planet.generic.commonapi.NetworkNodeImpl
Sets a task to be executed only one time at specified firstTime.
setTimer(TimerTask, long, long) - Method in class planet.generic.commonapi.NodeImpl
Sets a task to be executed periodicly at each period of time.
setTimer(TimerTask, long) - Method in class planet.generic.commonapi.NodeImpl
Sets a task to be executed only one time at specified firstTime.
setTimerTask(TimerTask, long) - Method in class planet.util.timer.SimulationTimerImpl
Permits add a task for only one execution after delay steps.
setTimerTask(TimerTask, long, long) - Method in class planet.util.timer.SimulationTimerImpl
Permits add a task for repeatly execution, the first time after delay steps, and others after period steps.
setTimerTask(TimerTask, long) - Method in class planet.util.timer.ThreadTimer
Sets a new TimerTask to schedule for only one activation.
setTimerTask(TimerTask, long, long) - Method in class planet.util.timer.ThreadTimer
Sets a new TimerTask to schedule periodicly.
setTimerTask(TimerTask, long) - Method in interface planet.util.timer.Timer
Sets a TimerTask to execute only once, after delay time.
setTimerTask(TimerTask, long, long) - Method in interface planet.util.timer.Timer
Sets a TimerTask to execute only once, after delay time, and after each period time.
setTopology(String) - Method in interface planet.commonapi.factory.NetworkFactory
Sets the topology of the new generated networks.
setTopology(String) - Method in interface planet.commonapi.factory.NodeFactory
Sets the topology of the network to know how generates new Ids.
setTopology(String) - Static method in class planet.generic.commonapi.factory.GenericFactory
 
setTopology(String) - Method in class planet.generic.commonapi.factory.NetworkFactoryImpl
Sets the topology for the networks to build in the future.
setTopology(String) - Method in class planet.generic.commonapi.factory.NodeFactoryImpl
Sets the topology of the network to know how generates new Ids.
setType(int) - Method in interface planet.commonapi.RouteMessage
Sets the type of the actual Message.
setType(int) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets the type of this message.
setUp() - Method in class planet.test.IdTest
 
setUp() - Method in class planet.test.SimpleTest
 
setUp() - Method in class planet.test.scribe.ScribeTest
 
setValue(Object) - Method in class planet.chord.ChordId
Sets the new value with the int[] that appears at newValue.
setValue(Id) - Method in class planet.commonapi.Id
Sets the new value with Id newValue.
setValue(Object) - Method in class planet.commonapi.Id
Sets the new value to this Id with newValue
setValue(double) - Method in class planet.symphony.SymphonyId
 
setValue(Object) - Method in class planet.symphony.SymphonyId
Sets the new value for this SymphonyId.
setValues(String, NodeHandle, NodeHandle, NodeHandle, Message, String, int, int) - Method in interface planet.commonapi.RouteMessage
Sets all values of the actual RouteMessage, before to be sent.
setValues(String, NodeHandle, NodeHandle, NodeHandle, Message, String, int, int) - Method in class planet.generic.commonapi.RouteMessageImpl
Sets all values of the actual RouteMessage, before to be sent.
setZmod(int) - Method in class planet.chord.GMLConstraintZmod
 
shape - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Shape Of The Node
shift(int, int) - Method in class planet.chord.ChordId
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2
shift(int, int, boolean) - Method in class planet.chord.ChordId
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2
shift(int, int) - Method in class planet.commonapi.Id
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2
shift(int, int) - Method in class planet.symphony.SymphonyId
 
show() - Method in class planet.util.OrderedList
 
simulate() - Method in interface planet.commonapi.Network
Runs the process to simulate one time step.
simulate() - Method in class planet.generic.commonapi.NetworkImpl
Simulate one step.
simulate() - Method in class planet.simulate.NetworkSimulator
Executes only one step of simulation.
simulate() - Method in class planet.simulate.Simulator
Executes step by step the events at the opportune moment, controls the nodes, while they join, go away, they fail,and handles to the messages and the message queues.
simulationSteps - Static variable in class planet.util.Properties
Number of steps to be runned after any node join or leave.
size() - Method in interface planet.commonapi.Network
Returns the number of Nodes that contains the actual network.
size() - Method in class planet.generic.commonapi.NetworkImpl
Returns the actual number of nodes to the network.
size() - Method in class planet.util.OrderedList
 
size() - Method in class planet.util.Queue
Determine the number of elements within the queue Postconditions: returns the number of elements in the queue
source - Variable in class planet.generic.commonapi.GML.GMLEdgeImpl
 
source - Variable in class planet.generic.commonapi.RouteMessageImpl
Source Node Id who sends this message.
source - Variable in class planet.scribe.messaging.ScribeMessage
 
stabRate - Variable in class planet.chord.ChordNode
Number of simulation steps without changes on finger table.
stabilize() - Method in class planet.chord.ChordNode
Verify node immediate successor and tell the successor about this, moreover generate and update the successor list.
stabilize() - Method in interface planet.commonapi.Network
Runs the process of stabilization while the network not has been stabilized.
stabilize() - Method in class planet.generic.commonapi.NetworkImpl
Stabilize the network.
stabilize() - Method in class planet.simulate.NetworkSimulator
Make a simple loop that make the stabilization of the actual network.
stabilizeSteps - Variable in class planet.chord.ChordProperties
Number of steps for statibilization.
stabilizeSteps - Variable in class planet.symphony.SymphonyProperties
Number of steps for statibilization.
stabilized - Variable in class planet.symphony.SymphonyNode
 
start - Variable in class planet.chord.ChordNode
 
stop() - Method in interface planet.simulate.ISimulator
 
stop() - Method in class planet.simulate.NetworkSimulator
Do nothing.
stop() - Method in class planet.simulate.Simulator
do nothing.
store(SymphonyDHTMessage) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
This method stores key/value pair on the distributed repository of DHT application.
subscribe(Topic, ScribeClient) - Method in interface planet.scribe.Scribe
Subscribes the given client to the provided topic.
subscribe(Topic, ScribeClient, ScribeContent) - Method in interface planet.scribe.Scribe
Subscribes the given client to the provided topic.
subscribe(Topic, ScribeClient) - Method in class planet.scribe.ScribeImpl
Subscribes the given client to the provided topic.
subscribe(Topic, ScribeClient, ScribeContent) - Method in class planet.scribe.ScribeImpl
Subscribes the given client to the provided topic.
subscribeFailed(Topic) - Method in interface planet.scribe.ScribeClient
Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.
subscribeFailed - Variable in class planet.test.scribe.ScribeApplication
Whether this client has had a subscribe fail
subscribeFailed(Topic) - Method in class planet.test.scribe.ScribeApplication
 
subscribeFailed - Variable in class planet.test.scribe.ScribeClientTest
Whether this client has had a subscribe fail
subscribeFailed(Topic) - Method in class planet.test.scribe.ScribeClientTest
 
subscriber - Variable in class planet.scribe.messaging.SubscribeMessage
The original subscriber
subtract(Id) - Method in class planet.chord.ChordId
 
subtract(Id) - Method in class planet.commonapi.Id
Returns an Id corresponding to this Id minus a given distance
subtract(Id) - Method in class planet.symphony.SymphonyId
 
subtractWithCarry(Id) - Method in class planet.chord.ChordId
 
succListMax - Variable in class planet.chord.ChordProperties
Max size for successor list.
succ_list - Variable in class planet.chord.ChordNode
 
suite() - Static method in class planet.test.IdTest
 
suite() - Static method in class planet.test.SimpleTest
 
suite() - Static method in class planet.test.scribe.ScribeTest
 

T

TWO_CHORD - Static variable in class planet.chord.ChordId
Chord specific constant: The value of two (2) of internal value of Id.
TYPES - Static variable in class planet.chord.ChordNode
This String contains a string representation of each of types and modes values of the RouteMessage.
TYPES - Variable in class planet.dht.DHTProperties
 
TYPES - Static variable in class planet.symphony.SymphonyNode
This String contains a string representation of each type value of the RouteMessage.
TestAppFactory - class planet.test.factory.TestAppFactory.
Simple test that builds an ApplicationFactory and an Application using it.
TestAppFactory() - Constructor for class planet.test.factory.TestAppFactory
Buils an instance of ApplicationFactory and a Application and prints its class.
TestEndPointFactory - class planet.test.factory.TestEndPointFactory.
Simple test that builds an EndPointFactory and an EndPoint using it.
TestEndPointFactory() - Constructor for class planet.test.factory.TestEndPointFactory
Buils an instance of EndPointFactory and a EndPoint and prints its class.
TestIdFactory - class planet.test.factory.TestIdFactory.
Simple test that builds an IdFactory and an Id using it.
TestIdFactory() - Constructor for class planet.test.factory.TestIdFactory
Buils an instance of IdFactory and a Id and prints its class.
TestNetFactory - class planet.test.factory.TestNetFactory.
Simple test that builds a NetworkFactory and a Network using it.
TestNetFactory() - Constructor for class planet.test.factory.TestNetFactory
Buils an instance of NetworkFactory and a Network and prints its class.
TestNodeFactory - class planet.test.factory.TestNodeFactory.
Simple test that builds a NodeFactory and a Node using it.
TestNodeFactory() - Constructor for class planet.test.factory.TestNodeFactory
Buils an instance of NodeFactory and a Node and prints its class.
TestNodeHandleFactory - class planet.test.factory.TestNodeHandleFactory.
Simple test that builds a NodeHandleFactory and a NodeHandle using it.
TestNodeHandleFactory() - Constructor for class planet.test.factory.TestNodeHandleFactory
Buils an instance of NodeHandleFactory and a NodeHandle and prints its class.
TestPool - class planet.test.TestPool.
Test the MessagePool, building 10.000 messages, two times in this sequence:

1.
TestPool() - Constructor for class planet.test.TestPool
Make the goal test of this class:

1.
ThreadTimer - class planet.util.timer.ThreadTimer.
Implements a Timer based with java.util.Timer, with a non daemon mode.
ThreadTimer() - Constructor for class planet.util.timer.ThreadTimer
Builds a new ThreadTimer, invoking the java.util.Timer.Timer() constructor.
ThreadTimerTask - class planet.util.timer.ThreadTimerTask.
This concrete implementation extends the java.util.TimerTask and adapt this implementation to use the superclass.
ThreadTimerTask() - Constructor for class planet.util.timer.ThreadTimerTask
Initialize this TimerTask.
Timer - interface planet.util.timer.Timer.
This interface permits to schedule differents tasks to specified delays, and to make periodic any task, begining to the specified delay and rerun after period time.
TimerTask - interface planet.util.timer.TimerTask.
This interface abstract the responsability of a Timer, who invokes the timeout() method when the specified time is passed.
TimerTaskImpl - class planet.util.timer.TimerTaskImpl.
This abstract implementation is only usefull for simulation environment.
TimerTaskImpl(boolean) - Constructor for class planet.util.timer.TimerTaskImpl
Initialize this TimerTask.
Topic - class planet.scribe.Topic.
This interface represents a specific topic in the Scribe system.
Topic(Id) - Constructor for class planet.scribe.Topic
Constructor which takes an Id for this topic
Topic(IdFactory, String) - Constructor for class planet.scribe.Topic
Constructor which takes a name for this topic
Topology - class planet.generic.commonapi.factory.Topology.
This class allow to the programmer specify all the topologies of the networks.
Topology() - Constructor for class planet.generic.commonapi.factory.Topology
 
target - Variable in class planet.generic.commonapi.GML.GMLEdgeImpl
 
temp - Variable in class planet.chord.ChordNode
 
test1000_128_circular() - Method in class planet.test.IdTest
Make a test building Id's with 128 bits and network topology Circular.
test1000_128_random() - Method in class planet.test.IdTest
Make a test building Id's with 128 bits and network topology Random.
test1000_160_circular() - Method in class planet.test.IdTest
Make a test building Id's with 160 bits and network topology Circular.
test1000_160_random() - Method in class planet.test.IdTest
Make a test building Id's with 160 bits and network topology Random.
test1000_32_circular() - Method in class planet.test.IdTest
Make a test building Id's with 32 bits and network topology Circular.
test1000_32_random() - Method in class planet.test.IdTest
Make a test building Id's with 32 bits and network topology Random.
test1000_64_circular() - Method in class planet.test.IdTest
Make a test building Id's with 64 bits and network topology Circular.
test1000_64_random() - Method in class planet.test.IdTest
Make a test building Id's with 64 bits and network topology Random.
test1000_96_circular() - Method in class planet.test.IdTest
Make a test building Id's with 96 bits and network topology Circular.
test1000_96_random() - Method in class planet.test.IdTest
Make a test building Id's with 96 bits and network topology Random.
test100_128_circular() - Method in class planet.test.IdTest
Make a test building Id's with 128 bits and network topology Circular.
test100_128_random() - Method in class planet.test.IdTest
Make a test building Id's with 128 bits and network topology Random.
test100_160_circular() - Method in class planet.test.IdTest
Make a test building Id's with 160 bits and network topology Circular.
test100_160_random() - Method in class planet.test.IdTest
Make a test building Id's with 160 bits and network topology Random.
test100_32_circular() - Method in class planet.test.IdTest
Make a test building Id's with 32 bits and network topology Circular.
test100_32_random() - Method in class planet.test.IdTest
Make a test building Id's with 32 bits and network topology Random.
test100_64_circular() - Method in class planet.test.IdTest
Make a test building Id's with 64 bits and network topology Circular.
test100_64_random() - Method in class planet.test.IdTest
Make a test building Id's with 64 bits and network topology Random.
test100_96_circular() - Method in class planet.test.IdTest
Make a test building Id's with 96 bits and network topology Circular.
test100_96_random() - Method in class planet.test.IdTest
Make a test building Id's with 96 bits and network topology Random.
testBuild100() - Method in class planet.test.SimpleTest
Test to build dynamically 100 nodes with the predefined node class at properties file.
testFail() - Method in class planet.test.SimpleTest
Joins 4 nodes and one fail, based with events file "data/test_fail.txt".
testFixFingers() - Method in class planet.test.SimpleTest
Tests if all finger tables contains correct values, based with events file "data/test_join.txt".
testJoin() - Method in class planet.test.SimpleTest
Join 4 nodes, with events at file "data/test_join.txt".
testLeave() - Method in class planet.test.SimpleTest
Joins 4 nodes, and one leave, based with events file "data/test_leave.txt".
testSend() - Method in class planet.test.scribe.ScribeTest
 
testStabilize() - Method in class planet.test.SimpleTest
Tests the stabilization process of 4 nodes, based with events file "data/test_join.txt".
timeElapsedInSeconds(long, long) - Static method in class planet.generic.commonapi.GenericApp
Shows in Y.XXX string format, the seconds elapsed between firstTime and lastTime, where 'Y' are the seconds, and 'XXX' the milliseconds ones.
timerClass - Static variable in class planet.util.Properties
Class to use for Timers at nodes.
toByteArray() - Method in class planet.chord.ChordId
Returns the byte array representation of this Id
toByteArray() - Method in class planet.commonapi.Id
Returns a (mutable) byte array representing this Id
toByteArray() - Method in class planet.symphony.SymphonyId
 
toIntArray(byte[]) - Static method in class planet.util.Utilities
Change a byte array to int array
toIntArray(String) - Static method in class planet.util.Utilities
Change a byte array to int array
toString() - Method in interface planet.behaviour.Behaviour
 
toString() - Method in class planet.behaviour.BehaviourInvoker
 
toString() - Method in interface planet.behaviour.Filter
 
toString() - Method in class planet.behaviour.Pattern
 
toString() - Method in class planet.chord.ChordId
Returns a string representation of the Id in base 16.
toString() - Method in class planet.chord.ChordNode.FixFingerTask
Shows the name of the TimerTask, showing if is periodic.
toString() - Method in class planet.chord.ChordNode.StabilizeTask
Shows the name of the TimerTask, showing if is periodic.
toString() - Method in class planet.chord.ChordNode
 
toString() - Method in class planet.chord.message.BroadcastMessage
 
toString() - Method in class planet.chord.message.IdMessage
 
toString() - Method in class planet.chord.message.NodeMessage
 
toString() - Method in class planet.chord.message.SuccListMessage
 
toString() - Method in class planet.generic.commonapi.EndPointImpl
Shows a String representatio of this EndPoint
toString() - Method in class planet.generic.commonapi.GML.GMLEdgeImpl
Object.toString() implementation for GMLEdgeImpl.
toString() - Method in class planet.generic.commonapi.NodeHandleImpl
Returns the String representation of this NodeHandle
toString() - Method in class planet.generic.commonapi.RouteMessageImpl
 
toString() - Method in class planet.generic.commonapi.message.DataMessage
Shows a String representation of this DataMessage
toString() - Method in class planet.scribe.Topic
Returns a String representation of this topic
toString() - Method in class planet.scribe.messaging.PublishMessage
 
toString() - Method in class planet.scribe.messaging.ReplicaSetMessage
 
toString() - Method in class planet.scribe.messaging.SubscribeAckMessage
Returns a String represneting this message
toString() - Method in class planet.scribe.messaging.SubscribeFailedMessage
Returns a String represneting this message
toString() - Method in class planet.scribe.messaging.SubscribeMessage
Returns a String represneting this message
toString() - Method in class planet.simulate.Event
 
toString() - Method in class planet.symphony.SortedKList
 
toString() - Method in class planet.symphony.SymphonyId
 
toString() - Method in class planet.symphony.SymphonyNode
 
toString() - Method in class planet.symphony.behaviours.AcceptConnectBehaviour
 
toString() - Method in class planet.symphony.behaviours.CancelConnectBehaviour
 
toString() - Method in class planet.symphony.behaviours.CloseLongConnectBehaviour
 
toString() - Method in class planet.symphony.behaviours.CloseNeighbourConnectBehaviour
 
toString() - Method in class planet.symphony.behaviours.DataBehaviour
 
toString() - Method in class planet.symphony.behaviours.DropBehaviour
 
toString() - Method in class planet.symphony.behaviours.IdleFilter
 
toString() - Method in class planet.symphony.behaviours.QueryConnectBehaviour
 
toString() - Method in class planet.symphony.behaviours.QueryJoinBehaviour
 
toString() - Method in class planet.symphony.behaviours.RoutingBehaviour
 
toString() - Method in class planet.symphony.behaviours.SetInfoBehaviour
 
toString() - Method in class planet.symphony.messages.JoinMessage
 
toString() - Method in class planet.symphony.messages.NeighbourMessage
 
toString() - Method in class planet.symphony.messages.NewSuccInListMessage
 
toString() - Method in class planet.symphony.messages.QueryJoinSetMessage
 
toString() - Method in class planet.symphony.messages.SetInfoMessage
 
toString() - Method in class planet.symphony.messages.SetPredMessage
 
toString() - Method in class planet.symphony.messages.SetSectionSizePredMessage
 
toString() - Method in class planet.symphony.messages.SetSectionSizeSuccMessage
 
toString() - Method in class planet.symphony.messages.SetSuccMessage
 
toString() - Method in class planet.test.broadcast.DHTApplication
Shows a String representation of the actual Application.
toString() - Method in class planet.test.dht.DHTMessage
 
toString() - Method in class planet.test.symphonyDHT.SymphonyDHTMessage
 
toString() - Method in class planet.test.timer.SimulationTimerTest.TestTimerTask
Shows the name of the TimerTask.
toString() - Method in class planet.util.Queue
Construct a string representation of the queue.
toString() - Method in class planet.util.timer.SimulationTimerImpl
Shows in String format the representation of this Timer.
toStringFull() - Method in class planet.chord.ChordId
 
toStringFull() - Method in class planet.commonapi.Id
Returns a string representing the full length of this Id.
toStringFull() - Method in class planet.symphony.SymphonyId
 
toStringHexFull() - Method in class planet.chord.ChordId
Returns the complete represntation of this Id, in hex.
toVisit - Variable in class planet.scribe.messaging.AnycastMessage
the list of nodes which we are going to visit
topic - Variable in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE FIELD
topic - Variable in class planet.scribe.messaging.ScribeMessage
 
topics - Variable in class planet.scribe.ScribeImpl
the hashtable of topic -> TopicManager
topology - Variable in class planet.generic.commonapi.factory.IdFactoryImpl
Topology of the actual target network.
topology - Variable in class planet.generic.commonapi.factory.NetworkFactoryImpl
The default topology to use for build a network.
topology - Static variable in class planet.util.Properties
Topology of the target network.
ttl - Variable in class planet.generic.commonapi.RouteMessageImpl
Time to live for the packet.
type - Variable in class planet.generic.commonapi.RouteMessageImpl
Type of this message.
typeToString(int) - Method in class planet.chord.ChordProperties
Returns a String representation of the constant specific values of type and mode of the RouteMessage.
typeToString(int) - Method in class planet.dht.DHTProperties
Returns a String representation of the constant specific values of type and mode of the RouteMessage.
typeToString(int) - Static method in class planet.simulate.Globals
Returns a string representation of each of event type and RouteMessage mode.
typeToString(int) - Method in class planet.symphony.SymphonyProperties
Returns a String representation of the constant specific values of type the RouteMessage.
typeToString(int) - Method in interface planet.util.DHTProperties
Returns a String representation of the constant specific values of type and mode of the RouteMessage.
typeToString(int) - Method in interface planet.util.OverlayProperties
Returns a String representation of the constant specific values of type the RouteMessage.

U

UNIFORM - Static variable in class planet.behaviour.BehaviourProperties
Uniform Distribution.
UnsubscribeMessage - class planet.scribe.messaging.UnsubscribeMessage.
The unsubscribe message.
UnsubscribeMessage(NodeHandle, Topic) - Constructor for class planet.scribe.messaging.UnsubscribeMessage
 
Utilities - class planet.util.Utilities.
Offers different utilities.
Utilities() - Constructor for class planet.util.Utilities
 
Uwildcard - Static variable in class planet.behaviour.Pattern
Universal wildcard: given a set of patterns P, this wildcard is used to attach a behaviour to all the patterns on the whole pattern space S included P set, i.e.
unsubscribe(Topic, ScribeClient) - Method in interface planet.scribe.Scribe
Unsubscribes the given client from the provided topic.
unsubscribe(Topic, ScribeClient) - Method in class planet.scribe.ScribeImpl
Unsubscribes the given client from the provided topic.
update(NodeHandle, boolean) - Method in interface planet.commonapi.Application
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.
update(Observable, Object) - Method in class planet.scribe.ScribeImpl.TopicManager
DESCRIBE THE METHOD
update(NodeHandle, boolean) - Method in class planet.scribe.ScribeImpl
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.
update(NodeHandle, boolean) - Method in class planet.test.broadcast.DHTApplication
Shows that the node has been joinded or not to the network.
update(NodeHandle, boolean) - Method in class planet.test.dht.DHTApplication
Shows that the node has been joinded or not to the network.
update(NodeHandle, boolean) - Method in class planet.test.helloworld.DHTApplication
Shows that the node has been joinded or not to the network.
update(NodeHandle, boolean) - Method in class planet.test.symphonyDHT.SymphonyDHTApplication
Shows that the node has been joinded or not to the network.
updateDropped(Id) - Static method in class planet.results.LinkStateResults
Stores the number of messages dropped by the node.
updateDropped() - Method in class planet.results.NodeFlowStatus
Updates the number of dropped messages by this node.
updateHops() - Method in class planet.results.PatternStatus
 
updateHopsByTypeOf(RouteMessage) - Static method in class planet.results.LinkStateResults
Updates the number of hops per RouteMessage's type and mode.
updateHopsByTypeOnly(RouteMessage) - Static method in class planet.results.LinkStateResults
Updates the number of hops per RouteMessage's type only.
updateHopsMsg(Id, String) - Static method in class planet.simulate.Results
 
updateIncoming(Id) - Static method in class planet.results.LinkStateResults
Stores the number of incoming messages received by the node.
updateIncoming() - Method in class planet.results.NodeFlowStatus
Updates the number incoming messages by this node.
updateMessages() - Method in class planet.results.PatternStatus
 
updateOutcoming(Id) - Static method in class planet.results.LinkStateResults
Stores the number of outcoming messages sent by the node.
updateOutcoming() - Method in class planet.results.NodeFlowStatus
Updates the number outcoming messages by this node.

V

value() - Method in class planet.util.OrderedList
 
visited - Variable in class planet.scribe.messaging.AnycastMessage
the list of nodes which we have visited

W

WIDTH - Static variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Width Of The Virtual Bounding Box.
w - Variable in class planet.generic.commonapi.GML.GMLDefaultProperties
Width Of The Virtual Bounding Box.
whichQueues(int, int, int) - Method in class planet.behaviour.BehavioursPoolImpl
The WhichQueue's method selects for a given pattern what Queues must include a copy of the current behaviour.
write(int) - Method in class planet.io.NoReplacingOutputStream
 
write(byte[], int, int) - Method in class planet.io.NoReplacingOutputStream
 
write(byte[]) - Method in class planet.io.NoReplacingOutputStream
 
writeIdFactoryObject(ObjectOutputStream) - Method in class planet.generic.commonapi.factory.IdFactoryImpl
Makes nothing special, only invokes to stream.defaultWriteObject().

Z

Zmod - Variable in class planet.chord.GMLConstraintZmod
 

A B C D E F G H I J K L M N O P Q R S T U V W Z