Class: Gem::Resolv::DNS::SvcParam::IPv6Hint
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Gem::Resolv::DNS::SvcParam
|
Defined in: | lib/rubygems/vendor/resolv/lib/resolv.rb |
Overview
“ipv6hint” ::Gem::Resolv::DNS::SvcParam
– ::Gem::Resolv::IPv6
address hints
Constant Summary
-
KeyName =
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2028:ipv6hint
-
KeyNumber =
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 20296
::Gem::Resolv::DNS::SvcParam
- Inherited
Class Method Summary
-
.new(addresses) ⇒ IPv6Hint
constructor
Initialize “ipv6hint” ScvParam.
- .decode(msg) Internal use only
::Gem::Resolv::DNS::SvcParam
- Inherited
.key_name | Get the presentation name of the SvcParamKey. |
.key_number | Get the registered number of the SvcParamKey. |
Instance Attribute Summary
-
#addresses
readonly
Set of
::Gem::Resolv::IPv6
addresses.
Instance Method Summary
- #encode(msg) Internal use only
Constructor Details
.new(addresses) ⇒ IPv6Hint
Initialize “ipv6hint” ScvParam.
Class Method Details
.decode(msg)
This method is for internal use only.
[ GitHub ]
Instance Attribute Details
#addresses (readonly)
Set of ::Gem::Resolv::IPv6
addresses.
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2035
attr_reader :addresses
Instance Method Details
#encode(msg)
This method is for internal use only.
[ GitHub ]
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2044
def encode(msg) # :nodoc: @addresses.each do |address| msg.put_bytes(address.address) end end