org.eclipse.jetty.io
Class AbstractConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
- All Implemented Interfaces:
- Connection
- Direct Known Subclasses:
- AbstractHttpConnection, AbstractHttpConnection, SslConnection, WebSocketConnectionD00, WebSocketConnectionD06, WebSocketConnectionD08, WebSocketConnectionRFC6455
public abstract class AbstractConnection
- extends java.lang.Object
- implements Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_endp
protected final EndPoint _endp
AbstractConnection
public AbstractConnection(EndPoint endp)
AbstractConnection
public AbstractConnection(EndPoint endp,
long timestamp)
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp
in interface Connection
- Returns:
- the timestamp at which the connection was created
getEndPoint
public EndPoint getEndPoint()
onIdleExpired
public void onIdleExpired(long idleForMs)
- Description copied from interface:
Connection
- Called when the connection idle timeout expires
- Specified by:
onIdleExpired
in interface Connection
- Parameters:
idleForMs
- how long the connection has been idle- See Also:
Connection.isIdle()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013. All Rights Reserved.