Uses of Class
planet.commonapi.exception.InitializationException

Packages that use InitializationException
planet.badchord   
planet.behaviour   
planet.chord   
planet.commonapi   
planet.commonapi.factory   
planet.commonapi.GML   
planet.dht   
planet.generic.commonapi   
planet.generic.commonapi.factory   
planet.generic.commonapi.GML   
planet.scribe   
planet.simulate   
planet.symphony   
planet.test   
planet.test.broadcast   
planet.test.dht   
planet.test.factory   
planet.test.GML.GMLTopology   
planet.test.helloworld   
planet.test.scribe   
planet.test.serialize   
planet.test.symphonyDHT   
planet.util   
 

Uses of InitializationException in planet.badchord
 

Constructors in planet.badchord that throw InitializationException
BadChordNode(Id id)
          Constructor, create a new BadChordNode instance with this node Id
 

Uses of InitializationException in planet.behaviour
 

Methods in planet.behaviour that throw InitializationException
protected  void BehavioursPoolImpl.build(java.util.Vector patterns)
          Given the patterns sorted from more-to-less specific as input, builds a mapping from RouteMessage's patterns to behaviours.
 BehavioursPool BehavioursPoolFactory.buildBehavioursPool()
          Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
 BehavioursPool BehavioursPoolFactoryImpl.buildBehavioursPool()
          Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
 void BehaviourProperties.init(java.lang.String propertiesFile)
          Initialize correctly the behaviours.
protected  void BehavioursPoolImpl.setPattern(int queue, int typePos, java.lang.String modeOf, Pattern pattern)
          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.
 

Constructors in planet.behaviour that throw InitializationException
BehavioursPoolFactoryImpl(java.lang.Class behavioursPoolClass, BehaviourProperties behProps, java.lang.Class nodeClass)
           
BehavioursPoolImpl(java.lang.Class filterClass, java.util.Vector patterns, java.lang.Class nodeClass)
           
 

Uses of InitializationException in planet.chord
 

Methods in planet.chord that throw InitializationException
static RouteMessage ChordNode.getBroadcastMessage(java.lang.String appId, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg)
          Return a RouteMessage with the specified values.
static RouteMessage ChordNode.getDataMessage(java.lang.String appId, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg)
          Return a RouteMessage with the specified values.
 void ChordProperties.init(java.lang.String propertiesFile)
          Initialize all configuration properties of the Chord overlay.
 

Constructors in planet.chord that throw InitializationException
ChordId(double data)
          This constructor is nonapplicable to the Chord overlay.
ChordId(int data)
          This constructor is nonapplicable to the Chord overlay.
ChordId(java.util.Random random)
          Build a new ChordId based with the random number generator random.
ChordId(java.lang.String sid, java.lang.String algorithm)
          Builds a new Id from an arbitray string applying a one-way hashing algorithm such as SHA or MD5.
ChordNode(Id id)
          Constructor, create a new BadChordNode instance with this node Id
 

Uses of InitializationException in planet.commonapi
 

Methods in planet.commonapi that throw InitializationException
 void Network.failNodes(Id[] nodes)
          nodes shows all nodes Id that have failed.
 IdFactory Node.getIdFactory()
          Returns a factory for Ids specific to this node's protocol.
 void Network.joinNode(Node node)
          Joins the node to the ring.
 void Network.joinNode(Node node, Id bootstrap)
          Network joins a node with specified bootstrap.
 int Network.joinNodes(int size)
          Generates size Nodes and joins them to the ring.
 int Network.joinNodes(int size, Id[] bootstrap)
          Generates size new Nodes joins them by any of the bootstraps.
 void Network.leaveNodes(Id[] nodes)
          Leave the ring the nodes which his Id appears in the array nodes.
 int Network.registerApplication(Id[] nodes)
          Register to all Nodes whose Id appears in array Ids of nodes the Application specified at properties file.
 void Network.registerApplicationAll()
          Register to all Nodes in this network the Applicaton specified at properties file.
 void Network.registerApplicationRandom(int nodes)
          Register the Application specified at properties file radomly to a maximum number of Nodes specified by nodes.
 void RouteMessage.setRoute(java.util.Collection route)
          Sets the route for the new path from the source to the destination
 

