Package org.ldk.structs
Class HTLCFailChannelUpdate
- java.lang.Object
-
- org.ldk.structs.HTLCFailChannelUpdate
-
- Direct Known Subclasses:
HTLCFailChannelUpdate.ChannelClosed,HTLCFailChannelUpdate.ChannelUpdateMessage,HTLCFailChannelUpdate.NodeFailure
public class HTLCFailChannelUpdate extends Object
The information we received from a peer along the route of a payment we originated. This is returned by ChannelMessageHandler::handle_update_fail_htlc to be passed into RoutingMessageHandler::handle_htlc_fail_channel_update to update our network map.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTLCFailChannelUpdate.ChannelClosedstatic classHTLCFailChannelUpdate.ChannelUpdateMessagestatic classHTLCFailChannelUpdate.NodeFailure
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HTLCFailChannelUpdatechannel_closed(long short_channel_id, boolean is_permanent)Utility method to constructs a new ChannelClosed-variant HTLCFailChannelUpdatestatic HTLCFailChannelUpdatechannel_update_message(ChannelUpdate msg)Utility method to constructs a new ChannelUpdateMessage-variant HTLCFailChannelUpdateHTLCFailChannelUpdateclone()Creates a copy of the HTLCFailChannelUpdateprotected voidfinalize()static HTLCFailChannelUpdatenode_failure(byte[] node_id, boolean is_permanent)Utility method to constructs a new NodeFailure-variant HTLCFailChannelUpdate
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public HTLCFailChannelUpdate clone()
Creates a copy of the HTLCFailChannelUpdate
-
channel_update_message
public static HTLCFailChannelUpdate channel_update_message(ChannelUpdate msg)
Utility method to constructs a new ChannelUpdateMessage-variant HTLCFailChannelUpdate
-
channel_closed
public static HTLCFailChannelUpdate channel_closed(long short_channel_id, boolean is_permanent)
Utility method to constructs a new ChannelClosed-variant HTLCFailChannelUpdate
-
node_failure
public static HTLCFailChannelUpdate node_failure(byte[] node_id, boolean is_permanent)
Utility method to constructs a new NodeFailure-variant HTLCFailChannelUpdate
-
-