| 程序包 | 说明 |
|---|---|
| net.hasor.neta.channel | |
| net.hasor.neta.handler |
| 限定符和类型 | 方法和说明 |
|---|---|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
CobbleSocket.connect(InetSocketAddress remoteAddr,
PipelineFactory pipeline)
using TCP/IP connect to remote, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
CobbleSocket.connect(int localPort,
PipelineFactory pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
CobbleSocket.connect(String remoteAddr,
int localPort,
PipelineFactory pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
NetListen |
CobbleSocket.listen(InetSocketAddress listen,
PipelineFactory pipeline,
NetListenOptions options)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
CobbleSocket.listen(int listenPort,
PipelineFactory pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
CobbleSocket.listen(String listenAddr,
int listenPort,
PipelineFactory pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
| 限定符和类型 | 方法和说明 |
|---|---|
default PipelineFactory |
PipeBuilder.PipelineBuilder.build()
build
Pipeline |
PipelineFactory |
PipeBuilder.PipelineBuilder.build(PipeConfig rootConfig)
build
Pipeline |
static PipelineFactory |
PipeInitializer.builder(PipeListener<ByteBuf> listener) |
static PipelineFactory |
PipeInitializer.empty() |
| 构造器和说明 |
|---|
EmbeddedChannel(boolean asServer,
PipelineFactory stackFactory,
EmbeddedSoContext context) |
Copyright © 2022–2024. All rights reserved.