You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Mark Webb (JIRA)" <ji...@apache.org> on 2007/09/20 22:49:54 UTC

[jira] Created: (DIRMINA-444) IoAcceptor listening on multiple ports and using multiple IoHandlers

IoAcceptor listening on multiple ports and using multiple IoHandlers
--------------------------------------------------------------------

                 Key: DIRMINA-444
                 URL: https://issues.apache.org/jira/browse/DIRMINA-444
             Project: MINA
          Issue Type: New Feature
          Components: Core
    Affects Versions: 2.0.0-M1
         Environment: All
            Reporter: Mark Webb
             Fix For: 2.0.0-M1


I am interested in having one IoAcceptor listen on multiple ports.  This acceptor will have one Selector and based on the incoming connection/data, the proper handler will be triggered.  So for each port, you will have an associated handler but this will all go through a common Selector.  The goal here is to keep the number of threads at a minimum. I am building a system that may be listening on many different ports and each port will get different types of data.  The number of ports could be over 20. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRMINA-444) IoAcceptor listening on multiple ports and using multiple IoHandlers

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved DIRMINA-444.
---------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 2.0.0-M1)
         Assignee: Trustin Lee

DIRMINA-292 will take care of this issue.  IoAcceptor, a subclass of IoService, will keep its role as a logical unit of 'one' service, so having multiple handlers doesn't make a sense.  Additionally, binding on multiple ports has been address at DIRMINA-341.

> IoAcceptor listening on multiple ports and using multiple IoHandlers
> --------------------------------------------------------------------
>
>                 Key: DIRMINA-444
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-444
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>         Environment: All
>            Reporter: Mark Webb
>            Assignee: Trustin Lee
>
> I am interested in having one IoAcceptor listen on multiple ports.  This acceptor will have one Selector and based on the incoming connection/data, the proper handler will be triggered.  So for each port, you will have an associated handler but this will all go through a common Selector.  The goal here is to keep the number of threads at a minimum. I am building a system that may be listening on many different ports and each port will get different types of data.  The number of ports could be over 20. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Closed: (DIRMINA-444) IoAcceptor listening on multiple ports and using multiple IoHandlers

Posted by Emmanuel Lecharny <el...@apache.org>.
On Mon, Jun 8, 2009 at 11:55 AM, Bernd Fondermann<bf...@brainlounge.de> wrote:
> (climbing the peanut gallery)
>
> Maybe you'd like to consider to tick "don't sent notification email" for
> JIRA bulk changes, if you don't want to flood the mailing list after
> every release. From my point of view (not being a core MINA dev) a
> single email listing all closed issues would be more interesting.

That would be good, sure.  But in this very case, I closed the issues
one by one ! So it's not a bulk modification.

People who are opening an issue are supposed to close them when
resolved, which is obviously not the case, so I periodically endorse
the Janitor role and do the cleaning for old issues.

And yes, i'm sorry for the noise, but I don't see how to avoid it.


Side note : I have added filters so that each DIRMINA mails are
automatically redirected to a specific box. probably the way to handle
such mass mailing ...

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: [jira] Closed: (DIRMINA-444) IoAcceptor listening on multiple ports and using multiple IoHandlers

Posted by Bernd Fondermann <bf...@brainlounge.de>.
(climbing the peanut gallery)

Maybe you'd like to consider to tick "don't sent notification email" for
JIRA bulk changes, if you don't want to flood the mailing list after
every release. From my point of view (not being a core MINA dev) a
single email listing all closed issues would be more interesting.

 Bernd


Emmanuel Lecharny (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/DIRMINA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Emmanuel Lecharny closed DIRMINA-444.
> -------------------------------------
> 
> 
>> IoAcceptor listening on multiple ports and using multiple IoHandlers
>> --------------------------------------------------------------------
>>
>>                 Key: DIRMINA-444
>>                 URL: https://issues.apache.org/jira/browse/DIRMINA-444
>>             Project: MINA
>>          Issue Type: New Feature
>>          Components: Core
>>    Affects Versions: 2.0.0-M1
>>         Environment: All
>>            Reporter: Mark Webb
>>            Assignee: Trustin Lee
>>
>> I am interested in having one IoAcceptor listen on multiple ports.  This acceptor will have one Selector and based on the incoming connection/data, the proper handler will be triggered.  So for each port, you will have an associated handler but this will all go through a common Selector.  The goal here is to keep the number of threads at a minimum. I am building a system that may be listening on many different ports and each port will get different types of data.  The number of ports could be over 20. 
> 


[jira] Closed: (DIRMINA-444) IoAcceptor listening on multiple ports and using multiple IoHandlers

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-444.
-------------------------------------


> IoAcceptor listening on multiple ports and using multiple IoHandlers
> --------------------------------------------------------------------
>
>                 Key: DIRMINA-444
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-444
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>         Environment: All
>            Reporter: Mark Webb
>            Assignee: Trustin Lee
>
> I am interested in having one IoAcceptor listen on multiple ports.  This acceptor will have one Selector and based on the incoming connection/data, the proper handler will be triggered.  So for each port, you will have an associated handler but this will all go through a common Selector.  The goal here is to keep the number of threads at a minimum. I am building a system that may be listening on many different ports and each port will get different types of data.  The number of ports could be over 20. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.