Uses of InitializationException in planet.commonapi.factory
 

Methods in planet.commonapi.factory that throw InitializationException
 Application ApplicationFactory.build()
          Generates a new instance of the actual Application class.
 Application ApplicationFactory.build(java.lang.String app)
          Generates a new instance of the Application class app.
 java.util.Iterator IdFactory.buildDistributedIds(long desiredNetworkSize)
          The Iterator instance returned permits to build as maximum desiredNetworkSize.
 EndPoint EndPointFactory.buildEndPoint(Application app, Node node)
          Builds a new EndPoint that relates the Application app with the underlying Node node.
 Id IdFactory.buildId()
          Builds an Id with the actual configuration of network topology and size.
 Id IdFactory.buildId(java.math.BigInteger material)
          Generate an Id from a BigInteger, that includes its internal value.
 Id IdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(double material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(int material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data as int[].
 Id IdFactory.buildId(java.lang.String material)
          Generate an Id from the String as its internal value.
 Id IdFactory.buildId(java.lang.String material, java.lang.String algorithm)
          Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5.
 Id IdFactory.buildKey(java.lang.String materialToHash)
          Builds a protocol-specific Id by using the given string as source data for a hash function (like SHA-1).
 Network NetworkFactory.buildNetwork()
          Generates a new Network with the actual size of the Network.
 Network NetworkFactory.buildNetwork(int size)
          Generates a new Network with the size of Nodes specified by parameter.
 Network NetworkFactory.buildNetwork(int size, NodeFactory nodeFactory)
          Generates a new Network with the size of Nodes specified by parameter.
 Network NetworkFactory.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology)
          Generates a new Network with the size of Nodes specified by parameter.
 Network NetworkFactory.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology, int k)
          Generates a new Network with the size of Nodes specified by parameter.
 Network NetworkFactory.buildNetwork(int size, java.lang.String topology)
          Generates a new Network with the size of Nodes specified by parameter.
 Node NodeFactory.buildNode()
          Builds a Node using the default IdFactory and the default Class for him.
 Node NodeFactory.buildNode(Id id)
          Builds a Node using the Id that appears in parameter, using the default Class for him.
 NodeHandle NodeHandleFactory.buildNodeHandle(Id nodeId, boolean alive)
          Builds a NodeHandle using the default NodeHandle class.
 Id IdFactory.buildRandomId()
          Builds an uniformly distributed random Id.
 Application ApplicationFactory.buildWithName(java.lang.String name)
          Generates a new instance of the actual Application class.
 Application ApplicationFactory.buildWithName(java.lang.String app, java.lang.String name)
          Generates a new instance of the Application class app.
 void ApplicationFactory.setApplicationClass(java.lang.String app)
          Sets the class of the Application to generate future instances.
 void NodeFactory.setNodeClass(java.lang.Class nodeClass)
          Sets Class to generate new Nodes.
 void NodeHandleFactory.setNodeHandleClass(java.lang.Class nodeHandleClass)
          Sets Class to generate new NodeHandles.
 void NetworkFactory.setSerializedFile(java.lang.String file)
          Sets the filename from where capture a serialized state of a network.
 void NetworkFactory.setTopology(java.lang.String topology)
          Sets the topology of the new generated networks.
 void NodeFactory.setTopology(java.lang.String topology)
          Sets the topology of the network to know how generates new Ids.
 

Uses of InitializationException in planet.commonapi.GML
 

