Class: Thor::Jobs::Client
- Inherits:
-
Thor::Job
- Object
- Bsl::Application
- Application
- Thor::Job
- Thor::Jobs::Client
- Defined in:
- lib/jobs/Client-0.0.1/main.rb
Constant Summary collapse
- @@AUTHOR =
"[email protected]"
- @@DESCRIPTION =
"Client node"
- @@LICENSE =
"GPL"
- @@VERSION =
"0.0.1"
- @@SUPPORTED_MSGS =
[]
Instance Attribute Summary
Attributes inherited from Thor::Job
#amqp_conn, #em_conn, #sql_conn, #thread
Attributes inherited from Application
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Client
constructor
C-tor.
-
#main ⇒ Object
Console application main().
-
#run(opts = {}) ⇒ Object
Async runner.
Methods inherited from Thor::Job
author, description, #is_running?, license, #process_msg, #start, #stop, supported_msgs, version
Methods inherited from Application
#amqp_handle_failure, #amqp_loop, #amqp_start, #amqp_stop
Constructor Details
#initialize(opts = {}) ⇒ Client
C-tor
13 14 15 |
# File 'lib/jobs/Client-0.0.1/main.rb', line 13 def initialize(opts = {}) super(opts) end |
Instance Method Details
#main ⇒ Object
Console application main()
27 28 29 |
# File 'lib/jobs/Client-0.0.1/main.rb', line 27 def main super() end |
#run(opts = {}) ⇒ Object
Async runner
18 19 20 21 22 23 24 |
# File 'lib/jobs/Client-0.0.1/main.rb', line 18 def run(opts = {}) super(opts) if([:verbose]) Bsl::Logger::Log "Thor::Jobs::Client::run()" end end |