org.eclipse.jetty.io
类 AbstractConnection

java.lang.Object
  继承者 org.eclipse.jetty.io.AbstractConnection
所有已实现的接口:
Connection
直接已知子类:
AbstractHttpConnection, AbstractHttpConnection, SslConnection, WebSocketConnectionD00, WebSocketConnectionD06, WebSocketConnectionD08, WebSocketConnectionRFC6455

public abstract class AbstractConnection
extends Object
implements Connection


字段摘要
protected  EndPoint _endp
           
 
构造方法摘要
AbstractConnection(EndPoint endp)
           
AbstractConnection(EndPoint endp, long timestamp)
           
 
方法摘要
 EndPoint getEndPoint()
           
 long getTimeStamp()
           
 void onIdleExpired(long idleForMs)
          Called when the connection idle timeout expires
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.eclipse.jetty.io.Connection 继承的方法
handle, isIdle, isSuspended, onClose
 

字段详细信息

_endp

protected final EndPoint _endp
构造方法详细信息

AbstractConnection

public AbstractConnection(EndPoint endp)

AbstractConnection

public AbstractConnection(EndPoint endp,
                          long timestamp)
方法详细信息

getTimeStamp

public long getTimeStamp()
指定者:
接口 Connection 中的 getTimeStamp
返回:
the timestamp at which the connection was created

getEndPoint

public EndPoint getEndPoint()

onIdleExpired

public void onIdleExpired(long idleForMs)
从接口 Connection 复制的描述
Called when the connection idle timeout expires

指定者:
接口 Connection 中的 onIdleExpired
参数:
idleForMs - how long the connection has been idle
另请参见:
Connection.isIdle()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.