rnio

A minimalistic nio framework
Download

rnio Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Robert Olofsson
  • Publisher web site:
  • http://www.khelekore.org/jsizer/index.shtml

rnio Tags


rnio Description

A minimalistic nio framework 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. Requirements: · Java 2 Standard Edition Runtime Environment What's New in This Release: · Renamed UnlimitedSocketHandler to SocketHandlerBase and made it possible to set the timeout values for it. Added timeouts to the EchoServer sample. The default timeout value for MultiSelectorNioHandler may now be passed as an argument to the constructor.


rnio Related Software