Class: Eventbox::ActionCallContext
- Inherits:
-
Object
- Object
- Eventbox::ActionCallContext
- Includes:
- CallContext
- Defined in:
- lib/eventbox/call_context.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
The action that drives the call context.
Instance Method Summary collapse
-
#shutdown! ⇒ Object
Terminate the call context and the driving action.
Instance Attribute Details
#action ⇒ Object (readonly)
The action that drives the call context.
38 39 40 |
# File 'lib/eventbox/call_context.rb', line 38 def action @action end |
Instance Method Details
#shutdown! ⇒ Object
Terminate the call context and the driving action.
The method returns immediately and the corresponding action is terminated asynchonously.
43 44 45 |
# File 'lib/eventbox/call_context.rb', line 43 def shutdown! @__answer_queue__.close end |