Class: Dynflow::Dispatcher::Abstract
- Inherits:
-
Actor
- Object
- Concurrent::Actor::Context
- Actor
- Dynflow::Dispatcher::Abstract
show all
- Defined in:
- lib/dynflow/dispatcher/abstract.rb
Instance Method Summary
collapse
Methods inherited from Actor
#behaviour_definition, #finish_termination, #start_termination, #terminating?
#on_message
#log
Instance Method Details
#connector ⇒ Object
6
7
8
|
# File 'lib/dynflow/dispatcher/abstract.rb', line 6
def connector
@world.connector
end
|
#respond(request_envelope, response) ⇒ Object
10
11
12
13
|
# File 'lib/dynflow/dispatcher/abstract.rb', line 10
def respond(request_envelope, response)
response_envelope = request_envelope.build_response_envelope(response, @world)
connector.send(response_envelope)
end
|