Class: Resolv::DNS::SvcParam::IPv6Hint
- Inherits:
-
Resolv::DNS::SvcParam
- Object
- Resolv::DNS::SvcParam
- Resolv::DNS::SvcParam::IPv6Hint
- Defined in:
- lib/resolv.rb
Overview
“ipv6hint” SvcParam – IPv6 address hints
Constant Summary collapse
- KeyName =
:ipv6hint
- KeyNumber =
6
Constants inherited from Resolv::DNS::SvcParam
Instance Attribute Summary collapse
-
#addresses ⇒ Object
readonly
Set of IPv6 addresses.
Class Method Summary collapse
-
.decode(msg) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#encode(msg) ⇒ Object
:nodoc:.
-
#initialize(addresses) ⇒ IPv6Hint
constructor
Initialize “ipv6hint” ScvParam.
Methods inherited from Resolv::DNS::SvcParam
Constructor Details
Instance Attribute Details
#addresses ⇒ Object (readonly)
Set of IPv6 addresses.
2035 2036 2037 |
# File 'lib/resolv.rb', line 2035 def addresses @addresses end |
Class Method Details
Instance Method Details
#encode(msg) ⇒ Object
:nodoc:
2044 2045 2046 2047 2048 |
# File 'lib/resolv.rb', line 2044 def encode(msg) # :nodoc: @addresses.each do |address| msg.put_bytes(address.address) end end |