com.sun.grizzly.util
Class CallbackHandlerSelectionKeyAttachment
java.lang.Object
com.sun.grizzly.util.SelectionKeyAttachment
com.sun.grizzly.util.SelectionKeyActionAttachment
com.sun.grizzly.util.SelectionKeyAttachmentWrapper<CallbackHandler>
com.sun.grizzly.util.CallbackHandlerSelectionKeyAttachment
public class CallbackHandlerSelectionKeyAttachment
- extends SelectionKeyAttachmentWrapper<CallbackHandler>
SelectionKey
attachment, which wraps CallbackHandler
- Author:
- Alexey Stashok
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static CallbackHandlerSelectionKeyAttachment create(SelectionKey key,
CallbackHandler callbackHandler)
- Creates the
CallbackHandler
to the SelectionKey
CallbackHandler will not be attached directly, but wrapped with
CallbackHandlerSelectionKeyAttachment
release
public void release(SelectionKey selectionKey)
- Overrides:
release
in class SelectionKeyAttachmentWrapper<CallbackHandler>
Copyright © 2011 SUN Microsystems. All Rights Reserved.