|
||||||||||
| 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.http.SelectorThreadHandler
public class SelectorThreadHandler
SelectorHandler implementation SelectorThread
passes to Controller. It is very similar to
TCPSelectorHandler, however has some difference in preSelect()
processing
| 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 | |
|---|---|
SelectorThreadHandler()
|
|
SelectorThreadHandler(SelectorThread selectorThread)
|
|
| Method Summary | |
|---|---|
void |
configureChannel(SelectableChannel channel)
|
void |
copyTo(Copyable copy)
|
SelectorThread |
getSelectorThread()
|
boolean |
onAcceptInterest(SelectionKey key,
Context ctx)
|
void |
setSelectorThread(SelectorThread selectorThread)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.grizzly.util.AttributeHolder |
|---|
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes |
| Methods inherited from interface com.sun.grizzly.util.SupportStateHolder |
|---|
getStateHolder |
| Methods inherited from interface com.sun.grizzly.tcp.PendingIOhandler |
|---|
addPendingIO, addPendingKeyCancel |
| Constructor Detail |
|---|
public SelectorThreadHandler()
public SelectorThreadHandler(SelectorThread selectorThread)
| Method Detail |
|---|
public void copyTo(Copyable copy)
copyTo in interface CopyablecopyTo in class TCPSelectorHandlerpublic SelectorThread getSelectorThread()
getSelectorThread in interface HttpSelectorHandlerpublic void setSelectorThread(SelectorThread selectorThread)
setSelectorThread in interface HttpSelectorHandler
public void configureChannel(SelectableChannel channel)
throws IOException
configureChannel in interface SelectorHandlerconfigureChannel in class TCPSelectorHandlerIOException
public boolean onAcceptInterest(SelectionKey key,
Context ctx)
throws IOException
onAcceptInterest in interface SelectorHandleronAcceptInterest in class TCPSelectorHandlerIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||