public interface Factory
| 限定符和类型 | 方法和说明 |
|---|---|
ClientChannelHandler |
getClientHandler(ItemType type)
获取ClientChannelHandler
|
io.netty.channel.ChannelInboundHandlerAdapter |
getDecoder(ItemType type)
获取解码器
|
io.netty.channel.ChannelOutboundHandlerAdapter |
getEncoder(ItemType type)
获取编码器
|
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> |
getInitializer(ItemType type)
获取ChannelInitializer
|
ServerChannelHandler |
getServerHandler(ItemType type)
获取ServerChannelHandler
|
ThreadPoolExecutor |
getThread(ItemType type)
获取线程池
|
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> getInitializer(ItemType type)
type - ServerChannelHandler getServerHandler(ItemType type)
type - ClientChannelHandler getClientHandler(ItemType type)
type - ThreadPoolExecutor getThread(ItemType type)
type - io.netty.channel.ChannelOutboundHandlerAdapter getEncoder(ItemType type)
type - io.netty.channel.ChannelInboundHandlerAdapter getDecoder(ItemType type)
type - Copyright © 2021 Pivotal Software, Inc.. All rights reserved.