Package org.ldk.structs
Class OnionMessagePath
- java.lang.Object
-
- org.ldk.structs.OnionMessagePath
-
public class OnionMessagePath extends Object
A path for sending an [`msgs::OnionMessage`].
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnionMessagePathclone()Creates a copy of the OnionMessagePathprotected voidfinalize()Destinationget_destination()The recipient of the message.byte[][]get_intermediate_nodes()Nodes on the path between the sender and the destination.static OnionMessagePathof(byte[][] intermediate_nodes_arg, Destination destination_arg)Constructs a new OnionMessagePath given each fieldvoidset_destination(Destination val)The recipient of the message.voidset_intermediate_nodes(byte[][] val)Nodes on the path between the sender and the destination.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_intermediate_nodes
public byte[][] get_intermediate_nodes()
Nodes on the path between the sender and the destination. Returns a copy of the field.
-
set_intermediate_nodes
public void set_intermediate_nodes(byte[][] val)
Nodes on the path between the sender and the destination.
-
get_destination
public Destination get_destination()
The recipient of the message.
-
set_destination
public void set_destination(Destination val)
The recipient of the message.
-
of
public static OnionMessagePath of(byte[][] intermediate_nodes_arg, Destination destination_arg)
Constructs a new OnionMessagePath given each field
-
clone
public OnionMessagePath clone()
Creates a copy of the OnionMessagePath
-
-