Package org.ldk.structs
Class UpdateFailHTLC
- java.lang.Object
-
- org.ldk.structs.UpdateFailHTLC
-
public class UpdateFailHTLC extends Object
An update_fail_htlc message to be sent or received from a peer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFailHTLC
clone()
Creates a copy of the UpdateFailHTLCprotected void
finalize()
byte[]
get_channel_id()
The channel IDlong
get_htlc_id()
The HTLC IDstatic Result_UpdateFailHTLCDecodeErrorZ
read(byte[] ser)
Read a UpdateFailHTLC from a byte array, created by UpdateFailHTLC_writevoid
set_channel_id(byte[] val)
The channel IDvoid
set_htlc_id(long val)
The HTLC IDbyte[]
write()
Serialize the UpdateFailHTLC object into a byte array which can be read by UpdateFailHTLC_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_channel_id
public byte[] get_channel_id()
The channel ID
-
set_channel_id
public void set_channel_id(byte[] val)
The channel ID
-
get_htlc_id
public long get_htlc_id()
The HTLC ID
-
set_htlc_id
public void set_htlc_id(long val)
The HTLC ID
-
clone
public UpdateFailHTLC clone()
Creates a copy of the UpdateFailHTLC
-
write
public byte[] write()
Serialize the UpdateFailHTLC object into a byte array which can be read by UpdateFailHTLC_read
-
read
public static Result_UpdateFailHTLCDecodeErrorZ read(byte[] ser)
Read a UpdateFailHTLC from a byte array, created by UpdateFailHTLC_write
-
-