@Module public class AsyncController extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AsyncController()
Creates a new TcpConnectionController.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
complete() |
long |
getMaxIdleTime() |
boolean |
isAsyncStarted() |
boolean |
isCometComplete() |
void |
onClose()
Called when the connection closes.
|
void |
setMaxIdleTime(long idleTimeout) |
boolean |
timeout() |
boolean |
wake() |
protected AsyncController()
public void setMaxIdleTime(long idleTimeout)
public long getMaxIdleTime()
public boolean wake()
public boolean isCometComplete()
public boolean isAsyncStarted()
public boolean timeout()
public void complete()
public void close()
public void onClose()