| 程序包 | 说明 |
|---|---|
| net.hasor.neta.channel |
| 限定符和类型 | 方法和说明 |
|---|---|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(InetSocketAddress remoteAddr,
PipeInitializer initializer)
using TCP/IP connect to remote, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(int localPort,
PipeInitializer pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(String remoteAddr,
int localPort,
PipeInitializer pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
NetListen |
NetaSocket.listen(InetSocketAddress listen,
PipeInitializer pipeline,
NetListenOptions options)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
NetaSocket.listen(int listenPort,
PipeInitializer pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
NetaSocket.listen(String listenAddr,
int listenPort,
PipeInitializer pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
Copyright © 2022–2024. All rights reserved.