Methods in planet.commonapi.GML that throw InitializationException
 GMLConstraint GMLFactory.buildDefaultGMLConstraint()
          Build the GMLConstraint specified in the GML properties file.
 GMLEdge GMLFactory.buildEdge(Id source, Id target, boolean directed)
          Build a GML edge with the specified values.
 GMLEdge GMLFactory.buildEdge(Id source, Id target, boolean directed, java.lang.String fill)
          Build a GML edge with the specified values.
 GMLGenerator GMLFactory.buildGMLGenerator()
          Builds the GMLGenerator specified in the GML properties file.
 

Uses of InitializationException in planet.dht
 

Methods in planet.dht that throw InitializationException
 void DHTProperties.init(java.lang.String propertiesFile)
          Initialize all configuration properties of a generic DHT application layer
 

Uses of InitializationException in planet.generic.commonapi
 

Methods in planet.generic.commonapi that throw InitializationException
 void NetworkImpl.failNodes(Id[] nodes)
          Runs the stabilization process after each fail node.
 IdFactory NetworkNodeImpl.getIdFactory()
          Returns a factory for Ids specific to this node's protocol.
 IdFactory NodeImpl.getIdFactory()
          Returns a factory for Ids specific to this node's protocol.
 void NetworkImpl.joinNode(Node node)
          Add the node to the actual network.
 void NetworkImpl.joinNode(Node node, Id bootstrap)
          Adds node to the network, using the node with Id bootstrap to enter it.
 int NetworkImpl.joinNodes(int size)
          Add size nodes to the actual network.
 int NetworkImpl.joinNodes(int size, Id[] bootstrap)
          Add size nodes to the actual network.
 void NetworkImpl.leaveNodes(Id[] nodes)
          Leave theese nodes for the network.
 int NetworkImpl.registerApplication(Id[] nodes)
          Register the Application specified at properties file to the specified nodes by theirs Ids.
 void NetworkImpl.registerApplicationAll()
          Register the Application app to all nodes existing at the underlying network.
 void NetworkImpl.registerApplicationRandom(int nodes)
          Register the Application app to radomly at the number of Nodes nodes.
 void RouteMessageImpl.setRoute(java.util.Collection route)
          Sets the route for the new path from the source to the destination
 

Constructors in planet.generic.commonapi that throw InitializationException
GenericApp()
          Make required initialization on the context of the application.
GenericApp(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties)
          Make required initialization on the context of the application.
GenericApp(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties, java.lang.String dhtProperties)
          Make required initialization on the context of the application.
GenericApp(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties, java.lang.String dhtProperties, java.lang.String behProperties)
          Make required initialization on the context of the application.
GenericAppWithGML(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties, java.lang.String gmlGraphicalProperties, java.lang.String gmlClassesProperties)
          Make required initialization on the context of the application.
GenericAppWithGML(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties, java.lang.String dhtProperties, java.lang.String gmlGraphicalProperties, java.lang.String gmlClassesProperties)
          Make required initialization on the context of the application.
GenericAppWithGML(java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String kbrProperties, java.lang.String dhtProperties, java.lang.String behProperties, java.lang.String gmlGraphicalProperties, java.lang.String gmlClassesProperties)
          Make required initialization on the context of the application.
NetworkNodeImpl(Id id)
          Constructor, create a new Node instance with node Id
NodeImpl(Id id)
          Constructor, create a new Node instance with node Id
 

Uses of InitializationException in planet.generic.commonapi.factory
 

Methods in planet.generic.commonapi.factory that throw InitializationException
 Application ApplicationFactoryImpl.build()
          Builds a new instance of the actual Application's class with the default name.
static Application GenericFactory.build()
           
 Application ApplicationFactoryImpl.build(java.lang.String app)
          Builds a new instance of the specified Application's class app with the default name.
static Application GenericFactory.build(java.lang.String app)
           
static BehavioursPool GenericFactory.buildBehavioursPool()
          Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
static GMLConstraint GenericFactory.buildDefaultGMLConstraint()
           
static java.util.Iterator GenericFactory.buildDistributedIds(long desiredNetworkSize)
           
 java.util.Iterator IdFactoryImpl.buildDistributedIds(long desiredNetworkSize)
          The Iterator instance returned permits to build as maximum desiredNetworkSize.
