com.sun.grizzly.util
Class SelectionKeyActionAttachment

java.lang.Object
  extended by com.sun.grizzly.util.SelectionKeyAttachment
      extended by com.sun.grizzly.util.SelectionKeyActionAttachment
Direct Known Subclasses:
SelectionKeyAttachmentWrapper, ThreadAttachment

public abstract class SelectionKeyActionAttachment
extends SelectionKeyAttachment

Class represents extended version of SelectionKeyAttachment, and introduces process method, which will be called by framework once SelectionKey has some ready event, before actual event processing.

Author:
Alexey Stashok

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
SelectionKeyActionAttachment()
           
 
Method Summary
abstract  void postProcess(SelectionKey selectionKey)
           
abstract  void process(SelectionKey selectionKey)
           
 
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

SelectionKeyActionAttachment

public SelectionKeyActionAttachment()
Method Detail

process

public abstract void process(SelectionKey selectionKey)

postProcess

public abstract void postProcess(SelectionKey selectionKey)


Copyright © 2012 Oracle Corporation. All Rights Reserved.