Package org.ldk.structs
Class Option_SocketAddressZ
- java.lang.Object
-
- org.ldk.structs.Option_SocketAddressZ
-
- Direct Known Subclasses:
Option_SocketAddressZ.None,Option_SocketAddressZ.Some
public class Option_SocketAddressZ extends Object
An enum which can either contain a crate::lightning::ln::msgs::SocketAddress or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOption_SocketAddressZ.NoneWhen we're in this state, this COption_SocketAddressZ contains nothingstatic classOption_SocketAddressZ.SomeWhen we're in this state, this COption_SocketAddressZ contains a crate::lightning::ln::msgs::SocketAddress
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option_SocketAddressZclone()Creates a new COption_SocketAddressZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_SocketAddressZnone()Constructs a new COption_SocketAddressZ containing nothingstatic Option_SocketAddressZsome(SocketAddress o)Constructs a new COption_SocketAddressZ containing a crate::lightning::ln::msgs::SocketAddress
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
some
public static Option_SocketAddressZ some(SocketAddress o)
Constructs a new COption_SocketAddressZ containing a crate::lightning::ln::msgs::SocketAddress
-
none
public static Option_SocketAddressZ none()
Constructs a new COption_SocketAddressZ containing nothing
-
clone
public Option_SocketAddressZ clone()
Creates a new COption_SocketAddressZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-