Uses of Class
org.ldk.structs.Event
-
Packages that use Event Package Description org.ldk.batteries org.ldk.structs -
-
Uses of Event in org.ldk.batteries
Methods in org.ldk.batteries with parameters of type Event Modifier and Type Method Description voidChannelManagerConstructor.EventHandler. handle_event(Event events) -
Uses of Event in org.ldk.structs
Subclasses of Event in org.ldk.structs Modifier and Type Class Description static classEvent.ChannelClosedUsed to indicate that a channel with the given `channel_id` is in the process of closure.static classEvent.DiscardFundingUsed to indicate to the user that they can abandon the funding transaction and recycle the inputs for another purpose.static classEvent.FundingGenerationReadyUsed to indicate that the client should generate a funding transaction with the given parameters and then call [`ChannelManager::funding_transaction_generated`].static classEvent.PaymentFailedIndicates an outbound payment failed.static classEvent.PaymentForwardedThis event is generated when a payment has been successfully forwarded through us and a forwarding fee earned.static classEvent.PaymentPathFailedIndicates an outbound HTLC we sent failed.static classEvent.PaymentPathSuccessfulIndicates that a path for an outbound payment was successful.static classEvent.PaymentReceivedIndicates we've received money! Just gotta dig out that payment preimage and feed it to [`ChannelManager::claim_funds`] to get it....static classEvent.PaymentSentIndicates an outbound payment we made succeeded (i.e.static classEvent.PendingHTLCsForwardableUsed to indicate that [`ChannelManager::process_pending_htlc_forwards`] should be called at a time in the future.static classEvent.SpendableOutputsUsed to indicate that an output which you should know how to spend was confirmed on chain and is now spendable.Fields in org.ldk.structs declared as Event Modifier and Type Field Description EventOption_EventZ.Some. someMethods in org.ldk.structs that return Event Modifier and Type Method Description static EventEvent. channel_closed(byte[] channel_id, long user_channel_id, ClosureReason reason)Utility method to constructs a new ChannelClosed-variant EventEventEvent. clone()Creates a copy of the Eventstatic EventEvent. discard_funding(byte[] channel_id, byte[] transaction)Utility method to constructs a new DiscardFunding-variant Eventstatic EventEvent. funding_generation_ready(byte[] temporary_channel_id, long channel_value_satoshis, byte[] output_script, long user_channel_id)Utility method to constructs a new FundingGenerationReady-variant EventEvent[]ChannelMonitor. get_and_clear_pending_events()Gets the list of pending events which were generated by previous actions, clearing the list in the process.static EventEvent. payment_failed(byte[] payment_id, byte[] payment_hash)Utility method to constructs a new PaymentFailed-variant Eventstatic EventEvent. payment_forwarded(Option_u64Z fee_earned_msat, boolean claim_from_onchain_tx)Utility method to constructs a new PaymentForwarded-variant Eventstatic EventEvent. payment_path_failed(byte[] payment_id, byte[] payment_hash, boolean rejected_by_dest, Option_NetworkUpdateZ network_update, boolean all_paths_failed, RouteHop[] path, Option_u64Z short_channel_id, RouteParameters retry)Utility method to constructs a new PaymentPathFailed-variant Eventstatic EventEvent. payment_path_successful(byte[] payment_id, byte[] payment_hash, RouteHop[] path)Utility method to constructs a new PaymentPathSuccessful-variant Eventstatic EventEvent. payment_received(byte[] payment_hash, long amt, PaymentPurpose purpose)Utility method to constructs a new PaymentReceived-variant Eventstatic EventEvent. payment_sent(byte[] payment_id, byte[] payment_preimage, byte[] payment_hash, Option_u64Z fee_paid_msat)Utility method to constructs a new PaymentSent-variant Eventstatic EventEvent. pending_htlcs_forwardable(long time_forwardable)Utility method to constructs a new PendingHTLCsForwardable-variant Eventstatic EventEvent. spendable_outputs(SpendableOutputDescriptor[] outputs)Utility method to constructs a new SpendableOutputs-variant EventMethods in org.ldk.structs with parameters of type Event Modifier and Type Method Description voidEventHandler.EventHandlerInterface. handle_event(Event event)Handles the given [`Event`].voidEventHandler. handle_event(Event event)Handles the given [`Event`].static Option_EventZOption_EventZ. some(Event o)Constructs a new COption_EventZ containing a crate::lightning::util::events::Event
-