diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-04-07 00:26:06 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-04-07 00:26:06 +0000 |
commit | d33161cddda663720ea93c483ed6e3e7511e995b (patch) | |
tree | 7413b2aace2d2673e083369b22126d731a8fabaf /src/main/java/org/gnunet/dht/MonitorGetHandler.java | |
parent | a5a49ee6c7e87b0fb8abae6127713e8ef3c38edb (diff) | |
download | gnunet-java-d33161cddda663720ea93c483ed6e3e7511e995b.tar.gz gnunet-java-d33161cddda663720ea93c483ed6e3e7511e995b.zip |
docs / fixed fixme in crypto
Diffstat (limited to 'src/main/java/org/gnunet/dht/MonitorGetHandler.java')
-rw-r--r-- | src/main/java/org/gnunet/dht/MonitorGetHandler.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main/java/org/gnunet/dht/MonitorGetHandler.java b/src/main/java/org/gnunet/dht/MonitorGetHandler.java index d3f5d5f..d2ce36f 100644 --- a/src/main/java/org/gnunet/dht/MonitorGetHandler.java +++ b/src/main/java/org/gnunet/dht/MonitorGetHandler.java | |||
@@ -23,8 +23,20 @@ package org.gnunet.dht; | |||
23 | import org.gnunet.util.HashCode; | 23 | import org.gnunet.util.HashCode; |
24 | import org.gnunet.util.PeerIdentity; | 24 | import org.gnunet.util.PeerIdentity; |
25 | 25 | ||
26 | 26 | /** | |
27 | * Listener for monitoring get requests. | ||
28 | */ | ||
27 | public interface MonitorGetHandler { | 29 | public interface MonitorGetHandler { |
30 | /** | ||
31 | * Called when a get request happens. | ||
32 | * | ||
33 | * @param options options of the request | ||
34 | * @param type type of the request | ||
35 | * @param hopCount hop count of the request | ||
36 | * @param desiredReplicationLevel desired replication level for the request | ||
37 | * @param getPath path of the get request | ||
38 | * @param key key for the request | ||
39 | */ | ||
28 | void onGet(int options, int type, int hopCount, int desiredReplicationLevel, PeerIdentity[] getPath, | 40 | void onGet(int options, int type, int hopCount, int desiredReplicationLevel, PeerIdentity[] getPath, |
29 | HashCode key); | 41 | HashCode key); |
30 | } | 42 | } |