public class UdpNettyChannelFactory extends AbstractNettyChannelFactory
Channel
factoryConstructor and Description |
---|
UdpNettyChannelFactory(Options options,
boolean connectionless)
Constructor for UdpNettyChannelFactory.
|
UdpNettyChannelFactory(Options options,
NettyPropertyResolver resolver,
boolean connectionless)
Constructor for UdpNettyChannelFactory.
|
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<io.netty.channel.Channel> |
newChannel(Object data)
newChannel.
|
close, configureBootstrap, create, create, createRecvByteBufAllocator, getBootstrap, getChannelInitializer, getExecutor, getOptions, getResolver, getTransportType, initializeEventLoopGroup, setChannelInitializer, setResolver
public UdpNettyChannelFactory(Options options, boolean connectionless)
Constructor for UdpNettyChannelFactory.
options
- a Options
objectconnectionless
- a booleanpublic UdpNettyChannelFactory(Options options, NettyPropertyResolver resolver, boolean connectionless)
Constructor for UdpNettyChannelFactory.
options
- a Options
objectresolver
- a NettyPropertyResolver
objectconnectionless
- a booleanprotected CompletableFuture<io.netty.channel.Channel> newChannel(Object data)
newChannel.
newChannel
in class AbstractNettyChannelFactory
data
- a Object
objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.