Move key pair generation command to its own class
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ConnectionSupplier.java
1 package net.pterodactylus.fcp.quelaton;
2
3 import java.io.IOException;
4 import java.util.function.Supplier;
5
6 import net.pterodactylus.fcp.FcpConnection;
7
8 /**
9  * Extension of the {@link Supplier} interfaces that declares an {@link IOException}.
10  *
11  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
12  */
13 @FunctionalInterface
14 interface ConnectionSupplier {
15
16         FcpConnection get() throws IOException;
17
18 }