Esempio n. 1
0
        public AsyncWatcher(LibEvLoop loop, AsyncWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_async_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle));
        }
Esempio n. 2
0
        public AsyncWatcher(LibEvLoop loop, AsyncWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_async_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle));
        }
Esempio n. 3
0
        public AsyncWatcher(Loop loop, AsyncWatcherCallback callback) : base(loop)
        {
            this.callback = callback;

            unmanaged_watcher          = new UnmanagedAsyncWatcher();
            unmanaged_watcher.callback = unmanaged_callback_ptr;

            InitializeUnmanagedWatcher(unmanaged_watcher);
        }
Esempio n. 4
0
        public AsyncWatcher(Loop loop, AsyncWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            unmanaged_watcher = new UnmanagedAsyncWatcher ();
            unmanaged_watcher.callback = CallbackFunctionPtr;

            InitializeUnmanagedWatcher (unmanaged_watcher);
        }
Esempio n. 5
0
 public override IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb)
 {
     return new AsyncWatcher(loop, cb);
 }
Esempio n. 6
0
 public override IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb)
 {
     return(new AsyncWatcher(evloop, cb));
 }
Esempio n. 7
0
 public abstract IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb);
Esempio n. 8
0
 public AsyncWatcher(Loop loop, AsyncWatcherCallback cb)
     : base(loop)
 {
     this.cb = cb;
 }
Esempio n. 9
0
 public abstract IAsyncWatcher NewAsyncWatcher(AsyncWatcherCallback cb);