From: David ‘Bombe’ Roden Date: Tue, 5 Jan 2010 15:14:09 +0000 (+0100) Subject: Expose the underlying FCP connection. X-Git-Tag: v0.1.2.3~1 X-Git-Url: https://git.pterodactylus.net/?p=jFCPlib.git;a=commitdiff_plain;h=886f3619d16f744e55f9f1e1c68fb95d5ee1235b Expose the underlying FCP connection. --- 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 //