com.sun.grizzly.util
Class SelectedKeyAttachmentLogic

java.lang.Object
  extended by com.sun.grizzly.util.SelectionKeyAttachment
      extended by com.sun.grizzly.util.SelectedKeyAttachmentLogic
Direct Known Subclasses:
CometTask, WebSocketSelectionKeyAttachment

public abstract class SelectedKeyAttachmentLogic
extends SelectionKeyAttachment

allows for custom selector.select logic, if controller detects SelectedKeyAttachmentLogic attachment on a valid key it does not perform anything.

Author:
gustav trede

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.grizzly.util.SelectionKeyAttachment
SelectionKeyAttachment.KeySelectionListener, SelectionKeyAttachment.TimeOutListener
 
Field Summary
 
Fields inherited from class com.sun.grizzly.util.SelectionKeyAttachment
DEREGISTERED, idleTimeoutDelay, keySelectionListener, timeout, timeoutListener, UNLIMITED_TIMEOUT
 
Constructor Summary
SelectedKeyAttachmentLogic()
           
 
Method Summary
 
Methods inherited from class com.sun.grizzly.util.SelectionKeyAttachment
getAttachment, getIdleTimeoutDelay, getKeySelectionListener, getTimeout, getTimeoutListener, handleSelectedKey, release, setIdleTimeoutDelay, setKeySelectionListener, setTimeout, setTimeoutListener, timedOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedKeyAttachmentLogic

public SelectedKeyAttachmentLogic()


Copyright © 2012 Oracle Corporation. All Rights Reserved.