[Java] Update auto-generated bindings to LDK 0.0.118
[ldk-java] / src / main / java / org / ldk / structs / SocketAddress.java
index e31cf0e3af7a6b3258f56b4fcf64cc023fa47771..c074f68f129534ed01a3a1b6370ae8534829dcdd 100644 (file)
@@ -260,6 +260,15 @@ public class SocketAddress extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a SocketAddress object
+        */
+       public String to_str() {
+               String ret = bindings.SocketAddress_to_str(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * Read a SocketAddress object from a string
         */