|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.TCPSelectorHandler
com.sun.grizzly.SSLSelectorHandler
public class SSLSelectorHandler
A SelectorHandler handles all java.nio.channels.Selector operations. One or more instance of a Selector are handled by SelectorHandler. The logic for processing of SelectionKey interest (OP_ACCEPT,OP_READ, etc.) is usually defined using an instance of SelectorHandler. This class represents a SSL (secured) implementation of a SelectorHandler. This class first bind a ServerSocketChannel to a TCP port and then start waiting for NIO events.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.grizzly.TCPSelectorHandler |
|---|
TCPSelectorHandler.ConnectChannelOperation, TCPSelectorHandler.RegisterChannelOperation, TCPSelectorHandler.RegisterKeyOperation, TCPSelectorHandler.RunnableOperation, TCPSelectorHandler.SelectionKeyCancelOperation |
| Field Summary |
|---|
| Fields inherited from class com.sun.grizzly.TCPSelectorHandler |
|---|
asyncQueueReader, asyncQueueWriter, attributes, connectorInstanceHandler, inet, instanceHandler, isKeepAlive, isShutDown, linger, logger, portRange, postponedTasks, receiveBufferSize, reuseAddress, role, selectionKeyHandler, selector, selectorHandlerTasks, selectTimeout, sendBufferSize, serverSocket, serverSocketChannel, serverTimeout, socketTimeout, ssBackLog, stateHolder, tcpNoDelay, threadPool |
| Constructor Summary | |
|---|---|
SSLSelectorHandler()
|
|
SSLSelectorHandler(boolean isClient)
SSLSelectorHandler constructor |
|
| Method Summary | |
|---|---|
protected java.util.concurrent.Callable<ConnectorHandler> |
getConnectorInstanceHandlerDelegate()
Return ConnectorInstanceHandler corresponding to the protocol |
Controller.Protocol |
protocol()
A token decribing the protocol supported by an implementation of this interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLSelectorHandler()
public SSLSelectorHandler(boolean isClient)
isClient - true, if SSLSelectorHandler will work only in client mode (will
not listen for incoming client connections).| Method Detail |
|---|
public Controller.Protocol protocol()
TCPSelectorHandler
protocol in interface SelectorHandlerprotocol in class TCPSelectorHandlerprotected java.util.concurrent.Callable<ConnectorHandler> getConnectorInstanceHandlerDelegate()
TCPSelectorHandlerConnectorInstanceHandler corresponding to the protocol
getConnectorInstanceHandlerDelegate in class TCPSelectorHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||