public final class IdleStatePlugin<T> extends AbstractPlugin<T>
| 构造器和说明 |
|---|
IdleStatePlugin(int idleTimeout) |
IdleStatePlugin(int idleTimeout,
boolean readMonitor,
boolean writeMonitor) |
| 限定符和类型 | 方法和说明 |
|---|---|
AsynchronousSocketChannel |
shouldAccept(AsynchronousSocketChannel channel) |
afterRead, afterWrite, beforeRead, beforeWrite, preProcess, stateEventpublic IdleStatePlugin(int idleTimeout)
public IdleStatePlugin(int idleTimeout,
boolean readMonitor,
boolean writeMonitor)
public AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
shouldAccept 在接口中 NetMonitorshouldAccept 在类中 AbstractPlugin<T>Copyright © 2024. All rights reserved.