Cookies

Below is a browsable image of the model.

  • For an executable version,
  • To view or save the MoML file for this model, click here.
Cookiesmodel <h2>DE Director</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>startTime</td><td>&nbsp;</td><td>null</td></tr><tr><td>stopTime</td><td>&nbsp;</td><td>null</td></tr><tr><td>stopWhenQueueIsEmpty</td><td>false</td><td>false</td></tr><tr><td>synchronizeToRealTime</td><td>false</td><td>false</td></tr><tr><td>enforceMicrostepSemantics</td><td>false</td><td>false</td></tr></table> <h2>Init</h2>Has no parameters. <h2>MicrostepDelay5</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>_flipPortsHorizontal</td><td>true</td><td>true</td></tr></table> <h2>MicrostepDelay4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>_flipPortsHorizontal</td><td>true</td><td>true</td></tr></table> <h2>MicrostepDelay3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>_flipPortsHorizontal</td><td>true</td><td>true</td></tr></table> <h2>MicrostepDelay2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>_flipPortsHorizontal</td><td>true</td><td>true</td></tr></table> <h2>MicrostepDelay</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>_flipPortsHorizontal</td><td>true</td><td>true</td></tr></table> <h2>Expression4</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>expression</td><td>(cookies.name == &quot;&quot;) ?\\n  &quot;Welcome to the cookies demo!&quot;\\n: &quot;Welcome back, &quot; + cookies.name + &quot;!&quot;</td><td>(cookies.name == &quot;&quot;) ?\\n  &quot;Welcome to the cookies demo!&quot;\\n: &quot;Welcome back, &quot; + cookies.name + &quot;!&quot;</td></tr></table> <h2>Expression3</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>expression</td><td>&quot;Name &quot; + post.name + &quot; successfully saved as a cookie&quot;</td><td>&quot;Name &quot; + post.name + &quot; successfully saved as a cookie&quot;</td></tr></table> <h2>Const7</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>{name=&quot;&quot;}\\n</td><td>{name = &quot;&quot;}</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>Const6</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>value</td><td>&quot;Cookie named \\&quot;name\\&quot; successfully deleted&quot;\\n</td><td>&quot;Cookie named \\&quot;name\\&quot; successfully deleted&quot;</td></tr><tr><td>firingCountLimit</td><td>NONE</td><td>0</td></tr></table> <h2>HttpActor2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>path</td><td>/cookies/delete</td><td>/cookies/delete</td></tr><tr><td>timeout</td><td>30000L</td><td>30000L</td></tr><tr><td>requestedCookies</td><td>{&quot;name&quot;}</td><td>{&quot;name&quot;}</td></tr></table> <h2>HTMLPageAssembler2</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>template</td><td>$CLASSPATH/org/ptolemy/ptango/demo/Cookies/pages/template.html</td><td>xxxxxxCLASSPATHxxxxxx/org/ptolemy/ptango/demo/Cookies/pages/template.html</td></tr><tr><td>htmlTitle</td><td>Cookies Demo</td><td>Cookies Demo</td></tr><tr><td>saveToFile</td><td>false</td><td>false</td></tr><tr><td>outputFile</td><td>result.html</td><td>result.html</td></tr></table> <h2>HTMLPageAssembler</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>template</td><td>$CLASSPATH/org/ptolemy/ptango/demo/Cookies/pages/template.html</td><td>xxxxxxCLASSPATHxxxxxx/org/ptolemy/ptango/demo/Cookies/pages/template.html</td></tr><tr><td>htmlTitle</td><td>Cookies Demo</td><td>Cookies Demo</td></tr><tr><td>saveToFile</td><td>false</td><td>false</td></tr><tr><td>outputFile</td><td>result.html</td><td>result.html</td></tr></table> <h2>HttpActor</h2><table border="1"><tr><td><b>Parameter</b></td><td><b>Expression</b></td><td><b>Value</b></td></tr><tr><td>path</td><td>/cookies/*</td><td>/cookies/*</td></tr><tr><td>timeout</td><td>30000L</td><td>30000L</td></tr><tr><td>requestedCookies</td><td>{&quot;name&quot;}</td><td>{&quot;name&quot;}</td></tr></table>