3 import CommonBase from './CommonBase';
4 import * as bindings from '../bindings' // TODO: figure out location
8 export default class IgnoringMessageHandler extends CommonBase {
9 constructor(_dummy: object, ptr: number) {
14 protected finalize() {
18 bindings.IgnoringMessageHandler_free(this.ptr);
21 public static IgnoringMessageHandler constructor_new() {
22 number ret = bindings.IgnoringMessageHandler_new();
23 const ret_hu_conv: IgnoringMessageHandler = new IgnoringMessageHandler(null, ret);
24 ret_hu_conv.ptrs_to.add(ret_hu_conv);
28 public MessageSendEventsProvider as_MessageSendEventsProvider() {
29 number ret = bindings.IgnoringMessageHandler_as_MessageSendEventsProvider(this.ptr);
30 MessageSendEventsProvider ret_hu_conv = new MessageSendEventsProvider(null, ret);
31 ret_hu_conv.ptrs_to.add(this);
35 public RoutingMessageHandler as_RoutingMessageHandler() {
36 number ret = bindings.IgnoringMessageHandler_as_RoutingMessageHandler(this.ptr);
37 RoutingMessageHandler ret_hu_conv = new RoutingMessageHandler(null, ret);
38 ret_hu_conv.ptrs_to.add(this);