Class: Droonga::Handler
- Inherits:
-
Object
- Object
- Droonga::Handler
- Extended by:
- Pluggable
- Defined in:
- lib/droonga/handler.rb
Direct Known Subclasses
Plugins::CRUD::Handler, Plugins::Groonga::ColumnCreate::Handler, Plugins::Groonga::TableCreate::Handler, Plugins::Groonga::TableRemove::Handler, Plugins::Search::Handler, Plugins::Watch::FeedHandler, Plugins::Watch::SubscribeHandler, Plugins::Watch::SweepHandler, Plugins::Watch::UnsubscribeHandler
Class Method Summary collapse
Instance Method Summary collapse
- #handle(message, messenger) ⇒ Object
-
#initialize(name, context) ⇒ Handler
constructor
A new instance of Handler.
Methods included from Pluggable
Constructor Details
#initialize(name, context) ⇒ Handler
Returns a new instance of Handler.
34 35 36 37 |
# File 'lib/droonga/handler.rb', line 34 def initialize(name, context) @name = name @context = context end |
Class Method Details
.action ⇒ Object
29 30 31 |
# File 'lib/droonga/handler.rb', line 29 def action Plugin::Metadata::HandlerAction.new(self) end |
.message ⇒ Object
25 26 27 |
# File 'lib/droonga/handler.rb', line 25 def Plugin::Metadata::InputMessage.new(self) end |
Instance Method Details
#handle(message, messenger) ⇒ Object
39 40 |
# File 'lib/droonga/handler.rb', line 39 def handle(, messenger) end |