|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of InitializationException in planet.badchord |
Constructors in planet.badchord that throw InitializationException | |
BadChordNode()
Constructor, create a new BadChordNode instance with this node Id |
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. |
Node |
ChordNode.setValues(Id newId)
Sets the new Id for this node. |
void |
ChordProperties.init(PropertiesWrapper properties)
Initialize all configuration properties of the Chord overlay. |
void |
ChordProperties.postinit(PropertiesWrapper properties)
Makes the postinitialization process. |
Constructors in planet.chord that throw InitializationException | |
ChordNode()
Constructor, create a new BadChordNode instance with this node Id |
Uses of InitializationException in planet.commonapi |
Methods in planet.commonapi that throw InitializationException | |
Id |
Id.setValues(java.lang.String material,
java.lang.String algorithm)
Sets the new value for this Id, based on a hashed value. |
Network |
Network.setValues(java.lang.String topology,
NodeFactory nodeFactory)
Sets the initial values for the new Network instance. |
void |
Network.joinNode(Node node)
Joins the node to the ring. |
void |
Network.joinNode(Node node,
NodeHandle 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,
NodeHandle[] bootstrap)
Generates size new Nodes joins them by any of the bootstraps. |
void |
Network.leaveNodes(NodeHandle[] nodes)
Leave the ring the nodes which his NodeHandle appears in the array nodes. |
void |
Network.failNodes(NodeHandle[] nodes)
nodes shows all nodes NodeHandle that have failed. |
void |
Network.registerApplicationAll()
Register to all Nodes in this network the Applicaton specified at properties file. |
int |
Network.registerApplication(NodeHandle[] nodes)
Register to all Nodes whose NodeHandle 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. |
Node |
Node.setValues(Id newId)
Sets the new Id for this Node. |
Uses of InitializationException in planet.commonapi.behaviours |
Methods in planet.commonapi.behaviours that throw InitializationException | |
BehavioursFactory |
BehavioursFactory.setValues(java.lang.Class pool,
java.lang.Class filter,
java.lang.Class invoker,
java.lang.Class pattern,
java.lang.Class roleSelector)
Sets the initial values for this BehavioursFactory. |
BehavioursFilter |
BehavioursFactory.buildBehavioursFilter()
Builds an instance of the current BehavioursFilter implementation. |
BehavioursInvoker |
BehavioursFactory.buildBehavioursInvoker()
Builds an instance of the current BehavioursInvoker implementation. |
BehavioursPattern |
BehavioursFactory.buildBehavioursPattern()
Builds an instance of the current BehavioursPattern implementation. |
BehavioursPool |
BehavioursFactory.buildBehavioursPool()
Builds an instance of the current BehavioursPool implementation. |
BehavioursRoleSelector |
BehavioursFactory.buildBehavioursRoleSelector()
Builds an instance of the current BehavioursRoleSelector implementation. |
Uses of InitializationException in planet.commonapi.factory |
Methods in planet.commonapi.factory that throw InitializationException | |
ApplicationFactory |
ApplicationFactory.setValues(java.lang.Class application)
Initializes the ApplicationFactory with the specified values. |
Application |
ApplicationFactory.buildApplication()
Generates a new instance of the actual Application class. |
Application |
ApplicationFactory.buildApplication(java.lang.String app)
Generates a new instance of the Application class app. |
Application |
ApplicationFactory.buildApplicationWithName(java.lang.String name)
Generates a new instance of the actual Application class. |
Application |
ApplicationFactory.buildApplicationWithName(java.lang.String app,
java.lang.String name)
Generates a new instance of the Application class app. |
EndPointFactory |
EndPointFactory.setValues(java.lang.Class endPoint)
Sets initial values for this EndPointFactory. |
EndPoint |
EndPointFactory.buildEndPoint(Application app,
Node node)
Builds a new EndPoint that relates the Application app with the underlying Node node. |
IdFactory |
IdFactory.setValues(java.lang.Class idClass,
java.lang.String topology,
int networkSize)
Sets the specified initial values. |
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(int desiredNetworkSize)
The Iterator instance returned permits to build as maximum desiredNetworkSize. |
NetworkFactory |
NetworkFactory.setValues(java.lang.Class network,
int size,
NodeFactory nodeFactory,
java.lang.String topology)
Sets the initial values for the NetworkFactory instance with the specified values. |
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. |
NodeFactory |
NodeFactory.setValues(IdFactory idFactory,
java.lang.Class nodeClass)
Sets the initial values for this NodeFactory. |
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. |
NodeHandleFactory |
NodeHandleFactory.setValues(java.lang.Class nodeHandle)
Sets the initial values for the NodeHandleFactory. |
NodeHandle |
NodeHandleFactory.buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
RouteMessage |
RouteMessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
Return a RouteMessage with the specified values, setting the nextHop field with the to value. |
RouteMessage |
RouteMessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message msg,
java.lang.String appId)
Builds a new instance of RouteMessage with these specified values. |
Uses of InitializationException in planet.commonapi.results |
Methods in planet.commonapi.results that throw InitializationException | |
ResultsFactory |
ResultsFactory.setValues(java.lang.Class resultsEdge,
java.lang.Class resultsConstraint,
java.lang.Class resultsGenerator)
Sets the initial values for this ResultsFactory. |
ResultsEdge |
ResultsFactory.buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build an edge with the specified values. |
ResultsGenerator |
ResultsFactory.buildGenerator()
Builds the Generator specified in the properties file. |
ResultsConstraint |
ResultsFactory.buildConstraint()
Build the Constraint specified in the properties file. |
Uses of InitializationException in planet.generic.commonapi |
Methods in planet.generic.commonapi that throw InitializationException | |
static void |
GenericApp.start(java.lang.String masterPropertiesFile,
java.lang.String masterPropertyName,
boolean activateApplicationLevel,
boolean activateEvents,
boolean activateResults,
boolean activateSerialization)
Make the complete initialization of the simulator context, according to the arguments. |
static void |
GenericApp.restart(boolean activateApplicationLevel,
boolean activateEvents,
boolean activateResults,
boolean activateSerialization)
Make an update of the current simulator context using the actual configuration into the planet.util.Properties. |
Network |
NetworkImpl.setValues(java.lang.String topology,
NodeFactory nodeFactory)
Sets the initial values for the new Network instance. |
void |
NetworkImpl.joinNode(Node node)
Add the node to the actual network. |
void |
NetworkImpl.joinNode(Node node,
NodeHandle 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,
NodeHandle[] bootstrap)
Add size nodes to the actual network. |
void |
NetworkImpl.leaveNodes(NodeHandle[] nodes)
Leave theese nodes for the network. |
void |
NetworkImpl.failNodes(NodeHandle[] 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(NodeHandle[] 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. |
Node |
NodeImpl.setValues(Id newId)
Sets the new Id. |
void |
RouteMessageWithPathImpl.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(java.lang.String masterPropertiesFile,
java.lang.String masterPropertyName,
boolean activateApplicationLevel,
boolean activateEvents,
boolean activateResults,
boolean activateSerialization)
Make the complete initialization of the simulator context, according to the arguments. |
|
GenericApp(java.lang.String masterPropertyName,
boolean activateApplicationLevel,
boolean activateEvents,
boolean activateResults,
boolean activateSerialization)
Make the complete initialization of the simulator context, according to the arguments. |
|
NetworkNodeImpl(Id id)
Constructor, create a new Node instance with node Id |
Uses of InitializationException in planet.generic.commonapi.behaviours |
Methods in planet.generic.commonapi.behaviours that throw InitializationException | |
BehavioursFactory |
BehavioursFactoryImpl.setValues(java.lang.Class pool,
java.lang.Class filter,
java.lang.Class invoker,
java.lang.Class pattern,
java.lang.Class roleSelector)
Sets the initial values for this BehavioursFactory. |
BehavioursPool |
BehavioursFactoryImpl.buildBehavioursPool()
Builds a new instance of the current implementation of BehavioursPool. |
BehavioursFilter |
BehavioursFactoryImpl.buildBehavioursFilter()
Builds a new instance of the current implementation of BehavioursFilter. |
BehavioursInvoker |
BehavioursFactoryImpl.buildBehavioursInvoker()
Builds a new instance of the current implementation of BehavioursInvoker. |
BehavioursPattern |
BehavioursFactoryImpl.buildBehavioursPattern()
Builds a new instance of the current implementation of BehavioursPattern. |
BehavioursRoleSelector |
BehavioursFactoryImpl.buildBehavioursRoleSelector()
Builds a new instance of the current implementation of BehavioursRoleSelector. |
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,
BehavioursPatternImpl 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. |
void |
BehavioursPropertiesImpl.init(PropertiesWrapper properties)
|
void |
BehavioursPropertiesImpl.postinit(PropertiesWrapper properties)
Load all patterns once the simulator context has been initialized. |
Constructors in planet.generic.commonapi.behaviours that throw InitializationException | |
BehavioursPoolImpl()
Builds a non initialized pool. |
Uses of InitializationException in planet.generic.commonapi.factory |
Methods in planet.generic.commonapi.factory that throw InitializationException | |
ApplicationFactory |
ApplicationFactoryImpl.setValues(java.lang.Class application)
Sets the initial values for this ApplicationFactory. |
Application |
ApplicationFactoryImpl.buildApplication()
Builds a new instance of the actual Application's class with the default name. |
Application |
ApplicationFactoryImpl.buildApplication(java.lang.String app)
Builds a new instance of the specified Application's class app with the default name. |
Application |
ApplicationFactoryImpl.buildApplicationWithName(java.lang.String name)
Generates a new instance of the actual class of Application. |
Application |
ApplicationFactoryImpl.buildApplicationWithName(java.lang.String app,
java.lang.String name)
Generates a new instance of the specified Application class app. |
EndPointFactory |
EndPointFactoryImpl.setValues(java.lang.Class endPoint)
Sets initial values for this EndPointFactory. |
EndPoint |
EndPointFactoryImpl.buildEndPoint(Application app,
Node node)
Builds a new instance of EndPoint, relating specified Application and Node. |
static java.lang.Object |
GenericFactory.newInstance(java.lang.Class classReference)
Builds an instance of the specified class. |
static void |
GenericFactory.init()
Initialize the GenericFactory to load the default properties file. |
static void |
GenericFactory.postinit()
Make the post initializations to leave the GenericFactory complete. |
static NetworkFactory |
GenericFactory.buildNetworkFactory()
Builds a new instance of NetworkFactory. |
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 IdFactory |
GenericFactory.buildIdFactory()
Builds a new instance of IdFactory. |
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(int desiredNetworkSize)
|
static NodeHandleFactory |
GenericFactory.buildNodeHandleFactory()
Builds a new instance of NodeHandleFactory following the current configuration. |
static NodeHandle |
GenericFactory.buildNodeHandle(Id nodeId,
boolean alive)
|
static NodeFactory |
GenericFactory.buildNodeFactory()
Builds a new instance of NodeFactory following the current configuration. |
static Node |
GenericFactory.buildNode()
|
static Node |
GenericFactory.buildNode(Id id)
|
static RouteMessagePool |
GenericFactory.buildRouteMessagePool()
Builds an instance of the current RouteMessagePool implementation. |
static RouteMessage |
GenericFactory.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
|
static RouteMessage |
GenericFactory.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg,
int type,
int mode,
java.lang.String appId)
|
static ApplicationFactory |
GenericFactory.buildApplicationFactory()
Builds a new instance of ApplicationFactory following the current configuration. |
static Application |
GenericFactory.buildApplication()
|
static Application |
GenericFactory.buildApplication(java.lang.String app)
|
static Application |
GenericFactory.buildApplicationWithName(java.lang.String name)
|
static Application |
GenericFactory.buildApplicationWithName(java.lang.String app,
java.lang.String name)
|
static EndPointFactory |
GenericFactory.buildEndPointFactory()
Builds a new instance of EndPointFactory following the current configuration. |
static EndPoint |
GenericFactory.buildEndPoint(Application app,
Node node)
|
static BehavioursFactory |
GenericFactory.buildBehavioursFactory()
Builds an instance of the current BehavioursFactory implementation. |
static BehavioursFilter |
GenericFactory.buildBehavioursFilter()
|
static BehavioursInvoker |
GenericFactory.buildBehavioursInvoker()
|
static BehavioursPattern |
GenericFactory.buildBehavioursPattern()
|
static BehavioursPool |
GenericFactory.buildBehavioursPool()
|
static BehavioursRoleSelector |
GenericFactory.buildBehavioursRoleSelector()
|
void |
GenericFactory.onMessage(RouteMessage msg,
Node node)
|
static ResultsFactory |
GenericFactory.buildResultsFactory(java.lang.String resultName)
Builds an instance of the current BehavioursFactory implementation. |
static void |
GenericFactory.generateResults(java.lang.String resultsName,
Network network,
java.lang.String out,
ResultsConstraint constraint,
boolean wholeNetworkLayout)
|
static ResultsEdge |
GenericFactory.buildEdge(java.lang.String resultsName,
Id source,
Id target,
boolean directed,
java.lang.String fill)
|
static ResultsGenerator |
GenericFactory.buildGenerator(java.lang.String resultsName)
|
static ResultsConstraint |
GenericFactory.buildConstraint(java.lang.String resultsName)
|
static NetworkFactory |
GenericFactory.getDefaultNetworkFactory()
Returns the NetworkFactory that is used internally to invoke the NetworkFactory methods. |
static IdFactory |
GenericFactory.getDefaultIdFactory()
Returns the IdFactory that is used internally to invoke the IdFactory methods. |
static NodeHandleFactory |
GenericFactory.getDefaultNodeHandleFactory()
Returns the NodeHandleFactory that is used internally to invoke the nodehandle factory methods. |
static NodeFactory |
GenericFactory.getDefaultNodeFactory()
Returns the NodeFactory that is used internally to invoke the node factory methods. |
static ApplicationFactory |
GenericFactory.getDefaultApplicationFactory()
Returns the ApplicationFactory that is used internally to invoke the application factory methods. |
static EndPointFactory |
GenericFactory.getDefaultEndPointFactory()
Return the EndPointFactory that is used internally to invoke the endpoint factory methods. |
static BehavioursFactory |
GenericFactory.getDefaultBehavioursFactory()
Return the BehavioursFactory that is used internally to invoke the behaviours factory methods. |
static BehavioursPool |
GenericFactory.getDefaultBehavioursPool()
Return the BehavioursPool that is used internally to invoke the behaviours pool methods. |
static RouteMessagePool |
GenericFactory.getDefaultRouteMessagePool()
Returns the RouteMessagePool that is used internally to invoke the pool methods. |
IdFactory |
IdFactoryImpl.setValues(java.lang.Class idClass,
java.lang.String topology,
int networkSize)
Sets the specified initial values. |
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. |
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(int desiredNetworkSize)
The Iterator instance returned permits to build as maximum desiredNetworkSize. |
NetworkFactory |
NetworkFactoryImpl.setValues(java.lang.Class network,
int size,
NodeFactory nodeFactory,
java.lang.String topology)
Sets the initial values for the NetworkFactory instance with the specified values. |
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. |
protected Network |
NetworkFactoryImpl._buildNetwork(int size,
NodeFactory nodeFactory,
java.lang.String topology)
Builds a network with the specified parameters. |
NodeFactory |
NodeFactoryImpl.setValues(IdFactory idFactory,
java.lang.Class node)
Sets the initial values for this NodeFactory. |
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. |
NodeHandleFactory |
NodeHandleFactoryImpl.setValues(java.lang.Class nodeHandle)
Sets the initial values for the NodeHandleFactory. |
NodeHandle |
NodeHandleFactoryImpl.buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag. |
RouteMessage |
RouteMessagePoolImpl.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
Return a RouteMessage with the specified values, setting the nextHop field with the to value. |
RouteMessage |
RouteMessagePoolImpl.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message msg,
java.lang.String appId)
Builds a new instance of RouteMessage with these specified values. |
Constructors in planet.generic.commonapi.factory that throw InitializationException | |
IdFactoryImpl()
Builds the IdFactory. |
Uses of InitializationException in planet.generic.commonapi.results |
Methods in planet.generic.commonapi.results that throw InitializationException | |
ResultsFactory |
ResultsFactoryImpl.setValues(java.lang.Class resultsEdge,
java.lang.Class resultsConstraint,
java.lang.Class resultsGenerator)
Sets the initial values for this ResultsFactory. |
ResultsEdge |
ResultsFactoryImpl.buildEdge(Id source,
Id target,
boolean directed,
java.lang.String fill)
Build a ResultsEdge with the specified values. |
ResultsGenerator |
ResultsFactoryImpl.buildGenerator()
Builds the ResultsGenerator specified in the current configuration. |
ResultsConstraint |
ResultsFactoryImpl.buildConstraint()
Build the ResultsConstraint specified in the current configuration. |
void |
ResultsGMLProperties.init(PropertiesWrapper properties)
Loads the default values specified in the properties for GML purposes. |
void |
ResultsGMLProperties.postinit(PropertiesWrapper properties)
Makes the postinitialization process. |
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)
|
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,
NodeHandle 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 |
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. |
Uses of InitializationException in planet.symphony |
Methods in planet.symphony that throw InitializationException | |
Node |
SymphonyNode.setValues(Id newId)
Sets the new Id. |
void |
SymphonyProperties.init(PropertiesWrapper properties)
Initialize all configuration properties of the Symphony overlay. |
void |
SymphonyProperties.postinit(PropertiesWrapper properties)
Makes the postinitialization process. |
Constructors in planet.symphony that throw InitializationException | |
SymphonyNode()
Initialize the internal data structure. |
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.dht2 |
Constructors in planet.test.dht2 that throw InitializationException | |
DHTTest()
Constructor that initialize a network with MAX_NODES, and register over each node an instance of SymphonyDHTApplication. |
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". |
|
SerializeNetwork()
Builds a network based with events file "test_join1000d.txt" and serialize it to file "test_1000.dat". |
Uses of InitializationException in planet.test.trivialp2ptest |
Constructors in planet.test.trivialp2ptest that throw InitializationException | |
TrivialTest()
|
Uses of InitializationException in planet.trivialp2p |
Methods in planet.trivialp2p that throw InitializationException | |
void |
TrivialProperties.init(PropertiesWrapper properties)
Initialize all configuration properties of the Symphony overlay. |
void |
TrivialProperties.postinit(PropertiesWrapper properties)
Makes the postinitialization process. |
Constructors in planet.trivialp2p that throw InitializationException | |
TrivialNode()
Initialize the internal structure. |
Uses of InitializationException in planet.util |
Methods in planet.util that throw InitializationException | |
static void |
Interfaces.ensureImplementedInterface(java.lang.Class classReference,
java.lang.String fullyQualifiedInterface,
java.lang.String propertyName)
Test if the classReference or any of its superclasses implements the fullyQualifiedInterface interface. |
static void |
Interfaces.ensureExtendedClass(java.lang.Class classReference,
java.lang.String fullyQualifiedClass,
java.lang.String propertyName)
Test if the classReference or any of its superclasses extends the fullyQualifiedClass class (or abstract class). |
static void |
Interfaces.ensureImplementedInterfaceOrClass(java.lang.Class classReference,
java.lang.String fullyQualifiedClass,
java.lang.String propertyName)
Test if the classReference or any of its superclasses extends the fullyQualifiedClass class (or abstract class). |
static void |
Properties.init(java.lang.String masterFilename,
java.lang.String mainPropertyName)
Initialize all required attributes for the current simulation. |
static void |
Properties.postinit()
Makes the postinitialization process for all requried PropertiesInitializers instances. |
static void |
Properties.activateApplicationLevelAttributes()
Loads all required attributes for be able to use the application level. |
static void |
Properties.activateEventsAttributes()
Permits the use of files with events to be loaded into the current simulation. |
static void |
Properties.activateSerializationAttributes()
Permits the loading, saving process of a serialized network. |
static void |
Properties.activateResultsAttributes()
Loads all results types specified in the properties file. |
static java.lang.Class |
Properties.getResultsFactory(java.lang.String resultsName)
Gets the ResultsFactory related to the resultsname. |
static java.lang.Class |
Properties.getResultsConstraint(java.lang.String resultsName)
Gets the ResultsConstraint related to the resultsname. |
static java.lang.Class |
Properties.getResultsEdge(java.lang.String resultsName)
Gets the ResultsEdge related to the resultsname. |
static java.lang.Class |
Properties.getResultsGenerator(java.lang.String resultsName)
Gets the ResultsGenerator related to the resultsname. |
static java.lang.Class |
Properties.getResultsProperties(java.lang.String resultsName)
Gets the properties class related to the resultsname. |
static PropertiesInitializer |
Properties.getResultsPropertiesInstance(java.lang.String resultsName)
Gets the properties instance related to the resultsname. |
void |
PropertiesInitializer.init(PropertiesWrapper properties)
Initialize correctly the configuration properties. |
void |
PropertiesInitializer.postinit(PropertiesWrapper properties)
Makes the postinitialization process. |
java.lang.Class |
PropertiesWrapper.getPropertyAsClass(java.lang.String key)
Gets the related value for the key key as a Class reference. |
double |
PropertiesWrapper.getPropertyAsDouble(java.lang.String key)
Gets the related value for the key key as a double value. |
int |
PropertiesWrapper.getPropertyAsInt(java.lang.String key)
Gets the related value for the key key as an int value. |
static java.lang.Class |
PropertiesWrapper.getValueAsClass(java.lang.String value,
java.lang.String propertyName)
Obtain the Class reference from the related value. |
static double |
PropertiesWrapper.getValueAsDouble(java.lang.String value,
java.lang.String propertyName)
Obtain the double value from the related value. |
static int |
PropertiesWrapper.getValueAsInt(java.lang.String value,
java.lang.String propertyName)
Loads the value for the propertyName as an int value. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |