Class: Net::DNS::RR::SRV
- Inherits:
-
Net::DNS::RR
- Object
- Net::DNS::RR
- Net::DNS::RR::SRV
- Defined in:
- lib/net/dns/rr/srv.rb
Overview
RR type SRV
Constant Summary
Constants inherited from Net::DNS::RR
Constants included from Names
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Attributes inherited from Net::DNS::RR
Method Summary
Methods inherited from Net::DNS::RR
#cls, #comp_data, #data, #initialize, #inspect, parse, parse_packet, #to_a, #to_s, #type, #value
Methods included from Names
#dn_comp, #dn_expand, #names_array, #pack_name, #valid?
Constructor Details
This class inherits a constructor from Net::DNS::RR
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
11 12 13 |
# File 'lib/net/dns/rr/srv.rb', line 11 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
10 11 12 |
# File 'lib/net/dns/rr/srv.rb', line 10 def port @port end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
8 9 10 |
# File 'lib/net/dns/rr/srv.rb', line 8 def priority @priority end |
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
9 10 11 |
# File 'lib/net/dns/rr/srv.rb', line 9 def weight @weight end |