[zeromq-dev] zproto and states

Brian Knox briank at talksum.com
Tue Apr 15 13:29:27 CEST 2014


Is there a state in zproto for "any valid zeromq message"?

My case is this:  I have back end daemon the processes some stats messages for a small project.  The messages are sent over zeromq using the node.js bindings, and consist of a single frame containing a JSON string.   I would like to play with using zproto to generate a new version of the back end daemon, but I'm not in a position of being able to change the zeromq messages I'm receiving.  I'd like the functional equivament of:

<state name = "start">
<event name = "ANY_ZEROMQ_MESSAGE" next = "start">
               <action name = "stuff" />
</event>
</state>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140415/016b3f36/attachment.htm>


More information about the zeromq-dev mailing list