|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface AsyncEndPoint
| 方法摘要 | |
|---|---|
void |
asyncDispatch()
Dispatch the endpoint. |
void |
cancelTimeout(Timeout.Task task)
|
void |
dispatch()
Dispatch the endpoint if it is not already dispatched |
boolean |
hasProgressed()
|
boolean |
isCheckForIdle()
Get if the endpoint should be checked for idleness |
boolean |
isWritable()
|
void |
onIdleExpired(long idleForMs)
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 |
| 从接口 org.eclipse.jetty.io.ConnectedEndPoint 继承的方法 |
|---|
getConnection, setConnection |
| 从接口 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 |
| 方法详细信息 |
|---|
void dispatch()
void asyncDispatch()
void scheduleWrite()
void onIdleExpired(long idleForMs)
An endpoint is idle if there has been no IO activity for
EndPoint.getMaxIdleTime() and isCheckForIdle() is true.
idleForMs - TODOvoid setCheckForIdle(boolean check)
boolean isCheckForIdle()
boolean isWritable()
boolean hasProgressed()
hasProgressed()
void scheduleTimeout(Timeout.Task task,
long timeoutMs)
void cancelTimeout(Timeout.Task task)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||