Class: Green::Hub::EM::SocketWaiter::Handler
- Inherits:
-
EM::Connection
- Object
- EM::Connection
- Green::Hub::EM::SocketWaiter::Handler
- Defined in:
- lib/green/hub/em.rb
Instance Attribute Summary collapse
-
#green ⇒ Object
Returns the value of attribute green.
Instance Method Summary collapse
Instance Attribute Details
#green ⇒ Object
Returns the value of attribute green.
23 24 25 |
# File 'lib/green/hub/em.rb', line 23 def green @green end |
Instance Method Details
#notify_readable ⇒ Object
24 25 26 |
# File 'lib/green/hub/em.rb', line 24 def notify_readable green.switch end |
#notify_writable ⇒ Object
28 29 30 |
# File 'lib/green/hub/em.rb', line 28 def notify_writable green.switch end |