On Mon, Jul 29, 2013 at 3:15 PM, Julien Vermillard <jvermill...@gmail.com>wrote:

> On Sun, Jul 28, 2013 at 4:20 PM, Ashish <paliwalash...@gmail.com> wrote:
> > On Sun, Jul 28, 2013 at 5:18 PM, Julien Vermillard <
> jvermill...@gmail.com>wrote:
> >
> >> Hi,
> >> Just  make a filter handling read,but bypass for write
> >> and a filter handling write but bypass for read.
> >>
> >> If you extends AbstractIoFilter you just need to implement the needed
> >> event for each filter.
> >>
> >>
> > Got it.. Did we dropped the idea of having different filter chains for
> > read/write?
> >
>
> Yes, for the sake of simplicity: most of time if you transform in one
> way, you need to do
> it in the other way.
>

I might have missed the discussion for this. I am getting older :)
What about the order in which it would be executed? Is it same as added in
chain like in MINA 2.0 or the other way round.

We also need an example with Codecs. Would you have bandwidth to create one?



>
> By the way, after implementing a lot of protocols using mina, I learnt
> something about IoFilter:
> too much logic in IoFilters is a design smell. Each time I try to do
> that it's ending in a big  refactoring for putting this logic in the
> IoHandler :)
>

Avro codec is light, just want to understand the flow correctly to get a
working example.


>
> Julien
>

Reply via email to