public AsyncWatcher(LibEvLoop loop, AsyncWatcherCallback callback) : base(loop) { this.callback = callback; watcher_ptr = manos_async_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle)); }
public AsyncWatcher(Loop loop, AsyncWatcherCallback callback) : base(loop) { this.callback = callback; unmanaged_watcher = new UnmanagedAsyncWatcher(); unmanaged_watcher.callback = unmanaged_callback_ptr; InitializeUnmanagedWatcher(unmanaged_watcher); }
public AsyncWatcher(Loop loop, AsyncWatcherCallback callback) : base(loop) { this.callback = callback; unmanaged_watcher = new UnmanagedAsyncWatcher (); unmanaged_watcher.callback = CallbackFunctionPtr; InitializeUnmanagedWatcher (unmanaged_watcher); }
public override IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb) { return new AsyncWatcher(loop, cb); }
public override IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb) { return(new AsyncWatcher(evloop, cb)); }
public abstract IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb);
public AsyncWatcher(Loop loop, AsyncWatcherCallback cb) : base(loop) { this.cb = cb; }