Uses of Class
org.ldk.structs.ChannelManager
-
Packages that use ChannelManager Package Description org.ldk.batteries org.ldk.structs -
-
Uses of ChannelManager in org.ldk.batteries
Fields in org.ldk.batteries declared as ChannelManager Modifier and Type Field Description ChannelManager
ChannelManagerConstructor. channel_manager
The ChannelManager either deserialized or newly-constructed. -
Uses of ChannelManager in org.ldk.structs
Fields in org.ldk.structs with type parameters of type ChannelManager Modifier and Type Field Description TwoTuple<byte[],ChannelManager>
Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ.Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_OK. res
Methods in org.ldk.structs that return ChannelManager Modifier and Type Method Description static ChannelManager
ChannelManager. of(FeeEstimator fee_est, Watch chain_monitor, BroadcasterInterface tx_broadcaster, Logger logger, KeysInterface keys_manager, UserConfig config, ChainParameters params)
Constructs a new ChannelManager to hold several channels and route between them.Methods in org.ldk.structs with parameters of type ChannelManager Modifier and Type Method Description static Result_InvoiceSignOrCreationErrorZ
UtilMethods. create_invoice_from_channelmanager(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, String description)
Utility to construct an invoice.static Result_NoneErrorZ
UtilMethods. FilesystemPersister_persist_manager(String data_dir, ChannelManager manager)
Writes the provided `ChannelManager` to the path provided at `FilesystemPersister` initialization, within a file called \"manager\".Result_NoneErrorZ
ChannelManagerPersister.ChannelManagerPersisterInterface. persist_manager(ChannelManager channel_manager)
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed (which will cause the [`BackgroundProcessor`] which called this method to exit.Result_NoneErrorZ
ChannelManagerPersister. persist_manager(ChannelManager channel_manager)
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed (which will cause the [`BackgroundProcessor`] which called this method to exit.static BackgroundProcessor
BackgroundProcessor. start(ChannelManagerPersister persister, EventHandler event_handler, ChainMonitor chain_monitor, ChannelManager channel_manager, PeerManager peer_manager, Logger logger)
Start a background thread that takes care of responsibilities enumerated in the [top-level documentation].Method parameters in org.ldk.structs with type arguments of type ChannelManager Modifier and Type Method Description static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ
Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ. ok(TwoTuple<byte[],ChannelManager> o)
Creates a new CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ in the success state.
-