Expose the underlying FCP connection.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 5 Jan 2010 15:14:09 +0000 (16:14 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 5 Jan 2010 15:14:09 +0000 (16:14 +0100)
src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java

index a7ccd3e..c159157 100644 (file)
@@ -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
        //