Uses of Interface
com.sun.grizzly.SelectorHandler

Packages that use SelectorHandler
com.sun.grizzly   
com.sun.grizzly.async   
com.sun.grizzly.connectioncache.client   
com.sun.grizzly.http   
com.sun.grizzly.ssl   
com.sun.grizzly.suspendable   
 

Uses of SelectorHandler in com.sun.grizzly
 

Classes in com.sun.grizzly with type parameters of type SelectorHandler
 class AbstractConnectorHandler<E extends SelectorHandler,K extends CallbackHandler>
          Abstract ConnectorHandler definition, which preimplements common getter/setter methods.
 interface ConnectorHandler<E extends SelectorHandler,P extends CallbackHandler>
          Client side interface used to implement non blocking client operation.
 

Subinterfaces of SelectorHandler in com.sun.grizzly
 interface ComplexSelectorHandler
          A ComplexSelectorHandler handles all java.nio.channels.Selector operations similar way SelectorHandler does.
 

Classes in com.sun.grizzly that implement SelectorHandler
 class ReusableTCPSelectorHandler
          This class extends a TCP implementation of a SelectorHandler and reuses the accepted SocketChannel if a user tries to connect the same remote address.
 class ReusableUDPSelectorHandler
          This class extends a UDP implementation of a SelectorHandler and reuses the opened DatagramChannel if a user tries to connect any remote addresses.
 class RoundRobinSelectorHandler
          A SelectorHandler handles all java.nio.channels.Selector operations.
 class SSLSelectorHandler
          A SelectorHandler handles all java.nio.channels.Selector operations.
 class TCPSelectorHandler
          A SelectorHandler handles all java.nio.channels.Selector operations.
 class UDPSelectorHandler
          A SelectorHandler handles all java.nio.channels.Selector operations.
 

Fields in com.sun.grizzly declared as SelectorHandler
protected  E AbstractConnectorHandler.selectorHandler
          The underlying SelectorHandler used to mange SelectionKeys.
protected  SelectorHandler BaseSelectionKeyHandler.selectorHandler
          Associated SelectorHandler
 

Fields in com.sun.grizzly with type parameters of type SelectorHandler
protected  Queue<SelectorHandler> Controller.selectorHandlers
          The set of SelectorHandlers used by this instance.
 

Methods in com.sun.grizzly that return SelectorHandler
static SelectorHandler SelectorHandlerFactory.createSelectorHandler(Controller.Protocol protocol, boolean reusable)
          return an instance of SelectorHandler, which corresponds to the protocol and reusable
 SelectorHandler Context.getSelectorHandler()
          Return the current SelectorHandler this instance is executing, or null if not supported.
 SelectorHandler NIOContext.getSelectorHandler()
           
 SelectorHandler SelectionKeyHandler.getSelectorHandler()
          Get associated SelectorHandler
 SelectorHandler BaseSelectionKeyHandler.getSelectorHandler()
           
 SelectorHandler SelectorHandlerRunner.getSelectorHandler()
           
 SelectorHandler Controller.getSelectorHandler(Controller.Protocol protocol)
          Return the SelectorHandler associated with the protocol.
 SelectorHandler Controller.getSelectorHandler(Selector selector)
          Return the SelectorHandler associated with the Selector.
 SelectorHandler ReadController.getSelectorHandlerClone(SelectorHandler selectorHandler)
          Gets SelectorHandler's clone, registered on thisReadController
 

Methods in com.sun.grizzly with parameters of type SelectorHandler
 void ReadController.addChannel(SelectableChannel channel, SelectorHandler selectorHandler)
          Add a Channel to be processed byReadController's SelectorHandler
 void Controller.addSelectorHandler(SelectorHandler selectorHandler)
          Add a SelectorHandler
 void Controller.configureContext(SelectionKey key, Context.OpType opType, NIOContext ctx, SelectorHandler selectorHandler)
          Configure the Context
protected  boolean SelectorHandlerRunner.continueSelect(SelectorHandler selectorHandler, NIOContext serverCtx)
           
protected  boolean SelectorHandlerRunner.doSelect(SelectorHandler selectorHandler, NIOContext serverCtx)
          This method handle the processing of all Selector's interest op (OP_ACCEPT,OP_READ,OP_WRITE,OP_CONNECT) by delegating to its Handler.
 SelectorHandler ReadController.getSelectorHandlerClone(SelectorHandler selectorHandler)
          Gets SelectorHandler's clone, registered on thisReadController
 void Controller.removeSelectorHandler(SelectorHandler selectorHandler)
          Shuts down SelectorHandler and removes it from this Controller list
 void ReadController.removeSelectorHandlerClone(SelectorHandler selectorHandler)
          Removes SelectorHandler's clone, registered on thisReadController
 void Controller.setSelectorHandler(SelectorHandler selectorHandler)
          Set the first SelectorHandler
 void NIOContext.setSelectorHandler(SelectorHandler selectorHandler)
          Set the current SelectorHandler this instance is executing.
 void SelectionKeyHandler.setSelectorHandler(SelectorHandler selectorHandler)
          Set associated SelectorHandler
 void BaseSelectionKeyHandler.setSelectorHandler(SelectorHandler selectorHandler)
           
