State machine driven by messages
Daniel Ferber
dffforum at gmail.com
Mon Jul 12 22:47:27 EDT 2010
Hi,
I am thinking about a service that consists of a client-server conversation.
I found netty the ideal solution to convert the socket stream to
conversation message objects and back.
Now I am wondering if there is another complementary framework that would
help me managing the sate of each conversation (the is one conversation for
each connection received by netty).
I imagine a set o active conversations. A set of worker threads would watch
the set of conversations. If there is a conversation with a pending message
from the client, then a worker thread would take on the conversation and
send a message back to the client. Conversation that remain idle for too
long get killed.
I would appreciate much any advices about the existence of such
complementary framework, or if I shall implement this from scratch.
Daniel Felix Ferber
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/State-machine-driven-by-messages-tp5285744p5285744.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list