Class: Rev::Watcher

Inherits:
Object
  • Object
show all
Defined in:
ext/rev/rev_watcher.c,
ext/rev/rev_io_watcher.c,
ext/rev/rev_stat_watcher.c,
ext/rev/rev_timer_watcher.c

Direct Known Subclasses

IOWatcher, StatWatcher, TimerWatcher

Instance Method Summary collapse

Constructor Details

#initializeObject



20
# File 'ext/rev/rev_watcher.c', line 20

static VALUE Rev_Watcher_initialize(VALUE self);

Instance Method Details

#attachObject



21
# File 'ext/rev/rev_watcher.c', line 21

static VALUE Rev_Watcher_attach(VALUE self, VALUE loop);

#attached?Boolean

Returns:

  • (Boolean)


26
# File 'ext/rev/rev_watcher.c', line 26

static VALUE Rev_Watcher_attached(VALUE self);

#detachObject



22
# File 'ext/rev/rev_watcher.c', line 22

static VALUE Rev_Watcher_detach(VALUE self);

#disableObject



24
# File 'ext/rev/rev_watcher.c', line 24

static VALUE Rev_Watcher_disable(VALUE self);

#enableObject



23
# File 'ext/rev/rev_watcher.c', line 23

static VALUE Rev_Watcher_enable(VALUE self);

#enabled?Boolean

Returns:

  • (Boolean)


27
# File 'ext/rev/rev_watcher.c', line 27

static VALUE Rev_Watcher_enabled(VALUE self);

#evloopObject



25
# File 'ext/rev/rev_watcher.c', line 25

static VALUE Rev_Watcher_evloop(VALUE self);