public interface NettyChannelFactory extends Closeable
NettyChannelFactory interface.
Modifier and Type | Method and Description |
---|---|
CompletableFuture<io.netty.channel.Channel> |
create(Object data)
create.
|
CompletableFuture<io.netty.channel.Channel> |
create(Object data,
io.netty.channel.EventLoop eventLoop)
create.
|
io.netty.bootstrap.Bootstrap |
getBootstrap()
getBootstrap.
|
NettyChannelInitializer |
getChannelInitializer()
getChannelInitializer.
|
io.netty.channel.EventLoopGroup |
getExecutor()
getExecutor.
|
Options |
getOptions()
getOptions.
|
NettyPropertyResolver |
getResolver()
getResolver.
|
TransportType |
getTransportType()
getTransportType.
|
void |
setChannelInitializer(NettyChannelInitializer channelInitializer)
setChannelInitializer.
|
void |
setResolver(NettyPropertyResolver resolver)
setResolver.
|
CompletableFuture<io.netty.channel.Channel> create(Object data)
create.
data
- a Object
objectCompletableFuture
objectCompletableFuture<io.netty.channel.Channel> create(Object data, io.netty.channel.EventLoop eventLoop)
create.
data
- a Object
objecteventLoop
- a EventLoop
objectCompletableFuture
objectTransportType getTransportType()
getTransportType.
TransportType
objectNettyChannelInitializer getChannelInitializer()
getChannelInitializer.
NettyChannelInitializer
objectvoid setChannelInitializer(NettyChannelInitializer channelInitializer)
setChannelInitializer.
channelInitializer
- a NettyChannelInitializer
objectNettyPropertyResolver getResolver()
getResolver.
NettyPropertyResolver
objectvoid setResolver(NettyPropertyResolver resolver)
setResolver.
resolver
- a NettyPropertyResolver
objectio.netty.channel.EventLoopGroup getExecutor()
getExecutor.
EventLoopGroup
objectio.netty.bootstrap.Bootstrap getBootstrap()
getBootstrap.
Bootstrap
objectCopyright © 2016–2024. All rights reserved.