Uses of Class
org.ldk.structs.ClosureReason
-
Packages that use ClosureReason Package Description org.ldk.structs -
-
Uses of ClosureReason in org.ldk.structs
Subclasses of ClosureReason in org.ldk.structs Modifier and Type Class Description static classClosureReason.CommitmentTxConfirmedA commitment transaction was confirmed on chain, closing the channel.static classClosureReason.CooperativeClosureThe channel was closed after negotiating a cooperative close and we've now broadcasted the cooperative close transaction.static classClosureReason.CounterpartyForceClosedClosure generated from receiving a peer error message.static classClosureReason.DisconnectedPeerThe peer disconnected prior to funding completing.static classClosureReason.FundingTimedOutThe funding transaction failed to confirm in a timely manner on an inbound channel.static classClosureReason.HolderForceClosedClosure generated from [`ChannelManager::force_close_channel`], called by the user.static classClosureReason.OutdatedChannelManagerClosure generated from `ChannelManager::read` if the ChannelMonitor is newer than the ChannelManager deserialized.static classClosureReason.ProcessingErrorClosure generated from processing an event, likely a HTLC forward/relay/reception.Fields in org.ldk.structs declared as ClosureReason Modifier and Type Field Description ClosureReasonEvent.ChannelClosed. reasonThe reason the channel was closed.ClosureReasonOption_ClosureReasonZ.Some. someMethods in org.ldk.structs that return ClosureReason Modifier and Type Method Description ClosureReasonClosureReason. clone()Creates a copy of the ClosureReasonstatic ClosureReasonClosureReason. commitment_tx_confirmed()Utility method to constructs a new CommitmentTxConfirmed-variant ClosureReasonstatic ClosureReasonClosureReason. cooperative_closure()Utility method to constructs a new CooperativeClosure-variant ClosureReasonstatic ClosureReasonClosureReason. counterparty_force_closed(String peer_msg)Utility method to constructs a new CounterpartyForceClosed-variant ClosureReasonstatic ClosureReasonClosureReason. disconnected_peer()Utility method to constructs a new DisconnectedPeer-variant ClosureReasonstatic ClosureReasonClosureReason. funding_timed_out()Utility method to constructs a new FundingTimedOut-variant ClosureReasonstatic ClosureReasonClosureReason. holder_force_closed()Utility method to constructs a new HolderForceClosed-variant ClosureReasonstatic ClosureReasonClosureReason. outdated_channel_manager()Utility method to constructs a new OutdatedChannelManager-variant ClosureReasonstatic ClosureReasonClosureReason. processing_error(String err)Utility method to constructs a new ProcessingError-variant ClosureReasonMethods in org.ldk.structs with parameters of type ClosureReason 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 Eventstatic Option_ClosureReasonZOption_ClosureReasonZ. some(ClosureReason o)Constructs a new COption_ClosureReasonZ containing a crate::lightning::util::events::ClosureReason
-