Class: DNSSD::Reply::Domain
- Inherits:
-
DNSSD::Reply
- Object
- DNSSD::Reply
- DNSSD::Reply::Domain
- Defined in:
- lib/dnssd/reply/domain.rb
Overview
Returned by DNSSD::Service#enumerate_domains
Instance Attribute Summary collapse
-
#domain ⇒ Object
readonly
A domain for registration or browsing.
Attributes inherited from DNSSD::Reply
Instance Method Summary collapse
-
#initialize(service, flags, interface, domain) ⇒ Domain
constructor
Creates a new Browse, called internally by DNSSD::Service#enumerate_domains.
Methods inherited from DNSSD::Reply
#fullname, #inspect, #interface_name, #protocol, #service_name, #set_fullname, #set_names
Constructor Details
#initialize(service, flags, interface, domain) ⇒ Domain
Creates a new Browse, called internally by DNSSD::Service#enumerate_domains
15 16 17 18 19 |
# File 'lib/dnssd/reply/domain.rb', line 15 def initialize(service, flags, interface, domain) super service, flags, interface @domain = domain end |
Instance Attribute Details
#domain ⇒ Object (readonly)
A domain for registration or browsing
9 10 11 |
# File 'lib/dnssd/reply/domain.rb', line 9 def domain @domain end |