Class: Gem::Resolv::DNS::SvcParam::IPv6Hint
- Inherits:
-
Gem::Resolv::DNS::SvcParam
- Object
- Gem::Resolv::DNS::SvcParam
- Gem::Resolv::DNS::SvcParam::IPv6Hint
- Defined in:
- lib/rubygems/vendor/resolv/lib/resolv.rb
Overview
“ipv6hint” SvcParam – IPv6 address hints
Constant Summary collapse
- KeyName =
:ipv6hint
- KeyNumber =
6
Constants inherited from Gem::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 Gem::Resolv::DNS::SvcParam
Constructor Details
Instance Attribute Details
#addresses ⇒ Object (readonly)
Set of IPv6 addresses.
2023 2024 2025 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2023 def addresses @addresses end |
Class Method Details
Instance Method Details
#encode(msg) ⇒ Object
:nodoc:
2032 2033 2034 2035 2036 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2032 def encode(msg) # :nodoc: @addresses.each do |address| msg.put_bytes(address.address) end end |