org.eclipse.jetty.io
Class AbstractConnection

java.lang.Object
  extended by org.eclipse.jetty.io.AbstractConnection
All Implemented Interfaces:
Connection
Direct Known Subclasses:
HttpConnection, HttpConnection, WebSocketConnectionD00, WebSocketConnectionD06

public abstract class AbstractConnection
extends Object
implements Connection


Field Summary
protected  EndPoint _endp
           
 
Constructor Summary
AbstractConnection(EndPoint endp)
           
AbstractConnection(EndPoint endp, long timestamp)
           
 
Method Summary
 EndPoint getEndPoint()
           
 long getTimeStamp()
           
 void idleExpired()
          Called when the connection idle timeout expires
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jetty.io.Connection
closed, handle, isIdle, isSuspended
 

Field Detail

_endp

protected final EndPoint _endp
Constructor Detail

AbstractConnection

public AbstractConnection(EndPoint endp)

AbstractConnection

public AbstractConnection(EndPoint endp,
                          long timestamp)
Method Detail

getTimeStamp

public long getTimeStamp()
Specified by:
getTimeStamp in interface Connection
Returns:
the timestamp at which the connection was created

getEndPoint

public EndPoint getEndPoint()

idleExpired

public void idleExpired()
Description copied from interface: Connection
Called when the connection idle timeout expires

Specified by:
idleExpired in interface Connection

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.