Class: Ap4r::Dispatchers::Druby
Overview
Dispatches via druby protocol with the implementation DRb.
The call result is judged as
-
“success” if finishes normally (without an exception)
-
“failuer” if finishes with an exception
Instance Method Summary collapse
Methods inherited from Base
#call, dispatch_mode, #initialize, #modify_message, #response, #validate_response
Constructor Details
This class inherits a constructor from Ap4r::Dispatchers::Base
Instance Method Details
#invoke ⇒ Object
341 342 343 344 |
# File 'lib/ap4r/dispatcher.rb', line 341 def invoke object = DRbObject.new_with_uri(@message[:target_url]) object.method_missing(@message[:target_method].to_sym, @message.object) end |