|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.NodeImpl
planet.chord.ChordNode
planet.badchord.BadChordNode
A Chord node is single entity in the chord network. It extends of the class Node and specializes following the lookup Chord protocol. Moreover, the stabilization implementation, producing the periodic stabilition events.
Nested Class Summary |
Nested classes inherited from class planet.chord.ChordNode |
ChordNode.FindPredListener, ChordNode.FindSuccListener, ChordNode.FixFingerTask, ChordNode.GetPreListener, ChordNode.LookupListener, ChordNode.StabilizeTask |
Field Summary |
Fields inherited from class planet.chord.ChordNode |
auxCAPI, bitsPerKey, BROADCAST, DATA, deux, FIND_PRE, FIND_SUCC, finger, fingerChanges, GET_PRE, hasFailed, hasLeaved, hasReceivedSucc, MAX, MODES, NOTIFY, nullPointers, predecessor, realStabilizationRate, REFRESH, REPLY, REQUEST, SET_PRE, SET_SUCC, stabRate, start, SUCC_LIST, succList, temp, TYPES |
Fields inherited from class planet.generic.commonapi.NodeImpl |
endpoints, id, listeners, nodeHandle, role |
Constructor Summary | |
BadChordNode()
Constructor, create a new BadChordNode instance with this node Id |
Method Summary | |
void |
dispatcher(RouteMessage msg)
Treats the messages and according to the case, executes the generic listeners or listeners specialized, forward the messages or send responses messages |
Methods inherited from class planet.chord.ChordNode |
broadcast, buildEdges, cleanSuccList, clearFingerChanges, closestPrecedingFinger, fail, findPredecessor, findPredecessor, findSuccessor, findSuccessor, firstLocalLookup, fixFingers, getAllLinks, getBroadcastMessage, getClosestNodeHandle, getDataMessage, getFingerChanges, getInfo, getLocalHandle, getPred, getSucc, getSuccList, isAlive, join, leave, localLookup, neighborSet, notify, outMessages, prettyPrintNode, printNode, process, range, replicaSet, routeData, routingData, sendData, setFinger, setPred, setSucc, setValues, stabilize, toString |
Methods inherited from class planet.generic.commonapi.NodeImpl |
addEdges, addMessageListener, buildMessage, buildMessage, buildNewEdge, dispatchDataMessage, getId, getRegisteredApplication, getRegisteredApplications, hasMoreMessages, inMessages, invokeByStepToAllApplications, isLocalMessage, nextMessage, playsGoodRole, receive, registerApplication, removeMessageListener, send, sendMessage, sendMessage, sendMessage, sendMessage, setGoodRole, setTimer, setTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BadChordNode() throws InitializationException
Method Detail |
public void dispatcher(RouteMessage msg)
dispatcher
in class ChordNode
msg
- IMessage to treat
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |