+ /**
+ * Handle an incoming `stfu` message from the given peer.
+ */
+ public handle_stfu(their_node_id: Uint8Array, msg: Stfu): void {
+ bindings.ChannelMessageHandler_handle_stfu(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), msg == null ? 0n : CommonBase.get_ptr_of(msg));
+ CommonBase.add_ref_from(this, msg);
+ }
+
+ /**
+ * Handle an incoming `splice` message from the given peer.
+ */
+ public handle_splice(their_node_id: Uint8Array, msg: Splice): void {
+ bindings.ChannelMessageHandler_handle_splice(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), msg == null ? 0n : CommonBase.get_ptr_of(msg));
+ CommonBase.add_ref_from(this, msg);
+ }
+
+ /**
+ * Handle an incoming `splice_ack` message from the given peer.
+ */
+ public handle_splice_ack(their_node_id: Uint8Array, msg: SpliceAck): void {
+ bindings.ChannelMessageHandler_handle_splice_ack(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), msg == null ? 0n : CommonBase.get_ptr_of(msg));
+ CommonBase.add_ref_from(this, msg);
+ }
+
+ /**
+ * Handle an incoming `splice_locked` message from the given peer.
+ */
+ public handle_splice_locked(their_node_id: Uint8Array, msg: SpliceLocked): void {
+ bindings.ChannelMessageHandler_handle_splice_locked(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(their_node_id, 33)), msg == null ? 0n : CommonBase.get_ptr_of(msg));
+ CommonBase.add_ref_from(this, msg);
+ }
+