Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
public -> private+get
[simgrid.git] / examples / java / dht / chord / FindSuccessorTask.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 FindSuccessorTask extends ChordTask {
10   private int requestId;
11
12   public int getRequestId(){
13     return this.requestId;
14   }
15
16   public FindSuccessorTask(String issuerHostname, String answerTo,  int requestId) {
17     super(issuerHostname, answerTo);
18     this.requestId = requestId;
19   }
20 }