D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
cool.io-1.5.1
/
lib
/
cool.io
/
Filename :
iowatcher.rb
back
Copy
#-- # Copyright (C)2007-10 Tony Arcieri # You can redistribute this under the terms of the Ruby license # See file LICENSE for details #++ module Coolio class IOWatcher # The actual implementation of this class resides in the C extension # Here we metaprogram proper event_callbacks for the callback methods # These can take a block and store it to be called when the event # is actually fired. extend Meta event_callback :on_readable, :on_writable end end