Package org.apache.pulsar.proxy.server
Class ParserProxyHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.pulsar.proxy.server.ParserProxyHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class ParserProxyHandler extends io.netty.channel.ChannelInboundHandlerAdapter
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBACKEND_CONNprotected static java.lang.StringFRONTEND_CONN
-
Constructor Summary
Constructors Constructor Description ParserProxyHandler(ProxyService service, io.netty.channel.Channel channel, java.lang.String type, int maxMessageSize, io.netty.channel.ChannelId peerChannelId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg)-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
FRONTEND_CONN
protected static final java.lang.String FRONTEND_CONN
- See Also:
- Constant Field Values
-
BACKEND_CONN
protected static final java.lang.String BACKEND_CONN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParserProxyHandler
public ParserProxyHandler(ProxyService service, io.netty.channel.Channel channel, java.lang.String type, int maxMessageSize, io.netty.channel.ChannelId peerChannelId)
-
-