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

Emmanuel Lecharny closed DIRMINA-194.
-------------------------------------


> Extract Reactor from Acceptor and Connector like ACE in C++.
> ------------------------------------------------------------
>
>                 Key: DIRMINA-194
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-194
>             Project: MINA
>          Issue Type: Improvement
>            Reporter: Xu Liang
>            Assignee: Trustin Lee
>            Priority: Trivial
>             Fix For: 2.0.0-M1
>
>
>    I'm a programmer in C++ and JAVA. In C++ I have used ACE (The ADAPTIVE 
> Communication Environment, http://www.cs.wustl.edu/~schmidt/ACE.html) as my 
> network framework for five years. I like ACE. I had tried to implement my NIO 
> network framework like ACE in JAVA. But after I found MINA, I decided to 
> adopt it because it has the beautiful filter mechanism. But the Reactor of 
> ACE, which was discussed in "Pattern-Oriented Software Architecture: Patterns 
> for Concurrent and Networked Objects", is better than the worker of MINA. The 
> Reactor can encapsulate the thread and Selector. The Acceptor and Connector 
> accept a Reactor as parameter. In this way the user can reuse the thread in 
> Acceptor, Connector and Processor. The IoHandler can work in single thread. 
> In addition the Reactor works as a timer like the idle timer in MINA. The 
> IoHandler can schedule some timer tasks and process timer events in same 
> thread as network events and user can enjoy the simple and effective source 
> code in single thread.

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

Reply via email to