static GMLEdge GenericFactory.buildEdge(Id source, Id target, boolean directed)
           
static GMLEdge GenericFactory.buildEdge(Id source, Id target, boolean directed, java.lang.String fill)
           
 EndPoint EndPointFactoryImpl.buildEndPoint(Application app, Node node)
          Builds a new instance of EndPoint, relating specified Application and Node.
static EndPoint GenericFactory.buildEndPoint(Application app, Node node)
           
static GMLGenerator GenericFactory.buildGMLGenerator()
           
static Id GenericFactory.buildId()
           
 Id IdFactoryImpl.buildId()
          Builds an Id with the actual configuration of network topology and size.
static Id GenericFactory.buildId(java.math.BigInteger bigNumber)
           
 Id IdFactoryImpl.buildId(java.math.BigInteger bigNumber)
          Generate an Id from the BigInteger as its internal value.
static Id GenericFactory.buildId(byte[] material)
           
 Id IdFactoryImpl.buildId(byte[] material)
          Generate an Id from material in byte[] format as its internal value.
static Id GenericFactory.buildId(double material)
           
 Id IdFactoryImpl.buildId(double material)
          Builds an Id with the double parameter as its internal value.
static Id GenericFactory.buildId(int material)
           
 Id IdFactoryImpl.buildId(int material)
          Builds an Id with the int parameter as its internal value.
static Id GenericFactory.buildId(int[] material)
           
 Id IdFactoryImpl.buildId(int[] material)
          Generate an Id from material in int[] format, as its internal value.
protected  Id IdFactoryImpl.buildId(java.lang.Object[] params, java.lang.reflect.Constructor cons)
          Builds an Id with the arguments params, using the Constructor cons.
static Id GenericFactory.buildId(java.lang.String string)
           
 Id IdFactoryImpl.buildId(java.lang.String material)
          Generate an Id from a String that contains its internal value.
static Id GenericFactory.buildId(java.lang.String material, java.lang.String algorithm)
           
 Id IdFactoryImpl.buildId(java.lang.String material, java.lang.String algorithm)
          Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5.
static Id GenericFactory.buildKey(java.lang.String string)
           
 Id IdFactoryImpl.buildKey(java.lang.String string)
          Generate an Id from a String with SHA-1 hash function.
static Network GenericFactory.buildNetwork()
           
 Network NetworkFactoryImpl.buildNetwork()
          Builds a network with the actual specified properties.
static Network GenericFactory.buildNetwork(int size)
           
 Network NetworkFactoryImpl.buildNetwork(int size)
          Builds a network with the actual specified properties, but overwriting the number of nodes to build within.
static Network GenericFactory.buildNetwork(int size, NodeFactory nodeFactory)
           
 Network NetworkFactoryImpl.buildNetwork(int size, NodeFactory nodeFactory)
          Builds a new network with the specified size and this concrete nodeFactory.
static Network GenericFactory.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology)
           
 Network NetworkFactoryImpl.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology)
          Builds a new network with the specified size, this concrete nodeFactory and network topology.
static Network GenericFactory.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology, int k)
           
 Network NetworkFactoryImpl.buildNetwork(int size, NodeFactory nodeFactory, java.lang.String topology, int k)
          Builds a new network with the specified size, this concrete nodeFactory, network topology and k bits to construct new Ids for the Nodes.
static Network GenericFactory.buildNetwork(int size, java.lang.String topology)
           
 Network NetworkFactoryImpl.buildNetwork(int size, java.lang.String topology)
          Builds a network with the specified size for the network, building it under this concrete topology.
static Node GenericFactory.buildNode()
           
 Node NodeFactoryImpl.buildNode()
          Builds a NodeImpl with the actual IdFactory and class for the nodes.
static Node GenericFactory.buildNode(Id id)
           
 Node NodeFactoryImpl.buildNode(Id id)
          Builds a node with the actual implementation class of NodeImpl and the specified id.
