6 class Slave < RbProcess
14 info("Hello From Slave")
21 # msg_main : that function that will be executed when Running Simulation
23 info("Hello From Slave")
24 s_mailbox = "slave>>" + args[0]
28 info("Ready to Receive Task")
29 task = RbTask.receive(s_mailbox)
30 task_name = RbTask.name(task)
31 info ("Task Received : " + task_name)
32 if (task_name == "finalize")
33 info("Slave" + s_mailbox + "got finalize msg")
36 info("Slave " + s_mailbox + " ...Processing" + RbTask.name(task))
39 info("Slave " + s_mailbox + "I'm Done , See You !!")