| 构造器和说明 |
|---|
NettyFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
ClientChannelHandler |
getClientHandler(ItemType type)
获取ClientChannelHandler
|
io.netty.channel.ChannelInboundHandlerAdapter |
getDecoder(ItemType type)
获取解码器
|
io.netty.channel.ChannelOutboundHandlerAdapter |
getEncoder(ItemType type)
获取编码器
|
io.netty.channel.ChannelInitializer |
getInitializer(ItemType type)
获取ChannelInitializer
|
ServerChannelHandler |
getServerHandler(ItemType type)
获取ServerChannelHandler
|
ThreadPoolExecutor |
getThread(ItemType type)
获取线程池
|
public io.netty.channel.ChannelInitializer getInitializer(ItemType type)
FactorygetInitializer 在接口中 Factorypublic ServerChannelHandler getServerHandler(ItemType type)
FactorygetServerHandler 在接口中 Factorypublic ClientChannelHandler getClientHandler(ItemType type)
FactorygetClientHandler 在接口中 Factorypublic ThreadPoolExecutor getThread(ItemType type)
Factorypublic io.netty.channel.ChannelOutboundHandlerAdapter getEncoder(ItemType type)
FactorygetEncoder 在接口中 Factorypublic io.netty.channel.ChannelInboundHandlerAdapter getDecoder(ItemType type)
FactorygetDecoder 在接口中 FactoryCopyright © 2020 Pivotal Software, Inc.. All rights reserved.