|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
void |
BehaviourProperties.init(java.lang.String propertiesFile)
Initialize correctly the 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. |
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. |
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.getDataMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
static RouteMessage |
ChordNode.getBroadcastMessage(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(int data)
This constructor is nonapplicable to the Chord overlay. |
|
ChordId(double data)
This constructor is nonapplicable to the Chord overlay. |
|
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. |
|
ChordId(java.util.Random random)
Build a new ChordId based with the random number generator random. |
|
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.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. |
void |
Network.failNodes(Id[] nodes)
nodes shows all nodes Id that have failed. |
void |
Network.registerApplicationAll()
Register to all Nodes in this network the Applicaton specified at properties file. |
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.registerApplicationRandom(int nodes)
Register the Application specified at properties file radomly to a maximum number of Nodes specified by nodes. |
IdFactory |
Node.getIdFactory()
Returns a factory for Ids specific to this node's protocol. |
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. |
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. |
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(int material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(double material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(byte[] material)
Builds a protocol-specific Id given the source data. |
Id |
IdFactory.buildId(int[] material)
Builds a protocol-specific Id given the source data as int[]. |
Id |
IdFactory.buildKey(java.lang.String materialToHash)
Builds a protocol-specific Id by using the given string as source data for a hash function (like SHA-1). |
Id |
IdFactory.buildId(java.lang.String material)
Generate an Id from the String as its internal value. |
Id |
IdFactory.buildId(java.math.BigInteger material)
Generate an Id from a BigInteger, that includes its internal value. |
Id |
IdFactory.buildId(java.lang.String material,
java.lang.String algorithm)
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5. |
Id |
IdFactory.buildRandomId()
Builds an uniformly distributed random Id. |
java.util.Iterator |
IdFactory.buildDistributedIds(long desiredNetworkSize)
The Iterator instance returned permits to build as maximum desiredNetworkSize. |
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,
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)
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. |
void |
NetworkFactory.setTopology(java.lang.String topology)
Sets the topology of the new generated networks. |
void |
NetworkFactory.setSerializedFile(java.lang.String file)
Sets the filename from where capture a serialized state of a network. |
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. |
void |
NodeFactory.setNodeClass(java.lang.Class nodeClass)
Sets Class to generate new Nodes. |
void |
NodeFactory.setTopology(java.lang.String topology)
Sets the topology of the network to know how generates new Ids. |
NodeHandle |
NodeHandleFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
void |
NodeHandleFactory.setNodeHandleClass(java.lang.Class nodeHandleClass)
Sets Class to generate new NodeHandles. |
Uses of InitializationException in planet.commonapi.GML |
Methods in planet.commonapi.GML that throw InitializationException | |
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. |
GMLConstraint |
GMLFactory.buildDefaultGMLConstraint()
Build the GMLConstraint 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.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. |
void |
NetworkImpl.failNodes(Id[] nodes)
Runs the stabilization process after each fail node. |
void |
NetworkImpl.registerApplicationAll()
Register the Application app to all nodes existing at the underlying network. |
int |
NetworkImpl.registerApplication(Id[] nodes)
Register the Application specified at properties file to the specified nodes by theirs Ids. |
void |
NetworkImpl.registerApplicationRandom(int nodes)
Register the Application app to radomly at the number of Nodes nodes. |
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 |
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. |
Application |
ApplicationFactoryImpl.build(java.lang.String app)
Builds a new instance of the specified Application's class app with the default name. |
Application |
ApplicationFactoryImpl.buildWithName(java.lang.String name)
Generates a new instance of the actual class of Application. |
Application |
ApplicationFactoryImpl.buildWithName(java.lang.String app,
java.lang.String name)
Generates a new instance of the specified Application class app. |
void |
ApplicationFactoryImpl.setApplicationClass(java.lang.String app)
Sets the Application classname to use in the future. |
EndPoint |
EndPointFactoryImpl.buildEndPoint(Application app,
Node node)
Builds a new instance of EndPoint, relating specified Application and Node. |
static void |
GenericFactory.init()
Initialize the GenericFactory to load the default properties file. |
static ApplicationFactory |
GenericFactory.getApplicationFactory()
Builds a new instance of ApplicationFactory. |
static NetworkFactory |
GenericFactory.getNetworkFactory()
Builds a new instance of NetworkFactory. |
static EndPointFactory |
GenericFactory.getEndPointFactory()
Builds a new instance of EndPointFactory. |
static NodeFactory |
GenericFactory.getNodeFactory()
Builds a new instance of NodeFactory. |
static NodeHandleFactory |
GenericFactory.getNodeHandleFactory()
Builds a new instance of NodeHandleFactory. |
static IdFactory |
GenericFactory.getIdFactory()
Builds a new instance of IdFactory. |
static BehavioursPoolFactory |
GenericFactory.getBehavioursPoolFactory()
Builds a new instance of BehavioursPoolFactory. |
static ApplicationFactory |
GenericFactory.getApplicationFactory(java.lang.String propertiesFile)
Builds a new instance of ApplicationFactory. |
static NetworkFactory |
GenericFactory.getNetworkFactory(java.lang.String propertiesFile)
Builds a new instance of NetworkFactory. |
static EndPointFactory |
GenericFactory.getEndPointFactory(java.lang.String propertiesFile)
Builds a new instance of EndPointFactory. |
static NodeFactory |
GenericFactory.getNodeFactory(java.lang.String propertiesFile)
Builds a new instance of NodeFactory. |
static IdFactory |
GenericFactory.getIdFactory(java.lang.String propertiesFile)
Builds a new instance of IdFactory. |
static GMLFactory |
GenericFactory.getGMLFactory()
Gets an instance of the GMLFactory. |
static Application |
GenericFactory.build()
|
static Application |
GenericFactory.build(java.lang.String app)
|
static Application |
GenericFactory.buildWithName(java.lang.String name)
|
static Application |
GenericFactory.buildWithName(java.lang.String app,
java.lang.String name)
|
static void |
GenericFactory.setApplicationClass(java.lang.String app)
|
static Network |
GenericFactory.buildNetwork()
|
static Network |
GenericFactory.buildNetwork(int size)
|
static Network |
GenericFactory.buildNetwork(int size,
NodeFactory nodeFactory)
|
static Network |
GenericFactory.buildNetwork(int size,
java.lang.String topology)
|
static Network |
GenericFactory.buildNetwork(int size,
NodeFactory nodeFactory,
java.lang.String topology)
|
static Network |
GenericFactory.buildNetwork(int size,
NodeFactory nodeFactory,
java.lang.String topology,
int k)
|
static void |
GenericFactory.setTopology(java.lang.String topology)
|
static void |
GenericFactory.setSerializedFile(java.lang.String file)
|
static EndPoint |
GenericFactory.buildEndPoint(Application app,
Node node)
|
static Node |
GenericFactory.buildNode()
|
static Node |
GenericFactory.buildNode(Id id)
|
static void |
GenericFactory.setNodeClass(java.lang.Class nodeClass)
|
static Id |
GenericFactory.buildId()
|
static Id |
GenericFactory.buildId(int material)
|
static Id |
GenericFactory.buildId(double material)
|
static Id |
GenericFactory.buildId(byte[] material)
|
static Id |
GenericFactory.buildId(int[] material)
|
static Id |
GenericFactory.buildKey(java.lang.String string)
|
static Id |
GenericFactory.buildId(java.lang.String string)
|
static Id |
GenericFactory.buildId(java.math.BigInteger bigNumber)
|
static Id |
GenericFactory.buildId(java.lang.String material,
java.lang.String algorithm)
|
static Id |
GenericFactory.buildRandomId()
|
static java.util.Iterator |
GenericFactory.buildDistributedIds(long desiredNetworkSize)
|
static BehavioursPool |
GenericFactory.buildBehavioursPool()
Builds a BehaviourPool with the actual configuration on Behaviour.properties file. |
static NodeHandle |
GenericFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a new NodeHandle for specifieds Node Id and alive flag. |
void |
GenericFactory.setNodeHandleClass(java.lang.Class nodeHandleClass)
Sets the NodeHandle class to use in the future. |
static GMLEdge |
GenericFactory.buildEdge(Id source,
Id target,
boolean directed)
|
static GMLEdge |
GenericFactory.buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
|
static GMLGenerator |
GenericFactory.buildGMLGenerator()
|
static GMLConstraint |
GenericFactory.buildDefaultGMLConstraint()
|
static void |
GenericFactory.generateGML(Network network,
java.lang.String out,
GMLConstraint constraint,
boolean wholeNetworkLayout)
|
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. |
Id |
IdFactoryImpl.buildId()
Builds an Id with the actual configuration of network topology and size. |
protected Id |
IdFactoryImpl.buildId(java.lang.Object[] params,
java.lang.reflect.Constructor cons)
Builds an Id with the arguments params, using the Constructor cons. |
Id |
IdFactoryImpl.buildRandomId()
Builds a random Id using the Random constructor of the target Id. |
Id |
IdFactoryImpl.buildId(double material)
Builds an Id with the double parameter as its internal value. |
Id |
IdFactoryImpl.buildId(int material)
Builds an Id with the int parameter as its internal value. |
Id |
IdFactoryImpl.buildId(byte[] material)
Generate an Id from material in byte[] format as its internal value. |
Id |
IdFactoryImpl.buildId(int[] material)
Generate an Id from material in int[] format, as its internal value. |
Id |
IdFactoryImpl.buildKey(java.lang.String string)
Generate an Id from a String with SHA-1 hash function. |
Id |
IdFactoryImpl.buildId(java.lang.String material)
Generate an Id from a String that contains its internal value. |
Id |
IdFactoryImpl.buildId(java.lang.String material,
java.lang.String algorithm)
Builds a new Id from an arbitray string applying a one-way hashing algorithm, such as SHA-1 or MD5. |
Id |
IdFactoryImpl.buildId(java.math.BigInteger bigNumber)
Generate an Id from the BigInteger as its internal value. |
java.util.Iterator |
IdFactoryImpl.buildDistributedIds(long desiredNetworkSize)
The Iterator instance returned permits to build as maximum desiredNetworkSize. |
Network |
NetworkFactoryImpl.buildNetwork()
Builds a network with the actual specified properties. |
Network |
NetworkFactoryImpl.buildNetwork(int size)
Builds a network with the actual specified properties, but overwriting the number of nodes to build within. |
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. |
Network |
NetworkFactoryImpl.buildNetwork(int size,
NodeFactory nodeFactory)
Builds a new network with the specified size and this concrete nodeFactory. |
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. |
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. |
void |
NetworkFactoryImpl.setTopology(java.lang.String topology)
Sets the topology for the networks to build in the future. |
void |
NetworkFactoryImpl.setSerializedFile(java.lang.String file)
Sets the filename for capture a serialized state of some network. |
Node |
NodeFactoryImpl.buildNode()
Builds a NodeImpl with the actual IdFactory and class for the nodes. |
Node |
NodeFactoryImpl.buildNode(Id id)
Builds a node with the actual implementation class of NodeImpl and the specified id. |
void |
NodeFactoryImpl.setNodeClass(java.lang.Class nodeClass)
Sets the class of an implementation of NodeImpl to return by this factory in the future. |
void |
NodeFactoryImpl.setTopology(java.lang.String topology)
Sets the topology of the network to know how generates new Ids. |
NodeHandle |
NodeHandleFactoryImpl.buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag. |
void |
NodeHandleFactoryImpl.setNodeHandleClass(java.lang.Class nodeHandleClass)
Sets the class of an implementation of NodeHandle to return by this factory in the future. |
Constructors in planet.generic.commonapi.factory that throw InitializationException | |
ApplicationFactoryImpl(java.lang.String propertiesFile)
This constructor reads the properties' file and initializes the Class for new Applications. |
|
ApplicationFactoryImpl(java.lang.Class appClass)
This constructor reads the properties' file and initializes the Class for new Applications. |
|
EndPointFactoryImpl(java.lang.String factoryProperties)
Constructor for the factory using the specified factory properties file. |
|
EndPointFactoryImpl(java.lang.Class endPointClass)
Constructor for the factory using the specified implementation class of EndPoint. |
|
IdFactoryImpl(java.lang.String propertiesFile)
This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes. |
|
IdFactoryImpl(java.lang.Class idClass,
java.lang.String topology,
int networkSize)
Constructor that builds an instance with these parameters |
|
NetworkFactoryImpl(java.lang.String propertiesFile)
Builds a new instance of NetworkFactory reading all necessary properties from propertiesFile. |
|
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. |
|
NodeFactoryImpl(java.lang.String propertiesFile)
This constructor reads the properties' file and initializes the IdFactory and Class for new Nodes. |
|
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. |
|
NodeHandleFactoryImpl(java.lang.String propertiesFile)
This constructor reads the properties' file and initializes the Class for new NodeHandles. |
|
NodeHandleFactoryImpl(java.lang.Class nodeHandleClass)
Initializes a new instance of NodeHandleFactory with the nodeHandleClass specified by parameter. |
Uses of InitializationException in planet.generic.commonapi.GML |
Methods in planet.generic.commonapi.GML that throw InitializationException | |
void |
GMLDefaultProperties.init(java.lang.String propertiesFile)
Loads the default values specified in the propertiesFile for GML purposes. |
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. |
GMLConstraint |
GMLFactoryImpl.buildDefaultGMLConstraint()
Build the GMLConstraint specified in the GML properties file. |
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 | |
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 void |
GenFileEvents.genDistribEvents(java.lang.String name,
int num,
int time)
Build num equidistant Ids. |
void |
ISimulator.run(int steps)
|
static void |
MessagePool.init()
|
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. |
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 |
boolean |
NetworkSimulator.simulate()
Executes only one step of simulation. |
void |
NetworkSimulator.stabilize()
Make a simple loop that make the stabilization of the actual network. |
void |
NetworkSimulator.addNode(Node node,
Id bootstrap)
Joins a new node to the simulated network. |
void |
NetworkSimulator.addNode(Id id,
Id bootstrap)
Create and joins a new node to the simulated network. |
void |
NetworkSimulator.parseEvents(java.util.Vector events)
Prepares all events to simulate from a events vector |
void |
NetworkSimulator.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 |
NetworkSimulator.parseFail(IEvent aEvent)
Prepares the fail event to simulate from a event interface |
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 |
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. |
Node |
Simulator.addNode(Id id,
Id bootstrap)
Create and joins a new node to the simulated network. |
void |
Simulator.parseEvents(java.util.Vector events)
Prepares all events to simulate from a events vector |
void |
Simulator.parseJoin(IEvent aEvent)
Prepares the join 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 |
Simulator.parseFail(IEvent aEvent)
Prepares the fail event to simulate from a event interface |
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(int id)
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[] data)
Always throws an InitializationException because this constructor is nonapplicable to this type of Id. |
|
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. |
|
SymphonyId(java.math.BigInteger value)
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. |
|
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. |
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.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. |
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. |
void |
PropertiesInitializer.init(java.lang.String propertiesFile)
Initialize correctly the configuration properties. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |