Class: Resolv::DNS::SvcParam::Mandatory
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
“mandatory” ::Resolv::DNS::SvcParam
– Mandatory
keys in service binding RR
Constant Summary
-
KeyName =
# File 'lib/resolv.rb', line 1883:mandatory
-
KeyNumber =
# File 'lib/resolv.rb', line 18840
::Resolv::DNS::SvcParam
- Inherited
Class Method Summary
-
.new(keys) ⇒ Mandatory
constructor
Initialize “mandatory” 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
-
#keys
readonly
Mandatory
keys.
Instance Method Summary
- #encode(msg) Internal use only
Constructor Details
.new(keys) ⇒ Mandatory
Initialize “mandatory” ScvParam.
Class Method Details
.decode(msg)
This method is for internal use only.
[ GitHub ]
Instance Attribute Details
#keys (readonly)
Mandatory
keys.
# File 'lib/resolv.rb', line 1890
attr_reader :keys
Instance Method Details
#encode(msg)
This method is for internal use only.
[ GitHub ]
# File 'lib/resolv.rb', line 1899
def encode(msg) # :nodoc: @keys.sort.each do |key| msg.put_pack('n', key) end end