Expose the underlying FCP connection.
[jFCPlib.git] / 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
        //