Method: Roma::Command::SystemCommandReceiver#ev_set_reqpushv_timeout_count
- Defined in:
- lib/roma/command/sys_command_receiver.rb
#ev_set_reqpushv_timeout_count(s) ⇒ Object
set_reqpushv_timeout_count <sec>
929 930 931 932 933 934 935 936 937 938 939 940 |
# File 'lib/roma/command/sys_command_receiver.rb', line 929 def ev_set_reqpushv_timeout_count(s) if s.length != 2 return send_data("CLIENT_ERROR number of arguments\n\r") end if s[1].to_i <= 0 return send_data("CLIENT_ERROR time value must be lager than 0\r\n") end res = broadcast_cmd("rset_reqpushv_timeout_count #{s[1]}\r\n") @stats.reqpushv_timeout_count = s[1].to_i res[@stats.ap_str] = "STORED" send_data("#{res}\r\n") end |