Package org.ldk.structs
Class UpdateFailMalformedHTLC
- java.lang.Object
-
- org.ldk.structs.UpdateFailMalformedHTLC
-
public class UpdateFailMalformedHTLC extends Object
An update_fail_malformed_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 UpdateFailMalformedHTLC
clone()
Creates a copy of the UpdateFailMalformedHTLCprotected void
finalize()
byte[]
get_channel_id()
The channel IDshort
get_failure_code()
The failure codelong
get_htlc_id()
The HTLC IDstatic Result_UpdateFailMalformedHTLCDecodeErrorZ
read(byte[] ser)
Read a UpdateFailMalformedHTLC from a byte array, created by UpdateFailMalformedHTLC_writevoid
set_channel_id(byte[] val)
The channel IDvoid
set_failure_code(short val)
The failure codevoid
set_htlc_id(long val)
The HTLC IDbyte[]
write()
Serialize the UpdateFailMalformedHTLC object into a byte array which can be read by UpdateFailMalformedHTLC_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
-
get_failure_code
public short get_failure_code()
The failure code
-
set_failure_code
public void set_failure_code(short val)
The failure code
-
clone
public UpdateFailMalformedHTLC clone()
Creates a copy of the UpdateFailMalformedHTLC
-
write
public byte[] write()
Serialize the UpdateFailMalformedHTLC object into a byte array which can be read by UpdateFailMalformedHTLC_read
-
read
public static Result_UpdateFailMalformedHTLCDecodeErrorZ read(byte[] ser)
Read a UpdateFailMalformedHTLC from a byte array, created by UpdateFailMalformedHTLC_write
-
-