Class: Droonga::HandlerPlugin
Instance Method Summary
collapse
command, extended, inherited, method_name, processable?, repository
Methods inherited from Plugin
#process, #processable?, #shutdown, #start
Constructor Details
Returns a new instance of HandlerPlugin.
24
25
26
27
28
|
# File 'lib/droonga/handler_plugin.rb', line 24
def initialize(handler)
super()
@handler = handler
@context = @handler.context
end
|
Instance Method Details
#emit(value, name = nil) ⇒ Object
34
35
36
|
# File 'lib/droonga/handler_plugin.rb', line 34
def emit(value, name=nil)
@handler.emit(value, name)
end
|
#envelope ⇒ Object
30
31
32
|
# File 'lib/droonga/handler_plugin.rb', line 30
def envelope
@handler.envelope
end
|
#post(body, destination = nil) ⇒ Object
38
39
40
|
# File 'lib/droonga/handler_plugin.rb', line 38
def post(body, destination=nil)
@handler.post(body, destination)
end
|
#prefer_synchronous?(command) ⇒ Boolean
42
43
44
|
# File 'lib/droonga/handler_plugin.rb', line 42
def prefer_synchronous?(command)
false
end
|