Class: Farcall::LocalConnection

Inherits:
Object
  • Object
show all
Defined in:
lib/farcall/transport.rb

Overview

Test connection that provides 2 interconnected transports TestConnection#a and TestConnection#b that could be used to connect Endpoints

Defined Under Namespace

Classes: Connection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLocalConnection

Returns a new instance of LocalConnection.



160
161
162
163
# File 'lib/farcall/transport.rb', line 160

def initialize
  @a = Connection.new
  @b = Connection.new @a
end

Instance Attribute Details

#aObject (readonly)

Returns the value of attribute a.



158
159
160
# File 'lib/farcall/transport.rb', line 158

def a
  @a
end