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
327 328 |
# File 'lib/isono/node_modules/rpc_channel.rb', line 327 def progress(ret) end |
#response(ret) ⇒ Object
330 331 332 333 334 335 336 337 |
# File 'lib/isono/node_modules/rpc_channel.rb', line 330 def response(ret) raise "" if @responded EM.schedule { @header.ack } @responded = true end |