net.officefloor.plugin.socket.server.impl
Class SelectorFactory

java.lang.Object
  extended by net.officefloor.plugin.socket.server.impl.SelectorFactory

public class SelectorFactory
extends Object

Factory for the creation of the Selector.

This wraps Selector.open().

Author:
Daniel Sagenschneider

Constructor Summary
SelectorFactory()
           
 
Method Summary
 Selector createSelector()
          Creates the Selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectorFactory

public SelectorFactory()
Method Detail

createSelector

public Selector createSelector()
                        throws IOException
Creates the Selector.

Returns:
New Selector.
Throws:
IOException - If fails to create the Selector.


Copyright © 2005-2011. All Rights Reserved.