Cobra Architecture Project How-to Cobra team members and email addresses: Ahamed Jemal ahamed.jemal@nokia.com Nan Jiang njiang@hotmail.com Hong Li hongli@utdallas.edu Weiye Li leewill@utdallas.edu Chen Ling cling@utdallas.edu Yinglin Ma yinlinma@hotmail.com Bing Shi bings@utdallas.edu Wei Xia wendyxia@hotmail.com Sunny Yang yuing@prodigy.net Larry Zhang larryz@utdallas.edu How to's 1. How to compile Download the source code: CobraSource3/31/2001. Compile Server1.java and CobraFrame.java. Executable pre-compiled byte codes are also available for downloading: CobraByteCode3/31/2001. 2. How to run To test on local machine, run Server1.class first from one MS Dos Prompt and CobraFrame.class from another MS Dos Prompt. Same on UNIX machines, two consoles are needed. 3. How to operate (words in italic means to click on the menu from the tool bar and then its sub menu) Basic operations: 1) Choose Mode: APN from Mode to activate the relevant menus. 2) Put a new node: Place from APN and click anywhere on the local window. 3) Put the second node: Place from APN 4) Connect the two nodes: Arch from APN and drag across two nodes 5) Put token in nodes: Token from APN and click on one of nodes 6) Fire Double click on the transition OR highlight the transition by a single click and choose Fire from Tool 7) Simulate Simulate from Tool shows the whole process for a series of fires. Private_simulate for simulation in private window. Public_simulate for that in public window. 8) Replay Replay from Tool shows vividly the step-by-step creation of the APN. 9) Group/Degroup Group or Degroup from Edit then drag around the nodes for grouping/degrouping. 10) Connect Connect from Link. Enter the IP address, e.g. 127.0.0.1 for local host. You can connect to other machine by entering its address. 11) Broadcast Broadcast to Group from Link broadcasts to selected IP addresses; Broadcast to Public is for making a general broadcast. (Must connect first to be able to broadcast). 12) Refresh Refresh from Link is to transfer the contents from the public window to the local window. 13) Transition Transition from APN and click anywhere on private window to place a transition. To show the concurrent transition of APN, more than one node can be connected to a Transition using Arch. 14) PERT PERT functions are under development and are generally the same as APN.