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

Julien Vermillard commented on DIRMINA-160:
-------------------------------------------

I started looking at your code, here some random comments :
you're right the API look like much better than the horrible State pattern ;) 
with the zillion of class you need to define.
The class proxy  for controlling method transition is a good idea, it make it 
quite transparent for the developper. I always hate to be forced to use 
reflexion and classloaders but I can't think about a smarter way. It's looking 
like a good help for implementing protocols, but is it really MINA specific ?

> 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