Class: Ap4r::Script::QueueManagerControl

Inherits:
Base show all
Defined in:
lib/ap4r/script/queue_manager_control.rb

Instance Method Summary collapse

Instance Method Details

#start(argv, options = {}) ⇒ Object



11
12
13
14
# File 'lib/ap4r/script/queue_manager_control.rb', line 11

def start argv, options = {}
  ARGV.unshift('manager', 'start')
  run_rm_client
end

#stop(argv, options = {}) ⇒ Object



16
17
18
19
# File 'lib/ap4r/script/queue_manager_control.rb', line 16

def stop argv, options = {}
  ARGV.unshift('manager', 'stop')
  run_rm_client
end