|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.chord.ChordNode.FindPredListener
Field Summary | |
static int |
FIND_PRED_FOR_FIX_FINGER
Flag that shows that this listener type is for a fix finger purposes. |
static int |
FIND_PRED_FOR_JOIN
Flag that shows that this listener type is for a response on a remote join. |
Constructor Summary | |
ChordNode.FindPredListener(ChordNode localNode,
int fingerPosition)
Builds a FindPredListener for a fix finger purposes. |
|
ChordNode.FindPredListener(ChordNode localNode,
java.lang.String msgKey)
Builds a FindPredListener for a join message response. |
Method Summary | |
void |
onMessage(RouteMessage msg)
Make a different action using the actual listener purpose. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FIND_PRED_FOR_FIX_FINGER
public static final int FIND_PRED_FOR_JOIN
Constructor Detail |
public ChordNode.FindPredListener(ChordNode localNode, int fingerPosition)
localNode
- The local Node.fingerPosition
- The position of the finger to be updated.public ChordNode.FindPredListener(ChordNode localNode, java.lang.String msgKey)
localNode
- The local node.msgKey
- The RouteMessage key for the response.Method Detail |
public void onMessage(RouteMessage msg)
onMessage
in interface MessageListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |