Package org.ldk.structs
Class DefaultRouter
- java.lang.Object
-
- org.ldk.structs.DefaultRouter
-
public class DefaultRouter extends Object
A [`Router`] implemented using [`find_route`].
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Router
as_Router()
Constructs a new Router which calls the relevant methods on this_arg.protected void
finalize()
static DefaultRouter
of(NetworkGraph network_graph, Logger logger, byte[] random_seed_bytes, LockableScore scorer)
Creates a new router.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
of
public static DefaultRouter of(NetworkGraph network_graph, Logger logger, byte[] random_seed_bytes, LockableScore scorer)
Creates a new router.
-
as_Router
public Router as_Router()
Constructs a new Router which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned Router must be freed before this_arg is
-
-