public class ConcurrentReadHandler<T> extends CompletionReadHandler<T>
| Constructor and Description |
|---|
ConcurrentReadHandler(Semaphore semaphore,
ThreadPoolExecutor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(Integer result,
TcpAioSession aioSession)
处理消息读回调事件
|
failedpublic ConcurrentReadHandler(Semaphore semaphore, ThreadPoolExecutor threadPoolExecutor)
public void completed(Integer result, TcpAioSession aioSession)
CompletionReadHandlercompleted in interface CompletionHandler<Integer,TcpAioSession<T>>completed in class CompletionReadHandler<T>result - 已读消息字节数aioSession - 当前触发读回调的会话Copyright © 2021. All rights reserved.