예제 #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));
        }
예제 #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));
        }
예제 #3
0
        public CheckWatcher(Loop loop, CheckWatcherCallback callback) : base(loop)
        {
            this.callback = callback;

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

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

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

            InitializeUnmanagedWatcher (unmanaged_watcher);
        }