Serialized Form
percentageOfMalicious
float percentageOfMalicious
maliciousDistribution
int maliciousDistribution
debugInfo
boolean debugInfo
selectorClass
java.lang.Class<T> selectorClass
filterClass
java.lang.Class<T> filterClass
patterns
java.util.Vector<E> patterns
behSet
java.util.HashSet<E> behSet
whenToSet
java.util.HashSet<E> whenToSet
beh
BehavioursPool beh
Package planet.behaviour.exception |
arrayElems
int arrayElems
- number of elements in the array
Id
int[] Id
- the id itself.
MAX
Id MAX
null_pointers
int null_pointers
finger_changes
int finger_changes
- Detect the number of finger changes only on one simulation step.
stabRate
int stabRate
- Number of simulation steps without changes on finger table.
realStabilizationRate
int realStabilizationRate
- Number of simulation steps without changes on finger table, that
represents a real stabilization of this node.
predecessor
NodeHandle predecessor
hasFailed
boolean hasFailed
hasLeaved
boolean hasLeaved
finger
NodeHandle[] finger
start
Id[] start
succ_list
java.util.Vector<E> succ_list
auxCAPI
java.util.Vector<E> auxCAPI
- Temporal use in Common API methods.
deux
Id deux
temp
NodeHandle[] temp
stabilizeSteps
int stabilizeSteps
- Number of steps for statibilization.
fixFingerSteps
int fixFingerSteps
- Number of steps to fix fingers.
succListMax
int succListMax
- Max size for successor list.
Zmod
int Zmod
pt
int pt
Package planet.chord.message |
info
Message info
limit
NodeHandle limit
id
Id id
handle
NodeHandle handle
succs
java.util.Vector<E> succs
Package planet.commonapi.exception |
Package planet.commonapi.factory |
Package planet.commonapi.GML |
TYPES
java.lang.String[] TYPES
replicationRatio
int replicationRatio
- Number of replicas
replicationStabSteps
int replicationStabSteps
- Number of step to run replica's maintenance algorithm
Package planet.generic.commonapi |
node
Node node
app
Application app
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads a serialized state of
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serialize this instance through the stream. It is
responsible to generate a correct serialized state.
- Throws:
java.io.IOException
- if occurs any problem during serialization.
readObjectNoData
private void readObjectNoData()
throws java.io.ObjectStreamException
- This method is invoked when cannot read the version of serialized objects
from the instance of network. In this case, an InvalidObjectException is thrown.
- Throws:
java.io.ObjectStreamException
nodes
java.util.TreeMap<K,V> nodes
- To contains (Id,Node) pairs for all nodes in the network.
toRemove
java.util.Stack<E> toRemove
- Containts all nodes to remove from the network.
nodeFactory
NodeFactory nodeFactory
- NodeFactory implementation which permits build new nodes.
topology
java.lang.String topology
- Defines the topology of the actual network.
randomGenerator
java.util.Random randomGenerator
- Random generator to use to generate random indexes.
size
int size
- The actual size of the network. The number of contained nodes.
It is required for when there are leaving nodes, for showing
the real size on any time.
stabLevel
int stabLevel
- Shows the level of stabilization of the network.
totalSteps
int totalSteps
- Shows the number of actually simulated steps.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
id
Id id
processed
int processed
alive
boolean alive
timer
Timer timer
- Timer to process each TimerTask.
nodeHandle
NodeHandle nodeHandle
- NodeHandle for the actual Node.
endpoints
java.util.Hashtable<K,V> endpoints
- Local EndPoints.
nodeId
Id nodeId
- Node Id.
alive
boolean alive
- true if related Node is alive.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
id
Id id
processed
int processed
nodeHandle
NodeHandle nodeHandle
- NodeHandle for the actual Node.
timer
java.util.Vector<E> timer
- To contain int[] with [firstTime][period] values for each task.
If period is zero (0), corresponds with a task to execute only once.
tasks
java.util.Vector<E> tasks
- To contain the jobs (TimerTask) to execute at each time.
timerCount
long timerCount
timerNext
long timerNext
endpoints
java.util.Hashtable<K,V> endpoints
- Local EndPoints.
role
boolean role
appId
java.lang.String appId
- The application Id who generates the related data and
will receive on to remote Node.
message
Message message
- Message (data) to be routed
nextHop
NodeHandle nextHop
- Next node to arrive
destination
NodeHandle destination
- Destination Node Id who will receive this message.
source
NodeHandle source
- Source Node Id who sends this message.
previousHop
NodeHandle previousHop
- Previous node on path to current node.
type
int type
- Type of this message.
mode
int mode
- Mode of this message.
key
java.lang.String key
- Identification key of this message, necessary to known
relationships between sent messages and new incoming messages.
options
java.lang.Object options
- RouteMessage additional options.
route
java.util.List<E> route
- Route from the source to the destination.
ttl
int ttl
- Time to live for the packet.
Package planet.generic.commonapi.factory |
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded Node class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of Node constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
propertiesFile
java.lang.String propertiesFile
- Properties file name whose read properties.
idClass
java.lang.Class<T> idClass
- Actual instance of Class for new Ids.
topology
java.lang.String topology
- Topology of the actual target network. It is necessary to know how
generate the new Ids of Nodes.
networkSize
int networkSize
- Network size for the target network.
actualValue
Id actualValue
- Id just generated.
chunkValue
Id chunkValue
- Actual value to add to the actualValue to obtain the next Id.
actualBuildsIds
int actualBuildsIds
- Number of Ids generated actually. Its value is important for the
Circular networks.
random
java.util.Random random
- Random generator for random Id's.
networkSize
long networkSize
- Number of Id to generate.
actualBuiltIds
long actualBuiltIds
- Number of built Ids.
chunkValue
Id chunkValue
- Increment value between two consecutive Ids.
actualValue
Id actualValue
- Actual value of the Id.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded Node class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of Node constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
propertiesFile
java.lang.String propertiesFile
- Properties file name whose read properties.
idFactory
IdFactory idFactory
- Actual instance of IdFactory.
nodeClass
java.lang.Class<T> nodeClass
- Actual instance of Class for new Nodes.
topology
java.lang.String topology
- Topology of the actual target network. It is necessary to know how
generate the new Ids of Nodes.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Makes a first stream.defaultReadObject() invocation to uses
the default read method. And then, builds the constructor for
the loaded NodeHandle class.
- Throws:
java.io.IOException
- if occur any error during
default read object, or if there are any error during
building of NodeHandle constructor.
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Makes nothing special, only invokes to stream.defaultWriteObject().
- Throws:
java.io.IOException
- if any error has ocurred.
nodeHandleClass
java.lang.Class<T> nodeHandleClass
- Actual instance of Class for new Nodes.
Package planet.generic.commonapi.GML |
w
float w
- Width Of The Virtual Bounding Box.
h
float h
- Height Of The Virtual Bounding Box
shape
java.lang.String shape
- Shape Of The Node
fill
java.lang.String fill
- Fill Color For The Shape Of the Node
alternativeFill
java.lang.String alternativeFill
- Alternative Fill Color For the Shape Of The Node
outline
java.lang.String outline
- Color Of The Border Line
fontSize
int fontSize
- Font Size Of the Node Id Label
fontName
java.lang.String fontName
- Font Name Of the Node Id Label
minimalNodeDistance
int minimalNodeDistance
- Minimal Node Distance arranged on a circle
source
Id source
target
Id target
isDirected
boolean isDirected
fill
java.lang.String fill
edgeClass
java.lang.Class<T> edgeClass
- GMLEdge implementation class to use.
generatorClass
java.lang.Class<T> generatorClass
- GMLEGenerator implementation class to use.
constraintClass
java.lang.Class<T> constraintClass
- GMLConstraint implementation class to use.
Package planet.generic.commonapi.message |
messageKey
Id messageKey
message
Message message
node
Id node
- Node's Id which depends on the overlay impl.
- See Also:
Id
incoming
int incoming
- Stores the total number of incoming messages.
outcoming
int outcoming
- Stores the total number of outcoming messages.
dropped
int dropped
- Stores the total number of dropped messages.
typeOf
java.lang.String typeOf
- RouteMessage's type: human readable string representation of the
type of a RouteMessage which depends on the overlay impl.
- See Also:
Node
modeOf
java.lang.String modeOf
- RouteMessage's mode: human readable string representation of the
mode of a RouteMessage which depends on the overlay impl.
- See Also:
Node
messagesPerType
int messagesPerType
- Total number of messages of RouteMessage's type typeOf and
mode modeOf.
hopsPerType
int hopsPerType
- Stores the number of hops indexed by RouteMessage's type and mode.
topics
java.util.Hashtable<K,V> topics
- the hashtable of topic -> TopicManager
policy
ScribePolicy policy
- this scribe's policy
endpoint
EndPoint endpoint
- this application's endpoint
handle
NodeHandle handle
- the local node handle
outstanding
java.util.Hashtable<K,V> outstanding
- the hashtable of outstanding messages
id
int id
- the next unique id
appId
java.lang.String appId
- the next unique id
id
Id id
- The Id to which this topic is mapped
Package planet.scribe.messaging |
id
int id
- The id of this subscribe message
content
ScribeContent content
- the content of this message
visited
java.util.Vector<E> visited
- the list of nodes which we have visited
toVisit
java.util.LinkedList<E> toVisit
- the list of nodes which we are going to visit
content
ScribeContent content
content
ScribeContent content
messageKey
Id messageKey
sourceId
Id sourceId
request
boolean request
replicaSet
java.util.Vector<E> replicaSet
maxRank
int maxRank
source
NodeHandle source
topic
Topic topic
pathToRoot
Id[] pathToRoot
- The contained path to the root
subscriber
NodeHandle subscriber
- The original subscriber
previousParent
Id previousParent
- The previous parent
id
int id
- The id of this message
from
Id from
to
Id to
type
int type
times
int times
time
int time
time
int time
timer
IScheduler timer
network
Network network
periodic
java.util.Vector<E>[] periodic
nextAlarm
int nextAlarm
alarms
OrderedList alarms
time
int time
nodes
java.util.HashMap<K,V> nodes
timer
IScheduler timer
toRemove
java.util.Stack<E> toRemove
stab
int stab
nodeFactory
NodeFactory nodeFactory
idFactory
IdFactory idFactory
root
NodeHandle root
id
double id
- Internal value for this Id.
incommingSet
java.util.Set<E> incommingSet
outcommingSet
java.util.Set<E> outcommingSet
neighbourSet
SortedKList neighbourSet
n
double n
newSet
java.util.Set<E> newSet
retriesNewLongDistance
int retriesNewLongDistance
alive
boolean alive
stabilized
boolean stabilized
behPool
BehavioursPool behPool
K
int K
- Maximum number of long distance connections.
F
int F
- Maximum number of members in successor list.
maxRetriesNewLongDistance
int maxRetriesNewLongDistance
- Maximum number of retries
to obtain a connection to the same long distance node.
maxJoinRetries
int maxJoinRetries
- Maximum number of retries
to enter to the network by the same bootstrap.
stabilizeSteps
int stabilizeSteps
- Number of steps for statibilization.
Package planet.symphony.messages |
newNode
NodeHandle newNode
bootStrap
NodeHandle bootStrap
retries
int retries
neighbourhoodSet
java.util.Collection<E> neighbourhoodSet
newNode
NodeHandle newNode
curF
int curF
pendingJoinMsg
java.util.Set<E> pendingJoinMsg
succSet
java.util.Collection<E> succSet
predSet
java.util.Collection<E> predSet
hasSuccSet
boolean hasSuccSet
hasPredSet
boolean hasPredSet
predId
Id predId
sectionSizePred
double sectionSizePred
sectionSizeSucc
double sectionSizeSucc
succId
Id succId
Package planet.test.broadcast |
store
java.util.Properties store
endPoint
EndPoint endPoint
appId
java.lang.String appId
- Identification of the application instance.
data
java.lang.String data
sourceNodeId
Id sourceNodeId
props
java.util.Properties props
appId
java.lang.String appId
node
java.lang.String node
data
java.util.Hashtable<K,V> data
endPoint
EndPoint endPoint
originNode
java.lang.String originNode
key
java.lang.String key
value
java.lang.String value
vValue
java.util.Vector<E> vValue
type
int type
Package planet.test.GML.GMLTopology |
appId
java.lang.String appId
id
Id id
data
java.util.Hashtable<K,V> data
endPoint
EndPoint endPoint
source
Id source
key
java.lang.String key
value
java.lang.String value
MultiValue
java.util.Vector<E> MultiValue
type
int type
Package planet.test.helloworld |
store
java.util.Properties store
endPoint
EndPoint endPoint
node
java.lang.String node
appId
java.lang.String appId
- Identification of the application instance.
data
java.lang.String data
- Contents of this message.
Package planet.test.symphonyDHT |
appId
java.lang.String appId
id
Id id
data
java.util.Hashtable<K,V> data
endPoint
EndPoint endPoint
source
Id source
key
java.lang.String key
value
java.lang.String value
MultiValue
java.util.Vector<E> MultiValue
type
int type
Package planet.test.timer |
name
java.lang.String name
- Inform name of this TimerTask.
cnt
int cnt
ini
int ini
MAX
int MAX
next
OrderedList next
prev
OrderedList prev
elem
java.lang.Object elem
value
int value
data
java.lang.Object[] data
- The references to values stored within the queue.
head
int head
- index of the head of queue.
count
int count
- current size of queue
Package planet.util.timer |
tasks
java.util.TreeSet<E> tasks
finished
boolean finished
executed
boolean executed
- Inform if this TimerTask has been executed.
finished
boolean finished
- Inform if it has been cancelled.
periodic
boolean periodic
- Inform if it is a periodic Timertask.