static NodeHandle GenericFactory.buildNodeHandle(Id nodeId, boolean alive)
          Builds a new NodeHandle for specifieds Node Id and alive flag.
 NodeHandle NodeHandleFactoryImpl.buildNodeHandle(Id id, boolean alive)
          Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag.
static Id GenericFactory.buildRandomId()
           
 Id IdFactoryImpl.buildRandomId()
          Builds a random Id using the Random constructor of the target Id.
 Application ApplicationFactoryImpl.buildWithName(java.lang.String name)
          Generates a new instance of the actual class of Application.
static Application GenericFactory.buildWithName(java.lang.String name)
           
 Application ApplicationFactoryImpl.buildWithName(java.lang.String app, java.lang.String name)
          Generates a new instance of the specified Application class app.
static Application GenericFactory.buildWithName(java.lang.String app, java.lang.String name)
           
static void GenericFactory.generateGML(Network network, java.lang.String out, GMLConstraint constraint, boolean wholeNetworkLayout)
           
static ApplicationFactory GenericFactory.getApplicationFactory()
          Builds a new instance of ApplicationFactory.
static ApplicationFactory GenericFactory.getApplicationFactory(java.lang.String propertiesFile)
          Builds a new instance of ApplicationFactory.
static BehavioursPoolFactory GenericFactory.getBehavioursPoolFactory()
          Builds a new instance of BehavioursPoolFactory.
static EndPointFactory GenericFactory.getEndPointFactory()
          Builds a new instance of EndPointFactory.
static EndPointFactory GenericFactory.getEndPointFactory(java.lang.String propertiesFile)
          Builds a new instance of EndPointFactory.
static GMLFactory GenericFactory.getGMLFactory()
          Gets an instance of the GMLFactory.
static IdFactory GenericFactory.getIdFactory()
          Builds a new instance of IdFactory.
static IdFactory GenericFactory.getIdFactory(java.lang.String propertiesFile)
          Builds a new instance of IdFactory.
static NetworkFactory GenericFactory.getNetworkFactory()
          Builds a new instance of NetworkFactory.
static NetworkFactory GenericFactory.getNetworkFactory(java.lang.String propertiesFile)
          Builds a new instance of NetworkFactory.
static NodeFactory GenericFactory.getNodeFactory()
          Builds a new instance of NodeFactory.
static NodeFactory GenericFactory.getNodeFactory(java.lang.String propertiesFile)
          Builds a new instance of NodeFactory.
static NodeHandleFactory GenericFactory.getNodeHandleFactory()
          Builds a new instance of NodeHandleFactory.
static void GenericFactory.init()
          Initialize the GenericFactory to load the default properties file.
protected  void IdFactoryImpl.init(java.lang.Class idClass, java.lang.String topology, int networkSize)
          Initialize the new instance with correct values to generate new Ids.
protected  void IdFactoryImpl.initDistributedAttr()
          Initializes the protected attributes to permits the uniform distribution of Ids.
 void ApplicationFactoryImpl.setApplicationClass(java.lang.String app)
          Sets the Application classname to use in the future.
static void GenericFactory.setApplicationClass(java.lang.String app)
           
static void GenericFactory.setNodeClass(java.lang.Class nodeClass)
           
 void NodeFactoryImpl.setNodeClass(java.lang.Class nodeClass)
          Sets the class of an implementation of NodeImpl to return by this factory in the future.
 void GenericFactory.setNodeHandleClass(java.lang.Class nodeHandleClass)
          Sets the NodeHandle class to use in the future.
 void NodeHandleFactoryImpl.setNodeHandleClass(java.lang.Class nodeHandleClass)
          Sets the class of an implementation of NodeHandle to return by this factory in the future.
static void GenericFactory.setSerializedFile(java.lang.String file)
           
 void NetworkFactoryImpl.setSerializedFile(java.lang.String file)
          Sets the filename for capture a serialized state of some network.
static void GenericFactory.setTopology(java.lang.String topology)
           
 void NetworkFactoryImpl.setTopology(java.lang.String topology)
          Sets the topology for the networks to build in the future.
 void NodeFactoryImpl.setTopology(java.lang.String topology)
          Sets the topology of the network to know how generates new Ids.
 

Constructors in planet.generic.commonapi.factory that throw InitializationException
ApplicationFactoryImpl(java.lang.Class appClass)
          This constructor reads the properties' file and initializes the Class for new Applications.
ApplicationFactoryImpl(java.lang.String propertiesFile)
          This constructor reads the properties' file and initializes the Class for new Applications.
EndPointFactoryImpl(java.lang.Class endPointClass)
          Constructor for the factory using the specified implementation class of EndPoint.
EndPointFactoryImpl(java.lang.String factoryProperties)
          Constructor for the factory using the specified factory properties file.
IdFactoryImpl(java.lang.Class idClass, java.lang.String topology, int networkSize)
          Constructor that builds an instance with these parameters
IdFactoryImpl(java.lang.String propertiesFile)
          This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes.
NetworkFactoryImpl(java.lang.Class networkClass, java.lang.Class nodeFactClass, java.lang.Class idFactory, java.lang.Class nodeClass, java.lang.Class idClass, java.lang.String topology, int networkSize)
          Builds a new instance of the NetworkFactory using all specified parameters.
NetworkFactoryImpl(java.lang.String propertiesFile)
          Builds a new instance of NetworkFactory reading all necessary properties from propertiesFile.
NodeFactoryImpl(java.lang.Class idFactory, java.lang.Class nodeClass, java.lang.Class idClass, java.lang.String topology, int networkSize)
          Initializes a new instance of NodeFactory with the classes idFactory and nodeClass specifieds by parameter.
NodeFactoryImpl(IdFactory idFactory, java.lang.Class nodeClass, java.lang.String topology)
          Initializes a new instance of NodeFactory with the idFactory and nodeClass specifieds by parameter.
NodeFactoryImpl(java.lang.String propertiesFile)
          This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes.
NodeHandleFactoryImpl(java.lang.Class nodeHandleClass)
          Initializes a new instance of NodeHandleFactory with the nodeHandleClass specified by parameter.
NodeHandleFactoryImpl(java.lang.String propertiesFile)
          This constructor reads the properties' file and initializes the Class for new NodeHandles.
 

Uses of InitializationException in planet.generic.commonapi.GML
 

Methods in planet.generic.commonapi.GML that throw InitializationException
 GMLConstraint GMLFactoryImpl.buildDefaultGMLConstraint()
          Build the GMLConstraint specified in the GML properties file.
 GMLEdge GMLFactoryImpl.buildEdge(Id source, Id target, boolean directed)
          Build a GML edge with the specified values.
 GMLEdge GMLFactoryImpl.buildEdge(Id source, Id target, boolean directed, java.lang.String fill)
          Build a GML edge with the specified values.
 GMLGenerator GMLFactoryImpl.buildGMLGenerator()
          Builds the GMLGenerator specified in the GML properties file.
 void GMLDefaultProperties.init(java.lang.String propertiesFile)
          Loads the default values specified in the propertiesFile for GML purposes.
 

Constructors in planet.generic.commonapi.GML that throw InitializationException
GMLFactoryImpl(java.lang.String propertiesFile)
          Loads all specified classes in the propertiesFile, related to the GML items.
 

Uses of InitializationException in planet.scribe
 

Methods in planet.scribe that throw InitializationException
static Id Topic.getId(IdFactory factory, java.lang.String name)
          Returns the Id to which the string is mapped
 

Constructors in planet.scribe that throw InitializationException
Topic(IdFactory factory, java.lang.String name)
          Constructor which takes a name for this topic
 

Uses of InitializationException in planet.simulate
 

