Class: UPnP::Device
- Inherits:
-
Object
- Object
- UPnP::Device
- Defined in:
- lib/upnp/device.rb
Instance Method Summary collapse
-
#start ⇒ Object
Multicasts discovery messages to advertise its root device, any embedded devices, and any services.
Instance Method Details
#start ⇒ Object
Multicasts discovery messages to advertise its root device, any embedded devices, and any services.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/upnp/device.rb', line 11 def start EM.synchrony do web_server = Thin::Server.start('0.0.0.0', 3000) do use Rack::CommonLogger use Rack::ShowExceptions map "/presentation" do use Rack::Lint run Rack::Lobster.new end end # Do advertisement # Listen for subscribers end end |