|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncEndPoint
Method Summary | |
---|---|
void |
asyncDispatch()
Dispatch the endpoint to a thread to attend to it. |
void |
cancelTimeout(Timeout.Task task)
|
boolean |
hasProgressed()
|
boolean |
isCheckForIdle()
Get if the endpoint should be checked for idleness |
boolean |
isWritable()
|
void |
onIdleExpired()
Callback when idle. |
void |
scheduleTimeout(Timeout.Task task,
long timeoutMs)
|
void |
scheduleWrite()
Schedule a write dispatch. |
void |
setCheckForIdle(boolean check)
Set if the endpoint should be checked for idleness |
Methods inherited from interface org.eclipse.jetty.io.ConnectedEndPoint |
---|
getConnection, setConnection |
Methods inherited from interface org.eclipse.jetty.io.EndPoint |
---|
blockReadable, blockWritable, close, fill, flush, flush, flush, getLocalAddr, getLocalHost, getLocalPort, getMaxIdleTime, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isInputShutdown, isOpen, isOutputShutdown, setMaxIdleTime, shutdownInput, shutdownOutput |
Method Detail |
---|
void asyncDispatch()
void scheduleWrite()
void onIdleExpired()
An endpoint is idle if there has been no IO activity for
EndPoint.getMaxIdleTime()
and isCheckForIdle()
is true.
void setCheckForIdle(boolean check)
boolean isCheckForIdle()
boolean isWritable()
boolean hasProgressed()
hasProgressed()
void scheduleTimeout(Timeout.Task task, long timeoutMs)
void cancelTimeout(Timeout.Task task)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |