public abstract class AbstractConnection extends Object implements Connection
| Constructor and Description |
|---|
AbstractConnection(EndPoint endp) |
AbstractConnection(EndPoint endp,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
EndPoint |
getEndPoint() |
long |
getTimeStamp() |
void |
onIdleExpired(long idleForMs)
Called when the connection idle timeout expires
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandle, isIdle, isSuspended, onCloseprotected final EndPoint _endp
public AbstractConnection(EndPoint endp)
public AbstractConnection(EndPoint endp, long timestamp)
public long getTimeStamp()
getTimeStamp in interface Connectionpublic EndPoint getEndPoint()
public void onIdleExpired(long idleForMs)
ConnectiononIdleExpired in interface ConnectionidleForMs - how long the connection has been idleConnection.isIdle()Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.