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 org.simgrid.msg.Task;
13 * Base class for all Tasks in Chord.
15 public class ChordTask extends Task {
16 public String issuerHostName;
17 public String answerTo;
21 public ChordTask(String issuerHostName, String answerTo) {
22 super(null, Common.COMP_SIZE, Common.COMM_SIZE);
23 this.issuerHostName = issuerHostName;
24 this.answerTo = answerTo;