Class: Isono::NodeModules::RpcChannel::OneshotResponseContext
- Inherits:
-
ResponseContext
- Object
- ResponseContext
- Isono::NodeModules::RpcChannel::OneshotResponseContext
- Defined in:
- lib/isono/node_modules/rpc_channel.rb
Overview
Do nothing when the endpoint trys to send back in case of oneshot request.
Instance Attribute Summary
Attributes inherited from ResponseContext
Instance Method Summary collapse
Methods inherited from ResponseContext
Constructor Details
This class inherits a constructor from Isono::NodeModules::RpcChannel::ResponseContext
Instance Method Details
#progress(ret) ⇒ Object
293 294 |
# File 'lib/isono/node_modules/rpc_channel.rb', line 293 def progress(ret) end |
#response(ret) ⇒ Object
296 297 298 299 300 301 302 303 |
# File 'lib/isono/node_modules/rpc_channel.rb', line 296 def response(ret) raise "" if @responded EM.schedule { @header.ack } @responded = true end |