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