Class: Resolv::DNS::Resource::IN::A
- Inherits:
-
Resolv::DNS::Resource
- Object
- Query
- Resolv::DNS::Resource
- Resolv::DNS::Resource::IN::A
- Defined in:
- lib/logstash/patches/resolv_9270.rb
Overview
IPv4 Address resource
Constant Summary collapse
- TypeValue =
1
- ClassValue =
IN::ClassValue
Constants inherited from Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
The Resolv::IPv4 address for this A.
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) ⇒ A
constructor
Creates a new A for
address
.
Methods inherited from Resolv::DNS::Resource
Constructor Details
Instance Attribute Details
#address ⇒ Object (readonly)
The Resolv::IPv4 address for this A.
2200 2201 2202 |
# File 'lib/logstash/patches/resolv_9270.rb', line 2200 def address @address end |
Class Method Details
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
2202 2203 2204 |
# File 'lib/logstash/patches/resolv_9270.rb', line 2202 def encode_rdata(msg) # :nodoc: msg.put_bytes(@address.address) end |