Class: QPush::Server::Launcher

Inherits:
Object
  • Object
show all
Defined in:
lib/qpush/server/launcher.rb

Overview

Handles the start of the QPush server via command line

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Launcher

Returns a new instance of Launcher.



6
7
8
# File 'lib/qpush/server/launcher.rb', line 6

def initialize(argv)
  @argv = argv
end

Instance Method Details

#startObject

Parses commmand line options and starts the Manager object



12
13
14
15
16
17
# File 'lib/qpush/server/launcher.rb', line 12

def start
  start_message
  setup_options
  setup_jobs
  boot_manager
end