rnio 1.2

A minimalistic nio framework

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in rnio 1.2:

  • Major updates of the javadocs.
  • Made it possible to specify a thread factory for the selector thread creation.
Read full changelog
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Robert Olofsson
HOMEPAGE:
www.khelekore.org
CATEGORY:
ROOT \ System \ Networking
RNIO is a minimalistic nio framework for the Java language. It handles the selector, but gives you full control over the channels.

RNIO is the nio framework used in the rabbit web proxy.

With rnio you create an NioHandler and then you wait for events. The events are read-ready, write-ready, accept-ready and connect-ready. With rnio you only wait once, if you want to perform the same action again you have to register for the event again. You can set timeouts for each wait individually.

Internally rnio has a set of selectors and runs one thread for each of them. Your event listeners can run either on the selector thread or on a background from the thread pool, it is up to you to decide what is better. For low latency you want to run on the selector thread, but then you should not do any operation that might block, since that will block rnio.

Last updated on June 30th, 2011

requirements

#nio framework #minimalistic framework #minimalistic #nio #framework #Java

Add your review!

SUBMIT