RAA - io-reactor/0.05

io-reactor / 0.05

Short description: IO Reactor for event-driven multiplexed IO in a single thread
Category: Library/IO
Status: Released
Created: 2003-07-23 12:54:30 GMT
Last update: 2003-08-05 04:11:59 GMT
Owner: Michael Granger (Projects of this owner)
Homepage: http://www.deveiate.org/code/IO-Reactor.shtml
Download: http://www.deveiate.org/code/IO-Reactor-0.05.tar.gz
License: Ruby's
Dependency:
Required by: memcache/0.0.1 Multiplexing IO
Description:

This module is a pure-Ruby implementation of an asynchronous multiplexed IO Reactor which is based on the Reactor design pattern found in _Pattern-Oriented Software Architecture, Volume 2: Patterns for Concurrent and Networked Objects_. It allows a single thread to demultiplex and dispatch events from one or more IO objects to an appropriate handler.

This module used to be called Ruby-Poll, and used to use the poll(2) system call, but this strategy was not portable, and didn't work with Ruby's threads. This version is almost a complete rewrite of the internals, though it should work mostly the same from the outside. It now uses IO::select, which should work everywhere Ruby does.

Requires Ruby >= 1.8.0

Changes in this version:

* Registered handles can now store arguments to pass to event handlers.

* Corrected RAA entry which resulted from Mozilla apparently helpfully filling in incorrect values when I submitted the update for the previous release.

Versions: [0.0.6 (2004-11-16)] [0.05 (2003-08-05)]

Edit this project (for project owner)

back to RAA top