public final class UdpChannel<Request> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close()
关闭当前连接
|
AioSession<Request> |
connect(SocketAddress remote)
建立与远程服务的连接会话,通过AioSession可进行数据传输
|
public AioSession<Request> connect(SocketAddress remote)
remote - 远程信息public void close()
Copyright © 2020. All rights reserved.