Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / deprecated / java / dht / chord / GetPredecessorAnswerTask.java
1 /* Copyright (c) 2006-2019. 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 dht.chord;
8
9 public class GetPredecessorAnswerTask extends ChordTask {
10   private int answerId;
11
12   public GetPredecessorAnswerTask(String issuerHostname, String answerTo, int answerId) {
13     super(issuerHostname,answerTo);
14     this.answerId = answerId;
15   }
16
17   public int getAnswerId(){
18     return this.answerId;
19   }
20 }