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