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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler

    org.jboss.netty.channel.ChannelHandler.Sharable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e)
     
    void
    childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChildChannelStateEvent e)
     
    void
    closeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    connectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    disconnectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
     
    void
    handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
     
    void
    handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
     
    void
    messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
     
    void
    setInterestOpsRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    unbindRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
     
    void
    writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e)
     
    void
    writeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CombinedSimpleChannelHandler

      public CombinedSimpleChannelHandler(UPSTREAM upstream, DOWNSTREAM downstream)
  • Method Details

    • handleUpstream

      public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws Exception
      Specified by:
      handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
      Overrides:
      handleUpstream in class org.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:
      messageReceived in class org.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:
      exceptionCaught in class org.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:
      channelOpen in class org.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:
      channelBound in class org.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:
      channelConnected in class org.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:
      channelInterestChanged in class org.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:
      channelDisconnected in class org.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:
      channelUnbound in class org.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:
      channelClosed in class org.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:
      writeComplete in class org.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:
      childChannelOpen in class org.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:
      childChannelClosed in class org.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:
      handleDownstream in interface org.jboss.netty.channel.ChannelDownstreamHandler
      Overrides:
      handleDownstream in class org.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:
      writeRequested in class org.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:
      bindRequested in class org.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:
      connectRequested in class org.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:
      setInterestOpsRequested in class org.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:
      disconnectRequested in class org.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:
      unbindRequested in class org.jboss.netty.channel.SimpleChannelHandler
      Throws:
      Exception
    • closeRequested

      public void closeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception
      Overrides:
      closeRequested in class org.jboss.netty.channel.SimpleChannelHandler
      Throws:
      Exception