Package org.aoju.bus.socket.handler
Class CompletionWriteHandler<T>
java.lang.Object
org.aoju.bus.socket.handler.CompletionWriteHandler<T>
- All Implemented Interfaces:
CompletionHandler<Integer,TcpAioSession<T>>
public class CompletionWriteHandler<T>
extends Object
implements CompletionHandler<Integer,TcpAioSession<T>>
读写事件回调处理类
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(Integer result, TcpAioSession<T> aioSession) voidfailed(Throwable exc, TcpAioSession<T> aioSession)
-
Constructor Details
-
CompletionWriteHandler
public CompletionWriteHandler()
-
-
Method Details
-
completed
- Specified by:
completedin interfaceCompletionHandler<Integer,TcpAioSession<T>>
-
failed
- Specified by:
failedin interfaceCompletionHandler<Integer,TcpAioSession<T>>
-