Class: Coolio::Watcher

Inherits:
Object
  • Object
show all
Defined in:
ext/cool.io/watcher.c,
ext/cool.io/iowatcher.c,
ext/cool.io/stat_watcher.c,
ext/cool.io/timer_watcher.c

Direct Known Subclasses

IOWatcher, StatWatcher, TimerWatcher

Instance Method Summary collapse

Constructor Details

#initializeObject



19
# File 'ext/cool.io/watcher.c', line 19

static VALUE Coolio_Watcher_initialize(VALUE self);

Instance Method Details

#attachObject



20
# File 'ext/cool.io/watcher.c', line 20

static VALUE Coolio_Watcher_attach(VALUE self, VALUE loop);

#attached?Boolean

Returns:

  • (Boolean)


25
# File 'ext/cool.io/watcher.c', line 25

static VALUE Coolio_Watcher_attached(VALUE self);

#detachObject



21
# File 'ext/cool.io/watcher.c', line 21

static VALUE Coolio_Watcher_detach(VALUE self);

#disableObject



23
# File 'ext/cool.io/watcher.c', line 23

static VALUE Coolio_Watcher_disable(VALUE self);

#enableObject



22
# File 'ext/cool.io/watcher.c', line 22

static VALUE Coolio_Watcher_enable(VALUE self);

#enabled?Boolean

Returns:

  • (Boolean)


26
# File 'ext/cool.io/watcher.c', line 26

static VALUE Coolio_Watcher_enabled(VALUE self);

#evloopObject



24
# File 'ext/cool.io/watcher.c', line 24

static VALUE Coolio_Watcher_evloop(VALUE self);