2be80cc5f40a15188849697ad7d9e2150f4d93f0
[jFCPlib.git] / 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 }