expose fcp connection
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 14:43:57 +0000 (14:43 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 14:43:57 +0000 (14:43 +0000)
git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@842 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/fcp/highlevel/HighLevelClient.java

index 018c115..1b52e72 100644 (file)
@@ -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
        //