Beispiel #1
0
        public CheckWatcher(LibEvLoop loop, CheckWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_check_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle));
        }
Beispiel #2
0
        public CheckWatcher(LibEvLoop loop, CheckWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_check_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle));
        }
Beispiel #3
0
        public CheckWatcher(Loop loop, CheckWatcherCallback callback) : base(loop)
        {
            this.callback = callback;

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

            InitializeUnmanagedWatcher(unmanaged_watcher);
        }
Beispiel #4
0
        public CheckWatcher(Loop loop, CheckWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

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

            InitializeUnmanagedWatcher (unmanaged_watcher);
        }