Class: Resolv::DNS::Resource::IN::AAAA
- Inherits:
-
Resolv::DNS::Resource
- Object
- Query
- Resolv::DNS::Resource
- Resolv::DNS::Resource::IN::AAAA
- Defined in:
- lib/logstash/patches/resolv_9270.rb
Overview
An IPv6 address record.
Constant Summary collapse
- TypeValue =
28
- ClassValue =
IN::ClassValue
Constants inherited from Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
The Resolv::IPv6 address for this AAAA.
Attributes inherited from Resolv::DNS::Resource
Class Method Summary collapse
-
.decode_rdata(msg) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#encode_rdata(msg) ⇒ Object
:nodoc:.
-
#initialize(address) ⇒ AAAA
constructor
Creates a new AAAA for
address
.
Methods inherited from Resolv::DNS::Resource
Constructor Details
Instance Attribute Details
#address ⇒ Object (readonly)
The Resolv::IPv6 address for this AAAA.
2277 2278 2279 |
# File 'lib/logstash/patches/resolv_9270.rb', line 2277 def address @address end |
Class Method Details
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
2279 2280 2281 |
# File 'lib/logstash/patches/resolv_9270.rb', line 2279 def encode_rdata(msg) # :nodoc: msg.put_bytes(@address.address) end |