Class: Adhearsion::Rayo::Connection::GenericConnection

Inherits:
Object
  • Object
show all
Defined in:
lib/adhearsion/rayo/connection/generic_connection.rb

Direct Known Subclasses

Asterisk, XMPP

Instance Method Summary collapse

Constructor Details

#initializeGenericConnection

Returns a new instance of GenericConnection



7
8
9
# File 'lib/adhearsion/rayo/connection/generic_connection.rb', line 7

def initialize
  @event_handler = lambda { |event| raise 'No event handler set' }
end

Instance Method Details

#connected?Boolean

Returns:

  • (Boolean)


17
18
# File 'lib/adhearsion/rayo/connection/generic_connection.rb', line 17

def connected?
end

#not_ready!Object



14
15
# File 'lib/adhearsion/rayo/connection/generic_connection.rb', line 14

def not_ready!
end

#ready!Object



11
12
# File 'lib/adhearsion/rayo/connection/generic_connection.rb', line 11

def ready!
end