com.sun.grizzly.websockets
Class WebSocketSelectionKeyAttachment
java.lang.Object
com.sun.grizzly.util.SelectionKeyAttachment
com.sun.grizzly.util.SelectedKeyAttachmentLogic
com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
- All Implemented Interfaces:
- Runnable
public class WebSocketSelectionKeyAttachment
- extends SelectedKeyAttachmentLogic
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketSelectionKeyAttachment
public WebSocketSelectionKeyAttachment(ServerNetworkHandler snh,
ProcessorTask task,
AsyncProcessorTask asyncTask)
timedOut
public boolean timedOut(SelectionKey key)
- Overrides:
timedOut in class SelectionKeyAttachment
handleSelectedKey
public boolean handleSelectedKey(SelectionKey key)
- Overrides:
handleSelectedKey in class SelectionKeyAttachment
run
public void run()
- Specified by:
run in interface Runnable
enableRead
public final void enableRead()
getSelectionKey
public SelectionKey getSelectionKey()
getHandler
public ServerNetworkHandler getHandler()
Copyright © 2011 Oracle Corpration. All Rights Reserved.