Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / java / dht / chord / NotifyTask.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 dht.chord;
8
9 public class NotifyTask extends ChordTask {
10   private int requestId;
11   public int getRequestId(){
12     return this.requestId;
13   }
14
15   public NotifyTask(String issuerHostname, String answerTo, int requestId) {
16     super(issuerHostname, answerTo);
17     this.requestId = requestId;
18   }
19 }