1 package example.chord;
\r
4 import peersim.core.*;
\r
6 public class LookUpMessage implements ChordMessage {
\r
10 private BigInteger targetId;
\r
12 private int hopCounter = -1;
\r
14 public LookUpMessage(Node sender, BigInteger targetId) {
\r
15 this.sender = sender;
\r
16 this.targetId = targetId;
\r
19 public void increaseHopCounter() {
\r
24 * @return the senderId
\r
26 public Node getSender() {
\r
31 * @return the target
\r
33 public BigInteger getTarget() {
\r
38 * @return the hopCounter
\r
40 public int getHopCounter() {
\r