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