Class: Droonga::WatchDistributor

Inherits:
DistributorPlugin show all
Defined in:
lib/droonga/plugin/distributor/watch.rb

Instance Method Summary collapse

Methods inherited from DistributorPlugin

#broadcast_all, #initialize, #post, #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(envelope) ⇒ Object



25
26
27
# File 'lib/droonga/plugin/distributor/watch.rb', line 25

def feed(envelope)
  broadcast_all(envelope)
end

#subscribe(envelope) ⇒ Object



30
31
32
# File 'lib/droonga/plugin/distributor/watch.rb', line 30

def subscribe(envelope)
  broadcast_all(envelope)
end

#unsubscribe(envelope) ⇒ Object



35
36
37
# File 'lib/droonga/plugin/distributor/watch.rb', line 35

def unsubscribe(envelope)
  broadcast_all(envelope)
end