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 ChannelManagerChannelManagerConstructor. channel_managerThe 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. resMethods in org.ldk.structs that return ChannelManager Modifier and Type Method Description static ChannelManagerChannelManager. 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_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, String description)Utility to construct an invoice.static Result_NoneErrorZUtilMethods. 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_NoneErrorZChannelManagerPersister.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_NoneErrorZChannelManagerPersister. 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 BackgroundProcessorBackgroundProcessor. 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_BlockHashChannelManagerZDecodeErrorZResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ. ok(TwoTuple<byte[],ChannelManager> o)Creates a new CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ in the success state.
-