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