Java Reactor

documentation | download 0.1 src tgz | download 0.1 jar | more downloads | browse svn | home page

Overview

This is a completely minimal implementation of a select-based reactor framework for event-based asynchronous IO programming. The reactor core supports scheduling of tasks (a la Twisted, asio, etc.). This was written for the constrained-resource environment that is PlanetLab, mostly out of performance paranoia. It also helped us remove the need for a separate thread for the scheduled executor tasks - these are run in-line (using timeouts to select).

Aside from its simplicity, efficiency, and support for scheduled tasks, it also has no dependencies except for Java 6. Currently only UDP is supported.

Usage

For an example of how to use the reactor, please refer to ReactorTest.java.

License

Java Reactor is released under the GNU GPL3.

Contact

Copyright 2008 Yang Zhang.
All rights reserved.

Back to assorted.sf.net.