Package org.aoju.bus.socket.handler
Interface ChannelSocketHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
NIO数据处理接口,通过实现此接口,可以从
SocketChannel中读写数据- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
-
Method Details
-
handle
处理NIO数据- Parameters:
socketChannel-SocketChannel- Throws:
Exception- 可能的处理异常
-