protected  void Controller.startSelectorHandlerRunner(SelectorHandler selectorHandler)
          Starts SelectorHandlerRunner
 boolean ComplexSelectorHandler.supportsClient(SelectorHandler selectorHandler)
          Checks if given SelectorHandler is supported on client-side by RoundRobinSelectorHandler
 boolean RoundRobinSelectorHandler.supportsClient(SelectorHandler selectorHandler)
          Checks if given SelectorHandler is supported on client-side by RoundRobinSelectorHandler
protected static void SelectorHandlerRunner.switchToNewSelector(SelectorHandler selectorHandler)
           
 

Constructors in com.sun.grizzly with parameters of type SelectorHandler
BaseSelectionKeyHandler(SelectorHandler selectorHandler)
           
DefaultSelectionKeyHandler(SelectorHandler selectorHandler)
           
SelectorHandlerRunner(Controller controller, SelectorHandler selectorHandler)
           
 

Uses of SelectorHandler in com.sun.grizzly.async
 

Fields in com.sun.grizzly.async declared as SelectorHandler
protected  SelectorHandler AbstractAsyncQueueWriter.selectorHandler
           
protected  SelectorHandler AbstractAsyncQueueReader.selectorHandler
           
 

Constructors in com.sun.grizzly.async with parameters of type SelectorHandler
AbstractAsyncQueueReader(SelectorHandler selectorHandler)
           
AbstractAsyncQueueWriter(SelectorHandler selectorHandler)
           
TCPAsyncQueueReader(SelectorHandler selectorHandler)
           
TCPAsyncQueueWriter(SelectorHandler selectorHandler)
           
UDPAsyncQueueReader(SelectorHandler selectorHandler)
           
UDPAsyncQueueWriter(SelectorHandler selectorHandler)
           
 

Uses of SelectorHandler in com.sun.grizzly.connectioncache.client
 

Methods in com.sun.grizzly.connectioncache.client that return SelectorHandler
 SelectorHandler CacheableConnectorHandler.getSelectorHandler()
           
 

Methods in com.sun.grizzly.connectioncache.client with parameters of type SelectorHandler
 void CacheableConnectorHandler.connect(SocketAddress remoteAddress, CallbackHandler callbackHandler, SelectorHandler selectorHandler)
           
 void CacheableConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CallbackHandler callbackHandler, SelectorHandler selectorHandler)
           
 

Uses of SelectorHandler in com.sun.grizzly.http
 

Subinterfaces of SelectorHandler in com.sun.grizzly.http
 interface HttpSelectorHandler
          General HTTP SelectorHandler interface
 

Classes in com.sun.grizzly.http that implement SelectorHandler
 class SelectorThreadHandler
          SelectorHandler implementation SelectorThread passes to Controller.
 

Fields in com.sun.grizzly.http declared as SelectorHandler
protected  SelectorHandler TaskBase.selectorHandler
          SelectorHandler, which handles this SelectionKey I/O events
 

Methods in com.sun.grizzly.http that return SelectorHandler
 SelectorHandler Task.getSelectorHandler()
          Returns SelectorHandler, which handles this taks's SelectionKey
 SelectorHandler TaskBase.getSelectorHandler()
          Returns SelectorHandler, which handles this taks's SelectionKey
 

Methods in com.sun.grizzly.http with parameters of type SelectorHandler
 void Task.setSelectorHandler(SelectorHandler selectorHandler)
          Sets SelectorHandler, which handles this taks's SelectionKey
 void TaskBase.setSelectorHandler(SelectorHandler selectorHandler)
          Sets SelectorHandler, which handles this taks's SelectionKey
 

Uses of SelectorHandler in com.sun.grizzly.ssl
 

Classes in com.sun.grizzly.ssl that implement SelectorHandler
 class SSLSelectorThreadHandler
          SelectorHandler implementation SelectorThread passes to Controller.
 

Uses of SelectorHandler in com.sun.grizzly.suspendable
 

Methods in com.sun.grizzly.suspendable that return SelectorHandler
protected  SelectorHandler SuspendableFilter.SuspendableHandlerWrapper.getSelectorHandler()
           
 

Methods in com.sun.grizzly.suspendable with parameters of type SelectorHandler
protected  void SuspendableFilter.SuspendableHandlerWrapper.setSelectorHandler(SelectorHandler selectorHandler)
           
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.