Package org.ldk.structs
Class OnionMessageContents
- java.lang.Object
-
- org.ldk.structs.OnionMessageContents
-
- Direct Known Subclasses:
OnionMessageContents.Custom
public class OnionMessageContents extends Object
The contents of an onion message. In the context of offers, this would be the invoice, invoice request, or invoice error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OnionMessageContents.Custom
A custom onion message specified by the user.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnionMessageContents
clone()
Creates a copy of the OnionMessageContentsstatic OnionMessageContents
custom(CustomOnionMessageContents a)
Utility method to constructs a new Custom-variant OnionMessageContentsprotected void
finalize()
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public OnionMessageContents clone()
Creates a copy of the OnionMessageContents
-
custom
public static OnionMessageContents custom(CustomOnionMessageContents a)
Utility method to constructs a new Custom-variant OnionMessageContents
-
-