+ public final static class HTLCEvent extends MonitorEvent {
+ public final HTLCUpdate htlc_event;
+ private HTLCEvent(long ptr, bindings.LDKMonitorEvent.HTLCEvent obj) {
+ super(null, ptr);
+ long htlc_event = obj.htlc_event;
+ HTLCUpdate htlc_event_hu_conv = new HTLCUpdate(null, htlc_event);
+ htlc_event_hu_conv.ptrs_to.add(this);
+ this.htlc_event = htlc_event_hu_conv;
+ }
+ }
+ public final static class CommitmentTxBroadcasted extends MonitorEvent {
+ public final OutPoint commitment_tx_broadcasted;
+ private CommitmentTxBroadcasted(long ptr, bindings.LDKMonitorEvent.CommitmentTxBroadcasted obj) {
+ super(null, ptr);
+ long commitment_tx_broadcasted = obj.commitment_tx_broadcasted;
+ OutPoint commitment_tx_broadcasted_hu_conv = new OutPoint(null, commitment_tx_broadcasted);
+ commitment_tx_broadcasted_hu_conv.ptrs_to.add(this);
+ this.commitment_tx_broadcasted = commitment_tx_broadcasted_hu_conv;
+ }
+ }
+ /**
+ * Creates a copy of the MonitorEvent
+ */