Class: Airstream::Node

Inherits:
Airplay::Client
  • Object
show all
Defined in:
lib/airstream/node.rb

Instance Method Summary collapse

Constructor Details

#initialize(receiver) ⇒ Node

Returns a new instance of Node.


5
6
7
8
9
10
11
# File 'lib/airstream/node.rb', line 5

def initialize(receiver)
  node = Airplay::Server::Node.new(
    receiver, receiver, receiver, AIRPLAY_PORT)
  super node  # TODO test if does not work without

  use node # does not work without that second assign
end