You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Trustin Lee <tr...@gmail.com> on 2007/09/29 21:37:02 UTC

Renaming WrappingFilter

Hi,

WrappingFilter is an abstract IoFilter that helps users to build an
IoFilter that filters all events in one method.  It is useful when you
need to build a filter that performs common action for a certain set
of events.  Good example of the usage is MdcInjectionFilter currently.
 LoggingFilter also could be a good example once converted.

However, I think its name, WrappingFilter, doesn't express what it
does correctly.  What would be the best name for this abstract filter?
 The following is what I thought so far:

* GenericIoFilter

Hmm.. that's all so far.  Any idea? :D

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Re: Renaming WrappingFilter

Posted by Trustin Lee <tr...@gmail.com>.
What about MuxingIoFilter?  :)

http://en.wikipedia.org/wiki/Multiplexing

Cheers,
Trustin

On 10/24/07, Eero Nevalainen <ee...@indagon.com> wrote:
> SingletonActionIoFilter?
>
> -Eero Nevalainen
>
> Jeroen Brattinga wrote:
> > How about CommonIoEventFilter?
> >
> >
> > Jeroen Brattinga
> >
> > On Tue, 2007-10-23 at 22:14 +0200, Maarten Bosteels wrote:
> >> What about SameActionForEveryIoEventTypeFilter ?
> >>
> >> Ok, a bit long and it doesn't sound very cool but it more or less expresses
> >> what it does.
> >>
> >> On 9/29/07, Trustin Lee <tr...@gmail.com> wrote:
> >>> Hi,
> >>>
> >>> WrappingFilter is an abstract IoFilter that helps users to build an
> >>> IoFilter that filters all events in one method.  It is useful when you
> >>> need to build a filter that performs common action for a certain set
> >>> of events.  Good example of the usage is MdcInjectionFilter currently.
> >>> LoggingFilter also could be a good example once converted.
> >>>
> >>> However, I think its name, WrappingFilter, doesn't express what it
> >>> does correctly.  What would be the best name for this abstract filter?
> >>> The following is what I thought so far:
> >>>
> >>> * GenericIoFilter
> >>
> >> yes, why not, at least it's better than WrappingFilter
> >>
> >> Maarten
> >>
> >> Hmm.. that's all so far.  Any idea? :D
> >>> Trustin
> >>> --
> >>> what we call human nature is actually human habit
> >>> --
> >>> http://gleamynode.net/
> >>> --
> >>> PGP Key ID: 0x0255ECA6
> >>>
> >
>
>


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Re: Renaming WrappingFilter

Posted by Eero Nevalainen <ee...@indagon.com>.
SingletonActionIoFilter?

-Eero Nevalainen

Jeroen Brattinga wrote:
> How about CommonIoEventFilter?
> 
> 
> Jeroen Brattinga
> 
> On Tue, 2007-10-23 at 22:14 +0200, Maarten Bosteels wrote:
>> What about SameActionForEveryIoEventTypeFilter ?
>>
>> Ok, a bit long and it doesn't sound very cool but it more or less expresses
>> what it does.
>>
>> On 9/29/07, Trustin Lee <tr...@gmail.com> wrote:
>>> Hi,
>>>
>>> WrappingFilter is an abstract IoFilter that helps users to build an
>>> IoFilter that filters all events in one method.  It is useful when you
>>> need to build a filter that performs common action for a certain set
>>> of events.  Good example of the usage is MdcInjectionFilter currently.
>>> LoggingFilter also could be a good example once converted.
>>>
>>> However, I think its name, WrappingFilter, doesn't express what it
>>> does correctly.  What would be the best name for this abstract filter?
>>> The following is what I thought so far:
>>>
>>> * GenericIoFilter
>>
>> yes, why not, at least it's better than WrappingFilter
>>
>> Maarten
>>
>> Hmm.. that's all so far.  Any idea? :D
>>> Trustin
>>> --
>>> what we call human nature is actually human habit
>>> --
>>> http://gleamynode.net/
>>> --
>>> PGP Key ID: 0x0255ECA6
>>>
> 


Re: Renaming WrappingFilter

Posted by Jeroen Brattinga <je...@gmail.com>.
How about CommonIoEventFilter?


Jeroen Brattinga

On Tue, 2007-10-23 at 22:14 +0200, Maarten Bosteels wrote:
> What about SameActionForEveryIoEventTypeFilter ?
> 
> Ok, a bit long and it doesn't sound very cool but it more or less expresses
> what it does.
> 
> On 9/29/07, Trustin Lee <tr...@gmail.com> wrote:
> >
> > Hi,
> >
> > WrappingFilter is an abstract IoFilter that helps users to build an
> > IoFilter that filters all events in one method.  It is useful when you
> > need to build a filter that performs common action for a certain set
> > of events.  Good example of the usage is MdcInjectionFilter currently.
> > LoggingFilter also could be a good example once converted.
> >
> > However, I think its name, WrappingFilter, doesn't express what it
> > does correctly.  What would be the best name for this abstract filter?
> > The following is what I thought so far:
> >
> > * GenericIoFilter
> 
> 
> yes, why not, at least it's better than WrappingFilter
> 
> Maarten
> 
> Hmm.. that's all so far.  Any idea? :D
> >
> > Trustin
> > --
> > what we call human nature is actually human habit
> > --
> > http://gleamynode.net/
> > --
> > PGP Key ID: 0x0255ECA6
> >


Re: Renaming WrappingFilter

Posted by Maarten Bosteels <mb...@gmail.com>.
What about SameActionForEveryIoEventTypeFilter ?

Ok, a bit long and it doesn't sound very cool but it more or less expresses
what it does.

On 9/29/07, Trustin Lee <tr...@gmail.com> wrote:
>
> Hi,
>
> WrappingFilter is an abstract IoFilter that helps users to build an
> IoFilter that filters all events in one method.  It is useful when you
> need to build a filter that performs common action for a certain set
> of events.  Good example of the usage is MdcInjectionFilter currently.
> LoggingFilter also could be a good example once converted.
>
> However, I think its name, WrappingFilter, doesn't express what it
> does correctly.  What would be the best name for this abstract filter?
> The following is what I thought so far:
>
> * GenericIoFilter


yes, why not, at least it's better than WrappingFilter

Maarten

Hmm.. that's all so far.  Any idea? :D
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>