From: David ‘Bombe’ Roden Date: Sat, 3 May 2008 14:43:57 +0000 (+0000) Subject: expose fcp connection X-Git-Tag: v0.1.1~145 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=667d508c8e782ea52151fc83d8020d3babdac731;p=jFCPlib.git expose fcp connection git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@842 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java index 018c115..1b52e72 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java @@ -196,6 +196,17 @@ public class HighLevelClient { // ACCESSORS // + /** + * Returns the FCP connection that backs this high-level client. This method + * should be used with care as fiddling around with the FCP connection can + * easily break the high-level client if you don’t know what you’re doing! + * + * @return The FCP connection of this client + */ + public FcpConnection getFcpConnection() { + return fcpConnection; + } + // // ACTIONS //