public class ParserProxyHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
BACKEND_CONN |
protected static String |
FRONTEND_CONN |
| 构造器和说明 |
|---|
ParserProxyHandler(ProxyService service,
io.netty.channel.Channel channel,
String type,
int maxMessageSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic ParserProxyHandler(ProxyService service, io.netty.channel.Channel channel, String type, int maxMessageSize)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead 在接口中 io.netty.channel.ChannelInboundHandlerchannelRead 在类中 io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2017–2021 Apache Software Foundation. All rights reserved.