com.sun.grizzly.suspendable
Class SuspendableFilter.KeyHandler

java.lang.Object
  extended by com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
Enclosing class:
SuspendableFilter<T>

protected class SuspendableFilter.KeyHandler
extends java.lang.Object

Struc to keep state of the current suspended Connection.


Constructor Summary
protected SuspendableFilter.KeyHandler()
           
 
Method Summary
protected  java.nio.channels.SelectionKey getForeignKey()
           
protected  java.nio.channels.SelectionKey getKey()
           
protected  long getRegistrationTime()
           
protected  SuspendableFilter.SuspendableHandlerWrapper getSuspendableHandler()
           
protected  ThreadAttachment getThreadAttachment()
           
protected  void setForeignKey(java.nio.channels.SelectionKey foreignKey)
           
protected  void setKey(java.nio.channels.SelectionKey key)
           
protected  void setRegistrationTime(long registrationTime)
           
protected  void setSuspendableHandler(SuspendableFilter.SuspendableHandlerWrapper sh)
           
protected  void setThreadAttachment(ThreadAttachment threadAttachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuspendableFilter.KeyHandler

protected SuspendableFilter.KeyHandler()
Method Detail

getKey

protected java.nio.channels.SelectionKey getKey()

setKey

protected void setKey(java.nio.channels.SelectionKey key)

getForeignKey

protected java.nio.channels.SelectionKey getForeignKey()

setForeignKey

protected void setForeignKey(java.nio.channels.SelectionKey foreignKey)

getSuspendableHandler

protected SuspendableFilter.SuspendableHandlerWrapper getSuspendableHandler()

setSuspendableHandler

protected void setSuspendableHandler(SuspendableFilter.SuspendableHandlerWrapper sh)

getThreadAttachment

protected ThreadAttachment getThreadAttachment()

setThreadAttachment

protected void setThreadAttachment(ThreadAttachment threadAttachment)

getRegistrationTime

protected long getRegistrationTime()

setRegistrationTime

protected void setRegistrationTime(long registrationTime)


Copyright © 2012 Oracle Corporation. All Rights Reserved.