Package | Description |
---|---|
cn.hutool.socket.nio |
NIO相关封装
|
Modifier and Type | Method and Description |
---|---|
NioServer |
NioServer.init(InetSocketAddress address)
初始化
|
NioServer |
NioServer.setChannelHandler(ChannelHandler handler)
设置NIO数据处理器
|
Modifier and Type | Method and Description |
---|---|
void |
AcceptHandler.completed(ServerSocketChannel serverSocketChannel,
NioServer nioServer) |
void |
AcceptHandler.failed(Throwable exc,
NioServer nioServer) |
Copyright © 2024. All rights reserved.