Class: Charyf::Interface::Base

Inherits:
Object
  • Object
show all
Includes:
Strategy::BaseClass
Defined in:
lib/charyf/engine/interface/interface.rb

Direct Known Subclasses

Program

Class Method Summary collapse

Methods included from Strategy::BaseClass

included

Class Method Details

.dispatcherObject



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, message_id, response)
  raise Charyf::Utils::NotImplemented.new
end

.startObject



25
26
27
# File 'lib/charyf/engine/interface/interface.rb', line 25

def start
  raise Charyf::Utils::NotImplemented.new
end

.stopObject



29
30
31
# File 'lib/charyf/engine/interface/interface.rb', line 29

def stop
  raise Charyf::Utils::NotImplemented.new
end

.terminateObject

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