org.apache.tomcat.util.net
Class SocketWrapper<E>
java.lang.Object
org.apache.tomcat.util.net.SocketWrapper<E>
- Direct Known Subclasses:
- NioEndpoint.KeyAttachment
public class SocketWrapper<E>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
protected volatile E socket
lastAccess
protected volatile long lastAccess
currentAccess
protected volatile boolean currentAccess
timeout
protected long timeout
error
protected boolean error
lastRegistered
protected long lastRegistered
keepAliveLeft
protected volatile int keepAliveLeft
async
protected boolean async
keptAlive
protected boolean keptAlive
initialized
protected boolean initialized
processing
public AtomicBoolean processing
SocketWrapper
public SocketWrapper(E socket)
getSocket
public E getSocket()
isAsync
public boolean isAsync()
setAsync
public void setAsync(boolean async)
getLastAccess
public long getLastAccess()
access
public void access()
access
public void access(long access)
getCurrentAccess
public boolean getCurrentAccess()
setCurrentAccess
public void setCurrentAccess(boolean access)
setTimeout
public void setTimeout(long timeout)
getTimeout
public long getTimeout()
getError
public boolean getError()
setError
public void setError(boolean error)
getKeepAliveLeft
public int getKeepAliveLeft()
setKeepAliveLeft
public void setKeepAliveLeft(int keepAliveLeft)
decrementKeepAlive
public int decrementKeepAlive()
isKeptAlive
public boolean isKeptAlive()
setKeptAlive
public void setKeptAlive(boolean keptAlive)
isInitialized
public boolean isInitialized()
setInitialized
public void setInitialized(boolean initialized)
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.