+ /**
+ * Handle an incoming `stfu` message from the given peer.
+ */
+ public void handle_stfu(byte[] their_node_id, org.ldk.structs.Stfu msg) {
+ bindings.ChannelMessageHandler_handle_stfu(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(their_node_id, 33)), msg == null ? 0 : msg.ptr);
+ GC.KeepAlive(this);
+ GC.KeepAlive(their_node_id);
+ GC.KeepAlive(msg);
+ if (this != null) { this.ptrs_to.AddLast(msg); };
+ }
+
+ /**
+ * Handle an incoming `splice` message from the given peer.
+ */
+ public void handle_splice(byte[] their_node_id, org.ldk.structs.Splice msg) {
+ bindings.ChannelMessageHandler_handle_splice(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(their_node_id, 33)), msg == null ? 0 : msg.ptr);
+ GC.KeepAlive(this);
+ GC.KeepAlive(their_node_id);
+ GC.KeepAlive(msg);
+ if (this != null) { this.ptrs_to.AddLast(msg); };
+ }
+
+ /**
+ * Handle an incoming `splice_ack` message from the given peer.
+ */
+ public void handle_splice_ack(byte[] their_node_id, org.ldk.structs.SpliceAck msg) {
+ bindings.ChannelMessageHandler_handle_splice_ack(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(their_node_id, 33)), msg == null ? 0 : msg.ptr);
+ GC.KeepAlive(this);
+ GC.KeepAlive(their_node_id);
+ GC.KeepAlive(msg);
+ if (this != null) { this.ptrs_to.AddLast(msg); };
+ }
+
+ /**
+ * Handle an incoming `splice_locked` message from the given peer.
+ */
+ public void handle_splice_locked(byte[] their_node_id, org.ldk.structs.SpliceLocked msg) {
+ bindings.ChannelMessageHandler_handle_splice_locked(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(their_node_id, 33)), msg == null ? 0 : msg.ptr);
+ GC.KeepAlive(this);
+ GC.KeepAlive(their_node_id);
+ GC.KeepAlive(msg);
+ if (this != null) { this.ptrs_to.AddLast(msg); };
+ }
+