public class ConnectHandler.ProxyToServerConnection extends Object implements AsyncConnection
| Constructor and Description |
|---|
ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
Buffer data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeClient() |
void |
closeServer() |
long |
getTimeStamp() |
Connection |
handle() |
boolean |
isIdle() |
boolean |
isSuspended() |
void |
onClose() |
void |
onIdleExpired(long idleForMs) |
void |
onInputShutdown() |
void |
ready() |
void |
setConnection(ConnectHandler.ClientToProxyConnection connection) |
void |
setEndPoint(AsyncEndPoint endpoint) |
void |
setTimeStamp(long timestamp) |
void |
shutdownOutput() |
String |
toString() |
void |
waitReady(long timeout) |
public ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context, Buffer data)
public Connection handle() throws IOException
handle in interface ConnectionIOExceptionpublic void onInputShutdown()
throws IOException
onInputShutdown in interface AsyncConnectionIOExceptionpublic void setConnection(ConnectHandler.ClientToProxyConnection connection)
public long getTimeStamp()
getTimeStamp in interface Connectionpublic void setTimeStamp(long timestamp)
public void setEndPoint(AsyncEndPoint endpoint)
public boolean isIdle()
isIdle in interface Connectionpublic boolean isSuspended()
isSuspended in interface Connectionpublic void onClose()
onClose in interface Connectionpublic void ready()
public void waitReady(long timeout)
throws IOException
IOExceptionpublic void closeClient()
throws IOException
IOExceptionpublic void closeServer()
throws IOException
IOExceptionpublic void close()
public void shutdownOutput()
throws IOException
IOExceptionpublic void onIdleExpired(long idleForMs)
onIdleExpired in interface ConnectionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.