Methods in planet.simulate that throw InitializationException
 void NetworkSimulator.addNode(Id id, Id bootstrap)
          Create and joins a new node to the simulated network.
 Node Simulator.addNode(Id id, Id bootstrap)
          Create and joins a new node to the simulated network.
 void NetworkSimulator.addNode(Node node, Id bootstrap)
          Joins a new node to the simulated network.
static void GenFileEvents.genDistribEvents(java.lang.String name, int num, int time)
          Build num equidistant Ids.
static void GenFileEvents.genRandomEvents(java.lang.String name, int num, int time)
          Generate a set of random ids for nodes to insert to the overlay.
static RouteMessage MessagePool.getMessage(java.lang.String key, NodeHandle from, NodeHandle to, int type, int mode)
          Return a RouteMessage with the specified values.
static RouteMessage MessagePool.getMessage(java.lang.String key, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg, int type, int mode, java.lang.String appId)
          Builds a new instance of RouteMessage with all specified values.
static void MessagePool.init()
           
 void NetworkSimulator.parseEvents(java.util.Vector events)
          Prepares all events to simulate from a events vector
 void Simulator.parseEvents(java.util.Vector events)
          Prepares all events to simulate from a events vector
 void NetworkSimulator.parseFail(IEvent aEvent)
          Prepares the fail event to simulate from a event interface
 void Simulator.parseFail(IEvent aEvent)
          Prepares the fail event to simulate from a event interface
 void NetworkSimulator.parseJoin(IEvent aEvent)
          Prepares the join event to simulate from a event interface
 void Simulator.parseJoin(IEvent aEvent)
          Prepares the join event to simulate from a event interface
 void NetworkSimulator.parseLeave(IEvent aEvent)
          Prepares the leave event to simulate from a event interface
 void Simulator.parseLeave(IEvent aEvent)
          Prepares the leave event to simulate from a event interface
 void Simulator.parseLookup(IEvent aEvent)
          Prepares the lookup event to simulate from a event interface
 void ISimulator.run(int steps)
           
 void NetworkSimulator.run(int steps)
          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
 void Simulator.run(int steps)
          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
 boolean NetworkSimulator.simulate()
          Executes only one step of simulation.
 boolean Simulator.simulate()
          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.
 void NetworkSimulator.stabilize()
          Make a simple loop that make the stabilization of the actual network.
 

Constructors in planet.simulate that throw InitializationException
NetworkSimulator(IScheduler timer)
          Constructor, create a new simulation with a determinate event scheduler and a new network.
NetworkSimulator(IScheduler timer, Network net)
          Constructor, create a new simulation with a determinate event scheduler
NetworkSimulator(IScheduler timer, Network net, java.lang.String factoriesProperties, java.lang.String simProperties, java.lang.String chordProperties)
          Constructor that generates a new instance of Network and prepares its simulation using the parameters specified in the properties file.
Simulator(IScheduler timer)
          Constructor, create a new simulation with a determinate event scheduler
Simulator(IScheduler timer, boolean load)
          Constructor, create a new simulation with a determinate event scheduler and with indicated argument, will load a old state of simulation
 

Uses of InitializationException in planet.symphony
 

Methods in planet.symphony that throw InitializationException
 void SymphonyProperties.init(java.lang.String propertiesFile)
          Initialize all configuration properties of the Symphony overlay.
 

Constructors in planet.symphony that throw InitializationException
SymphonyId(java.math.BigInteger value)
          Always throws an InitializationException because this constructor is nonapplicable to this type of Id.
SymphonyId(byte[] data)
          Builds an Id with the data in byte[] format.
SymphonyId(int id)
          Always throws an InitializationException, because this constructor is nonapplicable to this type of Id.
SymphonyId(int[] data)
          Always throws an InitializationException because this constructor is nonapplicable to this type of Id.
SymphonyId(java.util.Random random)
          Build a new random Id, based with the random number generator random.
SymphonyId(java.lang.String sid)
          Builds a new Id with the double value that appear in the argument as String value.
