Next: , Previous: expect method, Up: MIN2Lua API


6.6.14 send method

Method send is used to send variable through external interface. As a parameter it takes the name under which it will be sent and the variable (number or string).

     function case_function() - remote expect example
     	slavehnd = min.slave_allocate(SlaveTypePhone,"Slave1");
     	a = 5;
     	slavehnd:send("foo",a);
     	min.slave_free(slavehnd);
     end