How do I create a Selector (java.nio.channels)?
Location: http://www.jguru.com/faq/view.jsp?EID=533145 Created: Oct 29, 2001 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) While the Selector class is abstract, you can create one by calling the static open() method. This will create an instance of a Selector subclass. Behind the scenes, this is done through the selector provider: SelectorProvider.provider().