Use a String instead of a Key for redirects
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / Keyed.java
1 package net.pterodactylus.fcp.quelaton;
2
3 import net.pterodactylus.fcp.Key;
4
5 import com.google.common.util.concurrent.ListenableFuture;
6
7 /**
8  * The terminal operation of an FCP command, requiring a {@link Key}.
9  *
10  * @param <R>
11  *      The type of the command result
12  * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
13  */
14 public interface Keyed<R> {
15
16         ListenableFuture<R> key(Key key);
17
18 }