6 class Slave < RbProcess
13 info("Hello From Slave")
16 # msg_main : that function that will be executed when Running Simulation
18 info("Hello From Slave")
21 task = RbTask.get(); #by default Port set to 0
22 task_name = RbTask.name(task)
23 puts "my name ........" + task_name
24 if ( task_name == "finalize" )
25 puts "Received finalize msg"
28 puts "Processing..." + RbTask.name(task)
31 puts "I'm Done ... See You !!"