Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1668

Add ability to provide custom ChannelUpstreamHandler to NettyServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.7.7, 1.8.0
    • None
    • java
    • Patch

    Description

      The NettyServer constructor adds a new instance of NettyServerAvroHandler to the ChannelPipeline. For those who'd like to provide their own handler (by extending NettyServerAvroHandler or ChannelUpstreamHandler) a protected "createNettyServerAvroHandler" method can instead be called. This will allow sub classes of NettyServer to provide their own handler.

      This follows the same pattern found in NettyTransceiver, where the protected "createNettyClientAvroHandler" method is called when creating the ChannelPipeline.

      Attachments

        1. AVRO-1668.patch
          1 kB
          Rigo MacTaggart
        2. AVRO-1668v2.patch
          2 kB
          Rigo MacTaggart

        Activity

          People

            Unassigned Unassigned
            rigo Rigo MacTaggart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: