Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix context registration which was disabled by a bug
[simgrid.git] / examples / java / chord / ChordTask.java
1 /* Copyright (c) 2006-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 package chord;
8
9 import chord.Common;
10 import org.simgrid.msg.Task;
11
12 public class ChordTask extends Task {
13   public String issuerHostName;
14   public String answerTo;
15   public ChordTask() {
16     this(null,null);
17   }
18   public ChordTask(String issuerHostName, String answerTo) {
19     super(null, Common.COMP_SIZE, Common.COMM_SIZE);
20     this.issuerHostName = issuerHostName;
21     this.answerTo = answerTo;
22   }
23 }