| Package | Description |
|---|---|
| org.aoju.bus.socket.origin.nio |
| Modifier and Type | Method and Description |
|---|---|
NioClient |
NioClient.init(InetSocketAddress address)
初始化
|
NioClient |
NioClient.read(ByteBuffer buffer)
处理读事件
当收到读取准备就绪的信号后,回调此方法,用户可读取从客户端传世来的消息
|
NioClient |
NioClient.write(ByteBuffer... datas)
实现写逻辑
当收到写出准备就绪的信号后,回调此方法,用户可向客户端发送消息
|
Copyright © 2019. All rights reserved.