You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Xu Liang (JIRA)" <ji...@apache.org> on 2006/03/27 15:17:42 UTC

[jira] Commented: (ADDR-17) Extract Reactor from Acceptor and Connector like ACE in C++.

    [ http://issues.apache.org/jira/browse/ADDR-17?page=comments#action_12371967 ] 

Xu Liang commented on ADDR-17:
------------------------------

Sorry, I have reported at wrong project. It is a MINA issue.

> Extract Reactor from Acceptor and Connector like ACE in C++.
> ------------------------------------------------------------
>
>          Key: ADDR-17
>          URL: http://issues.apache.org/jira/browse/ADDR-17
>      Project: Addressing
>         Type: Wish
>  Environment: any
>     Reporter: Xu Liang
>     Priority: Trivial

>
>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org