[ 
http://issues.apache.org/jira/browse/DIRMINA-160?page=comments#action_12415287 
] 

Niklas Therning commented on DIRMINA-160:
-----------------------------------------

Thanks for your comments. You are right, it isn't MINA specific. You could in 
fact use it for any interface. And we could add support for CGLIB proxies and 
you could create proxies for classes as well. If this proves useful to people 
it could probably be hosted somewhere else like in commons.

One drawback with this approach is how the FSM is setup. One idea I have is to 
use Spring to set it up. Using the new Spring 2 custom XML configuration 
feature I think the FSM could be expressed in a much more readable way.

> Add support for defining higher level state machines on top of MINA
> -------------------------------------------------------------------
>
>          Key: DIRMINA-160
>          URL: http://issues.apache.org/jira/browse/DIRMINA-160
>      Project: Directory MINA
>         Type: New Feature

>     Reporter: Niklas Therning
>     Priority: Minor

>
> We'll have to provide some kind of FSM support. This should give users a set 
> of best practices for building complex protocols on top of MINA.
> Trustin had the suggestion that we could implement it very simply by 
> implementing IoHandler which demultiplexes events to an appropriate IoHandler 
> implementation according to a certain session attribute value.
> I guess we could provide some means for defining the states and transitions 
> too.

-- 
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

Reply via email to