Class: Resolv::DNS::SvcParam::IPv4Hint
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::Resolv::DNS::SvcParam
|
|
Instance Chain:
self,
::Resolv::DNS::SvcParam
|
|
Inherits: |
Resolv::DNS::SvcParam
|
Defined in: | lib/resolv.rb |
Overview
“ipv4hint” ::Resolv::DNS::SvcParam
– ::Resolv::IPv4
address hints
Constant Summary
-
KeyName =
# File 'lib/resolv.rb', line 1991:ipv4hint
-
KeyNumber =
# File 'lib/resolv.rb', line 19924
::Resolv::DNS::SvcParam
- Inherited
Class Method Summary
-
.new(addresses) ⇒ IPv4Hint
constructor
Initialize “ipv4hint” ScvParam.
- .decode(msg) Internal use only
::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
::Resolv::IPv4
addresses.
Instance Method Summary
- #encode(msg) Internal use only
Constructor Details
.new(addresses) ⇒ IPv4Hint
Initialize “ipv4hint” ScvParam.
Class Method Details
.decode(msg)
This method is for internal use only.
[ GitHub ]
Instance Attribute Details
#addresses (readonly)
Set of ::Resolv::IPv4
addresses.
# File 'lib/resolv.rb', line 1998
attr_reader :addresses
Instance Method Details
#encode(msg)
This method is for internal use only.
[ GitHub ]
# File 'lib/resolv.rb', line 2007
def encode(msg) # :nodoc: @addresses.each do |address| msg.put_bytes(address.address) end end