Class: Charyf::Interface::Base
- Includes:
- Strategy::BaseClass
- Defined in:
- lib/charyf/engine/interface/interface.rb
Direct Known Subclasses
Class Method Summary collapse
- .dispatcher ⇒ Object
- .reply(conversation_id, message_id, response) ⇒ Object
- .start ⇒ Object
- .stop ⇒ Object
-
.terminate ⇒ Object
If stop does not finish till required timeout Terminate is called.
Methods included from Strategy::BaseClass
Class Method Details
.dispatcher ⇒ Object
17 18 19 |
# File 'lib/charyf/engine/interface/interface.rb', line 17 def dispatcher Charyf.application.dispatcher.new end |
.reply(conversation_id, message_id, response) ⇒ Object
21 22 23 |
# File 'lib/charyf/engine/interface/interface.rb', line 21 def reply(conversation_id, , response) raise Charyf::Utils::NotImplemented.new end |
.start ⇒ Object
25 26 27 |
# File 'lib/charyf/engine/interface/interface.rb', line 25 def start raise Charyf::Utils::NotImplemented.new end |
.stop ⇒ Object
29 30 31 |
# File 'lib/charyf/engine/interface/interface.rb', line 29 def stop raise Charyf::Utils::NotImplemented.new end |
.terminate ⇒ Object
If stop does not finish till required timeout Terminate is called
35 36 37 |
# File 'lib/charyf/engine/interface/interface.rb', line 35 def terminate raise Charyf::Utils::NotImplemented.new end |