Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bc8f09d4cdf3ce0f25302989116288bd309e43f5
[simgrid.git] / examples / java / dht / chord / NotifyTask.java
1 /* Copyright (c) 2006-2018. 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
12   public NotifyTask(String issuerHostname, String answerTo, int requestId) {
13     super(issuerHostname, answerTo);
14     this.requestId = requestId;
15   }
16
17   public int getRequestId(){
18     return this.requestId;
19   }
20 }