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 Object
- implements Connection
_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
- TODO
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.