< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] how to convert MsgHeaderScannerFSM to digraph?


Ok, it looks like that FSM graph is missing some information; there are ways to transition from those single value states to the multi-value states. I am not convinced that these separate multi-value states are necessary. What good is it if the pre-parser rejects

To: sip:bob@foo, sip:joe@foo

When it cannot reject

To: sip:bob@foo
To: sip:joe@foo

If you have code that deals with the latter (and we do, it lives in SipMessage), why should we deal with the former in the MsgHeaderScanner?

Best regards,
Byron Campen

Hi Adam,

 How is State 7:ScanWhitespaceAfterNFieldName reached?
Under what condition are NValue and NFieldName  used?

The graph is attached.

Thanks


Frank

On Thu, Apr 23, 2009 at 11:22 AM, fuliang yuan <fuliangyuan@xxxxxxxxx> wrote:
Hi Adam,

It works fine with GVedit.

Thanks a lot!

Frank


On Thu, Apr 23, 2009 at 10:32 AM, Adam Roach <adam@xxxxxxxxxxx> wrote:
fuliang yuan wrote:
Hi,

I dumped MsgHeaderScanner FSM, but have no idea what tool should be used to convert it to diagraph.
Any help is appreciated.
 

You use the "dot" tool, which is part of the "graphviz" software suite. Your OS distribution probably has a package for it (using, for example, apt-get, yum, ports, or the Cygwin installer) -- or you can download it here:

http://www.graphviz.org/

/a



<FSM>_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

Attachment: smime.p7s
Description: S/MIME cryptographic signature