From 886f3619d16f744e55f9f1e1c68fb95d5ee1235b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 5 Jan 2010 16:14:09 +0100 Subject: [PATCH] Expose the underlying FCP connection. --- src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 // -- 2.7.4