1 /* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
8 import dht.chord.Common;
9 import org.simgrid.msg.Task;
11 public class ChordTask extends Task {
12 private String issuerHostName;
13 private String answerTo;
18 public ChordTask(String issuerHostName, String answerTo) {
19 super(null, Common.COMP_SIZE, Common.COMM_SIZE);
20 this.issuerHostName = issuerHostName;
21 this.answerTo = answerTo;
24 public String getIssuerHostName(){
25 return this.issuerHostName;
28 public String getAnswerTo(){