Uses of Class
org.ldk.structs.HTLCDestination
-
Packages that use HTLCDestination Package Description org.ldk.structs -
-
Uses of HTLCDestination in org.ldk.structs
Subclasses of HTLCDestination in org.ldk.structs Modifier and Type Class Description static classHTLCDestination.FailedPaymentFailure scenario where an HTLC may have been forwarded to be intended for us, but is invalid for some reason, so we reject it.static classHTLCDestination.NextHopChannelWe tried forwarding to a channel but failed to do so.static classHTLCDestination.UnknownNextHopScenario where we are unsure of the next node to forward the HTLC to.Fields in org.ldk.structs declared as HTLCDestination Modifier and Type Field Description HTLCDestinationEvent.HTLCHandlingFailed. failed_next_destinationDestination of the HTLC that failed to be processed.HTLCDestinationOption_HTLCDestinationZ.Some. someMethods in org.ldk.structs that return HTLCDestination Modifier and Type Method Description HTLCDestinationHTLCDestination. clone()Creates a copy of the HTLCDestinationstatic HTLCDestinationHTLCDestination. failed_payment(byte[] payment_hash)Utility method to constructs a new FailedPayment-variant HTLCDestinationstatic HTLCDestinationHTLCDestination. next_hop_channel(byte[] node_id, byte[] channel_id)Utility method to constructs a new NextHopChannel-variant HTLCDestinationstatic HTLCDestinationHTLCDestination. unknown_next_hop(long requested_forward_scid)Utility method to constructs a new UnknownNextHop-variant HTLCDestinationMethods in org.ldk.structs with parameters of type HTLCDestination Modifier and Type Method Description static EventEvent. htlchandling_failed(byte[] prev_channel_id, HTLCDestination failed_next_destination)Utility method to constructs a new HTLCHandlingFailed-variant Eventstatic Option_HTLCDestinationZOption_HTLCDestinationZ. some(HTLCDestination o)Constructs a new COption_HTLCDestinationZ containing a crate::lightning::util::events::HTLCDestination
-