public class UdpNettyChannelFactory extends AbstractNettyChannelFactory
Channel factory| Constructor 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, setResolverpublic 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 AbstractNettyChannelFactorydata - a Object objectCompletableFuture objectCopyright © 2016–2024. All rights reserved.