Ejemplo n.º 1
0
        public PrepareWatcher(LibEvLoop loop, PrepareWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_prepare_watcher_create (unmanaged_callback, GCHandle.ToIntPtr (gc_handle));
        }
Ejemplo n.º 2
0
        public PrepareWatcher(Loop loop, PrepareWatcherCallback callback) : base(loop)
        {
            this.callback = callback;

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

            InitializeUnmanagedWatcher(unmanaged_watcher);
        }
Ejemplo n.º 3
0
        public PrepareWatcher(Loop loop, PrepareWatcherCallback callback)
            : base(loop)
        {
            this.callback = callback;

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

            InitializeUnmanagedWatcher (unmanaged_watcher);
        }
Ejemplo n.º 4
0
        public PrepareWatcher(LibEvLoop loop, PrepareWatcherCallback callback) : base(loop)
        {
            this.callback = callback;

            watcher_ptr = manos_prepare_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle));
        }