Package org.ldk.structs
Class CustomOnionMessageContents
- java.lang.Object
-
- org.ldk.structs.CustomOnionMessageContents
-
public class CustomOnionMessageContents extends Object
The contents of a custom onion message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomOnionMessageContents.CustomOnionMessageContentsInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomOnionMessageContentsclone()Creates a copy of a CustomOnionMessageContentsprotected voidfinalize()static CustomOnionMessageContentsnew_impl(CustomOnionMessageContents.CustomOnionMessageContentsInterface arg)longtlv_type()Returns the TLV type identifying the message contents.byte[]write()Serialize the object into a byte array
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static CustomOnionMessageContents new_impl(CustomOnionMessageContents.CustomOnionMessageContentsInterface arg)
-
tlv_type
public long tlv_type()
Returns the TLV type identifying the message contents. MUST be >= 64.
-
write
public byte[] write()
Serialize the object into a byte array
-
clone
public CustomOnionMessageContents clone()
Creates a copy of a CustomOnionMessageContents
-
-