public class TcpNettyChannelFactory extends AbstractNettyChannelFactory
Channel
factoryConstructor 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, setResolver
public 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 AbstractNettyChannelFactory
data
- a Object
objectCompletableFuture
objectprotected void configureBootstrap(io.netty.bootstrap.Bootstrap bootstrap)
configureBootstrap.
configureBootstrap
in class AbstractNettyChannelFactory
bootstrap
- a Bootstrap
objectCopyright © 2016–2024. All rights reserved.