com.sun.grizzly.util
Class SelectedKeyAttachmentLogic

java.lang.Object
  extended by com.sun.grizzly.util.SelectionKeyAttachment
      extended by com.sun.grizzly.util.SelectedKeyAttachmentLogic

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

Field Summary
 
Fields inherited from class com.sun.grizzly.util.SelectionKeyAttachment
DEREGISTERED, timeout, UNLIMITED_TIMEOUT
 
Constructor Summary
SelectedKeyAttachmentLogic()
           
 
Method Summary
abstract  void handleSelectedKey(SelectionKey selectionKey)
          used for completely custom selector.select logic.
 
Methods inherited from class com.sun.grizzly.util.SelectionKeyAttachment
getAttachment, getIdleTimeoutDelay, getTimeout, release, setIdleTimeoutDelay, setTimeout, timedOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedKeyAttachmentLogic

public SelectedKeyAttachmentLogic()
Method Detail

handleSelectedKey

public abstract void handleSelectedKey(SelectionKey selectionKey)
used for completely custom selector.select logic.

Parameters:
selectionKey -


Copyright © 2009 SUN Microsystems. All Rights Reserved.