Simple Protocol
Simple Protocol with package inspection Examples


Purpose of this Example

This example assumes that you have gone through the Hello World example and know how to use the GetString and ShowString objects.

The Model

For a description of the protocol, please refer to the description in CPN Tools' help pages.

The protocol has been extended with ability to inspect and modify packages in transit by the user.

simple_protocol_screenshot.gif

Declarations & Action Parts

The declarations and action parts are similar to the declarations and action parts of the Hello World example, and you should read through that example for an explanation.

Simulation

Download

Next Step

You should now take a look on drawing either the state-space for Dining Philosophers or Message Sequence Charts.

Version 10, Tue 13 Jun 2006 13:27:15 [tveon] - created Tue 20 Jul 2004 09:03:58 [mw]