public class TcpNettyChannelFactory extends AbstractNettyChannelFactory
Channel factory| Constructor and Description |
|---|
TcpNettyChannelFactory(Options options)
Constructor for TcpNettyChannelFactory.
|
TcpNettyChannelFactory(Options options,
NettyPropertyResolver resolver)
Constructor for TcpNettyChannelFactory.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureBootstrap(io.netty.bootstrap.Bootstrap bootstrap)
configureBootstrap.
|
protected CompletableFuture<io.netty.channel.Channel> |
newChannel(Object data)
newChannel.
|
close, create, create, createRecvByteBufAllocator, getBootstrap, getChannelInitializer, getExecutor, getOptions, getResolver, getTransportType, initializeEventLoopGroup, setChannelInitializer, setResolverpublic TcpNettyChannelFactory(Options options)
Constructor for TcpNettyChannelFactory.
options - a Options objectpublic TcpNettyChannelFactory(Options options, NettyPropertyResolver resolver)
Constructor for TcpNettyChannelFactory.
options - a Options objectresolver - a NettyPropertyResolver objectprotected CompletableFuture<io.netty.channel.Channel> newChannel(Object data)
newChannel.
newChannel in class AbstractNettyChannelFactorydata - a Object objectCompletableFuture objectprotected void configureBootstrap(io.netty.bootstrap.Bootstrap bootstrap)
configureBootstrap.
configureBootstrap in class AbstractNettyChannelFactorybootstrap - a Bootstrap objectCopyright © 2016–2024. All rights reserved.