Class: RUPNP::SSDP::MSearchResponder
- Inherits:
-
MulticastConnection
- Object
- EM::Connection
- MulticastConnection
- RUPNP::SSDP::MSearchResponder
- Includes:
- HTTP, SearchResponder
- Defined in:
- lib/rupnp/ssdp/msearch_responder.rb
Overview
M-SEARCH responder for M-SEARCH multicast requests from control points.
Constant Summary
Constants included from LogMixin
Instance Method Summary collapse
-
#initialize(device, options = {}) ⇒ MSearchResponder
constructor
A new instance of MSearchResponder.
Methods included from SearchResponder
Methods included from HTTP
#get_http_headers, #get_http_verb, #is_http_status_ok?
Methods inherited from MulticastConnection
Methods included from LogMixin
Constructor Details
#initialize(device, options = {}) ⇒ MSearchResponder
Returns a new instance of MSearchResponder.
11 12 13 14 15 |
# File 'lib/rupnp/ssdp/msearch_responder.rb', line 11 def initialize(device, ={}) @device = device @options = super [:ttl] end |