Package org.ldk.structs
Class Destination
- java.lang.Object
-
- org.ldk.structs.Destination
-
- Direct Known Subclasses:
Destination.BlindedPath
,Destination.Node
public class Destination extends Object
The destination of an onion message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Destination.BlindedPath
We're sending this onion message to a blinded path.static class
Destination.Node
We're sending this onion message to a node.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Destination
blinded_path(BlindedPath a)
Utility method to constructs a new BlindedPath-variant DestinationDestination
clone()
Creates a copy of the Destinationprotected void
finalize()
static Destination
node(byte[] a)
Utility method to constructs a new Node-variant Destination
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public Destination clone()
Creates a copy of the Destination
-
node
public static Destination node(byte[] a)
Utility method to constructs a new Node-variant Destination
-
blinded_path
public static Destination blinded_path(BlindedPath a)
Utility method to constructs a new BlindedPath-variant Destination
-
-