Class: Eventbox::ActionCallContext

Inherits:
Object
  • Object
show all
Includes:
CallContext
Defined in:
lib/eventbox/call_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionObject (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