| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.minisim.hello_loop
public class hello_loop
A slightly more sophisticated Hello World of simulations to show the difference between blocking and non-blocking events.
| Constructor Summary | |
|---|---|
| hello_loop()Initialize hello_loop entity. | |
| Method Summary | |
|---|---|
|  void | HelloWorld(java.lang.String msg)A non-blocking hello event. | 
|  void | HelloWorld1(java.lang.String msg)non-blocking event that schedules 10 hellos. | 
|  void | HelloWorld2(java.lang.String msg)blocking event that schedules 10 hellos. | 
| static void | main(java.lang.String[] args)Program entry point: show difference between blocking and non-blocking events with an extended "hello world!" example. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public hello_loop()
| Method Detail | 
|---|
public static void main(java.lang.String[] args)
args - command-line parameterspublic void HelloWorld(java.lang.String msg)
msg - message to display with hellopublic void HelloWorld1(java.lang.String msg)
msg - message to display with hello
public void HelloWorld2(java.lang.String msg)
                 throws JistAPI.Continuation
msg - message to display with hello
JistAPI.Continuation - never; blocking event| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||