org.apache.tomcat.util.net
Class NioEndpoint.KeyAttachment
java.lang.Object
org.apache.tomcat.util.net.NioEndpoint.KeyAttachment
- Enclosing class:
- NioEndpoint
public static class NioEndpoint.KeyAttachment
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
poller
protected NioEndpoint.Poller poller
interestOps
protected int interestOps
mutex
protected java.lang.Object mutex
wakeUp
protected boolean wakeUp
lastAccess
protected long lastAccess
currentAccess
protected boolean currentAccess
comet
protected boolean comet
timeout
protected long timeout
error
protected boolean error
channel
protected NioChannel channel
NioEndpoint.KeyAttachment
public NioEndpoint.KeyAttachment(NioEndpoint.Poller poller)
getPoller
public NioEndpoint.Poller getPoller()
setPoller
public void setPoller(NioEndpoint.Poller poller)
getLastAccess
public long getLastAccess()
access
public void access()
access
public void access(long access)
setComet
public void setComet(boolean comet)
getComet
public boolean getComet()
getCurrentAccess
public boolean getCurrentAccess()
setCurrentAccess
public void setCurrentAccess(boolean access)
getWakeUp
public boolean getWakeUp()
setWakeUp
public void setWakeUp(boolean wakeUp)
getMutex
public java.lang.Object getMutex()
setTimeout
public void setTimeout(long timeout)
getTimeout
public long getTimeout()
getError
public boolean getError()
setError
public void setError(boolean error)
getChannel
public NioChannel getChannel()
setChannel
public void setChannel(NioChannel channel)
interestOps
public int interestOps()
interestOps
public int interestOps(int ops)
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.