[ 
https://issues.apache.org/jira/browse/AVRO-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rigo MacTaggart updated AVRO-1668:
----------------------------------
    Attachment: AVRO-1668.patch

patch for AVRO-1668.

> Add ability to provide custom ChannelUpstreamHandler to NettyServer
> -------------------------------------------------------------------
>
>                 Key: AVRO-1668
>                 URL: https://issues.apache.org/jira/browse/AVRO-1668
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Rigo MacTaggart
>              Labels: ipc, java, netty
>         Attachments: AVRO-1668.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to