Class: Droonga::Plugins::AsyncCommand::Handler
- Defined in:
- lib/droonga/plugin/async_command.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
Methods inherited from Handler
Methods included from Droonga::Pluggable
Constructor Details
This class inherits a constructor from Droonga::Handler
Instance Method Details
#handle(message) ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/droonga/plugin/async_command.rb', line 52 def handle() request = request_class.new() if request.need_start? start(request) { "started" => true, } else { "started" => false, } end end |