X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelMonitorUpdate.ts;fp=ts%2Fstructs%2FChannelMonitorUpdate.ts;h=0000000000000000000000000000000000000000;hb=dbac7c579e163870c759f7cd11b2b254ab0fdb10;hp=d33e5141db1d2210f3fdddb07649feccfe825814;hpb=0fee03a8095f5599f8eccd920c1b1af6b3a20260;p=ldk-java diff --git a/ts/structs/ChannelMonitorUpdate.ts b/ts/structs/ChannelMonitorUpdate.ts deleted file mode 100644 index d33e5141..00000000 --- a/ts/structs/ChannelMonitorUpdate.ts +++ /dev/null @@ -1,53 +0,0 @@ - - -import CommonBase from './CommonBase'; -import * as bindings from '../bindings' // TODO: figure out location - - - - export default class ChannelMonitorUpdate extends CommonBase { - constructor(_dummy: object, ptr: number) { - super(ptr); - } - - - protected finalize() { - super.finalize(); - - if (this.ptr != 0) { - bindings.ChannelMonitorUpdate_free(this.ptr); - } - } - public number get_update_id() { - number ret = bindings.ChannelMonitorUpdate_get_update_id(this.ptr); - return ret; - } - - public void set_update_id(number val) { - bindings.ChannelMonitorUpdate_set_update_id(this.ptr, val); - } - - public number clone_ptr() { - number ret = bindings.ChannelMonitorUpdate_clone_ptr(this.ptr); - return ret; - } - - public ChannelMonitorUpdate clone() { - number ret = bindings.ChannelMonitorUpdate_clone(this.ptr); - const ret_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, ret); - ret_hu_conv.ptrs_to.add(this); - return ret_hu_conv; - } - - public Uint8Array write() { - Uint8Array ret = bindings.ChannelMonitorUpdate_write(this.ptr); - return ret; - } - - public static Result_ChannelMonitorUpdateDecodeErrorZ constructor_read(Uint8Array ser) { - number ret = bindings.ChannelMonitorUpdate_read(ser); - Result_ChannelMonitorUpdateDecodeErrorZ ret_hu_conv = Result_ChannelMonitorUpdateDecodeErrorZ.constr_from_ptr(ret); - return ret_hu_conv; - } - -}