Class CombinedSimpleChannelHandler<UPSTREAM extends org.jboss.netty.channel.SimpleChannelUpstreamHandler,DOWNSTREAM extends org.jboss.netty.channel.SimpleChannelDownstreamHandler>
- java.lang.Object
-
- org.jboss.netty.channel.SimpleChannelHandler
-
- io.opentelemetry.javaagent.instrumentation.netty.v3_8.util.CombinedSimpleChannelHandler<UPSTREAM,DOWNSTREAM>
-
- All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler,org.jboss.netty.channel.ChannelHandler,org.jboss.netty.channel.ChannelUpstreamHandler
- Direct Known Subclasses:
HttpClientTracingHandler,HttpServerTracingHandler
public class CombinedSimpleChannelHandler<UPSTREAM extends org.jboss.netty.channel.SimpleChannelUpstreamHandler,DOWNSTREAM extends org.jboss.netty.channel.SimpleChannelDownstreamHandler> extends org.jboss.netty.channel.SimpleChannelHandler
-
-
Constructor Summary
Constructors Constructor Description CombinedSimpleChannelHandler(UPSTREAM upstream, DOWNSTREAM downstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelBound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchannelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidchildChannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e)voidchildChannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e)voidcloseRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidconnectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voiddisconnectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidexceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)voidhandleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)voidhandleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)voidmessageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)voidsetInterestOpsRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidunbindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidwriteComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e)voidwriteRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
-
-
-
Constructor Detail
-
CombinedSimpleChannelHandler
public CombinedSimpleChannelHandler(UPSTREAM upstream, DOWNSTREAM downstream)
-
-
Method Detail
-
handleUpstream
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws Exception- Specified by:
handleUpstreamin interfaceorg.jboss.netty.channel.ChannelUpstreamHandler- Overrides:
handleUpstreamin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception- Overrides:
messageReceivedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e) throws Exception- Overrides:
exceptionCaughtin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelOpen
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelOpenin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelBound
public void channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelBoundin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelConnected
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelConnectedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelInterestChanged
public void channelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelInterestChangedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelDisconnected
public void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelDisconnectedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelUnbound
public void channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelUnboundin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
channelClosed
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
channelClosedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
writeComplete
public void writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e) throws Exception- Overrides:
writeCompletein classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
childChannelOpen
public void childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e) throws Exception- Overrides:
childChannelOpenin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
childChannelClosed
public void childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e) throws Exception- Overrides:
childChannelClosedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
handleDownstream
public void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws Exception- Specified by:
handleDownstreamin interfaceorg.jboss.netty.channel.ChannelDownstreamHandler- Overrides:
handleDownstreamin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
writeRequested
public void writeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception- Overrides:
writeRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
bindRequested
public void bindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
bindRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
connectRequested
public void connectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
connectRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
setInterestOpsRequested
public void setInterestOpsRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
setInterestOpsRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
disconnectRequested
public void disconnectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
disconnectRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
unbindRequested
public void unbindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception- Overrides:
unbindRequestedin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
-