@FunctionalInterface public interface ChannelHandler
SocketChannel
中读写数据Modifier and Type | Method and Description |
---|---|
void |
handle(SocketChannel socketChannel)
处理NIO数据
|
void handle(SocketChannel socketChannel) throws Exception
socketChannel
- SocketChannel
Exception
- 可能的处理异常Copyright © 2024. All rights reserved.