X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2Fhighlevel%2FFcpClient.java;h=c1591578ec5e8960225f35a96d40269bd52b903d;hb=886f3619d16f744e55f9f1e1c68fb95d5ee1235b;hp=a7ccd3ec77059b2f43a664a2c64b7163e5d38eae;hpb=960c723062d160be95e526ac24b7a664e0ac217e;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java index a7ccd3e..c159157 100644 --- a/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -234,6 +234,15 @@ public class FcpClient { return nodeHello; } + /** + * Returns the underlying FCP connection. + * + * @return The underlying FCP connection + */ + public FcpConnection getConnection() { + return fcpConnection; + } + // // ACTIONS //