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
_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.