SymphonyId(java.lang.String sid, java.lang.String algorithm)
          Builds a new Id from an arbitray string applying a one-way hashing algorithm such as SHA or MD5.
SymphonyNode(Id id)
           
 

Uses of InitializationException in planet.test
 

Constructors in planet.test that throw InitializationException
IdTest(java.lang.String name)
           
SimpleTest(java.lang.String name)
           
TestPool()
          Make the goal test of this class:

1.
 

Uses of InitializationException in planet.test.broadcast
 

Constructors in planet.test.broadcast that throw InitializationException
BroadcastTest()
          Initialize the broadcast test and builds the network.
 

Uses of InitializationException in planet.test.dht
 

Constructors in planet.test.dht that throw InitializationException
DHTTest()
          Constructor that initialize a network with MAX_NODES, and register over each node an instance of DHTApplication.
 

Uses of InitializationException in planet.test.factory
 

Constructors in planet.test.factory that throw InitializationException
TestAppFactory()
          Buils an instance of ApplicationFactory and a Application and prints its class.
TestEndPointFactory()
          Buils an instance of EndPointFactory and a EndPoint and prints its class.
TestIdFactory()
          Buils an instance of IdFactory and a Id and prints its class.
TestNetFactory()
          Buils an instance of NetworkFactory and a Network and prints its class.
TestNodeFactory()
          Buils an instance of NodeFactory and a Node and prints its class.
TestNodeHandleFactory()
          Buils an instance of NodeHandleFactory and a NodeHandle and prints its class.
 

Uses of InitializationException in planet.test.GML.GMLTopology
 

Constructors in planet.test.GML.GMLTopology that throw InitializationException
GMLTopologyTest()
           
 

Uses of InitializationException in planet.test.helloworld
 

Constructors in planet.test.helloworld that throw InitializationException
DHTPeerTest()
          Builds a network, following the values of the properties files.
 

Uses of InitializationException in planet.test.scribe
 

Constructors in planet.test.scribe that throw InitializationException
ScribePeerTest()
          Constructor
ScribeTest(java.lang.String name)
           
 

Uses of InitializationException in planet.test.serialize
 

Constructors in planet.test.serialize that throw InitializationException
GenSerializedFile()
          Builds a network based with events file "test_join1000d.txt" and serialize it to file "test_1000.dat".
 

Uses of InitializationException in planet.test.symphonyDHT
 

Constructors in planet.test.symphonyDHT that throw InitializationException
SymphonyDHT()
          Constructor that initialize a network with MAX_NODES, and register over each node an instance of SymphonyDHTApplication.
 

Uses of InitializationException in planet.util
 

Methods in planet.util that throw InitializationException
 void DHTProperties.init(java.lang.String propertiesFile)
          Initialize correctly the generic DHT configuration properties.
 void PropertiesInitializer.init(java.lang.String propertiesFile)
          Initialize correctly the configuration properties.
static void Properties.init(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties)
          Load all properties for factories, simulator and chord, from the specified files, respectively.
static void Properties.init(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties, java.lang.String behProperties)
          Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
static void Properties.init(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties, java.lang.String behProperties, java.lang.String dhtProperties)
          Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
static void Properties.initFactories(java.lang.String filename)
          Initializa all attributes for factories.
static void Properties.initSimulator(java.lang.String filename)
          Load all properties for the simulator.
static void Properties.initWithGML(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties, java.lang.String gmlProperties, java.lang.String gmlClassesProperties)
          Load all properties for factories, simulator and chord, from the specified files, respectively.
static void Properties.initWithGML(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties, java.lang.String behProperties, java.lang.String gmlProperties, java.lang.String gmlClassesProperties)
          Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.
static void Properties.initWithGML(java.lang.String factoryProperties, java.lang.String simProperties, java.lang.String overlayProperties, java.lang.String behProperties, java.lang.String dhtProperties, java.lang.String gmlProperties, java.lang.String gmlClassesProperties)
          Load all properties for factories, simulator, overlay, DHT from the specified files, respectively.