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 org.simgrid.msg.Task;
10 public class ChordTask extends Task {
11 private String issuerHostName;
12 private String answerTo;
17 public ChordTask(String issuerHostName, String answerTo) {
18 super(null, Common.COMP_SIZE, Common.COMM_SIZE);
19 this.issuerHostName = issuerHostName;
20 this.answerTo = answerTo;
23 public String getIssuerHostName(){
24 return this.issuerHostName;
27 public String getAnswerTo(){