Yes, thank You, Tchoum, my approach is completely described in GoF State.<br><br><br>
<a href="http://www.google.com/url?sa=t&source=web&cd=2&ved=0CCAQFjAB&url=http%3A%2F%2Fwww.cse.wustl.edu%2F~cdgill%2Fcourses%2Fcse432_sp06%2Fstate.ppt&ei=k7c-TLmcE4KcOMCMqNoH&usg=AFQjCNGs_n7OgpLtuXsWgZWKnjVd9n1swA&sig2=QocrYgCr_rzhGMQy8BN3kw">http://www.google.com/url?sa=t&source=web&cd=2&ved=0CCAQFjAB&url=http%3A%2F%2Fwww.cse.wustl.edu%2F~cdgill%2Fcourses%2Fcse432_sp06%2Fstate.ppt&ei=k7c-TLmcE4KcOMCMqNoH&usg=AFQjCNGs_n7OgpLtuXsWgZWKnjVd9n1swA&sig2=QocrYgCr_rzhGMQy8BN3kw</a><br>
<br><br>I am ashamed, that I used that approach without even knowing the pattern itself.)))<br><br><font color="#888888">-- <br>Best Regafds,<br>Dmitry J. Voronov</font><div><div><br></div></div><br><br><br><br><div class="gmail_quote">
On Thu, Jul 15, 2010 at 7:04 AM, Tchoum <span dir="ltr"><<a href="mailto:happytchoum@hotmail.com">happytchoum@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi,<br>
<br>
For these kinds of things, I use the State Pattern by the GoF. It has been<br>
quite successful in the past for me.<br>
<br>
Enjoy !<br>
<br>
PL<br>
<font color="#888888">--<br>
View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/State-machine-driven-by-messages-tp5285744p5295745.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/State-machine-driven-by-messages-tp5285744p5295745.html</a><br>
</font><div><div></div><div class="h5">Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div></div></blockquote></div><br>