Class: Droonga::WatchDistributor
- Inherits:
-
DistributorPlugin
- Object
- Plugin
- DistributorPlugin
- Droonga::WatchDistributor
- Defined in:
- lib/droonga/plugin/distributor/watch.rb
Instance Method Summary collapse
- #feed(message) ⇒ Object
- #subscribe(message) ⇒ Object
- #sweep(message) ⇒ Object
- #unsubscribe(message) ⇒ Object
Methods inherited from DistributorPlugin
#broadcast_all, #distribute, #initialize, #scatter_all
Methods included from PluginRegisterable
#command, extended, #inherited, #method_name, #processable?, #repository
Methods inherited from Plugin
#initialize, #process, #processable?, #shutdown, #start
Constructor Details
This class inherits a constructor from Droonga::DistributorPlugin
Instance Method Details
#feed(message) ⇒ Object
25 26 27 |
# File 'lib/droonga/plugin/distributor/watch.rb', line 25 def feed() broadcast_all() end |
#subscribe(message) ⇒ Object
30 31 32 |
# File 'lib/droonga/plugin/distributor/watch.rb', line 30 def subscribe() broadcast_all() end |
#sweep(message) ⇒ Object
40 41 42 |
# File 'lib/droonga/plugin/distributor/watch.rb', line 40 def sweep() broadcast_all() end |
#unsubscribe(message) ⇒ Object
35 36 37 |
# File 'lib/droonga/plugin/distributor/watch.rb', line 35 def unsubscribe() broadcast_all() end |