Class: Resolv::DNS::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/patches/resolv_9270.rb

Overview

A DNS query abstract class.

Direct Known Subclasses

Resource, Resource::ANY

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decode_rdata(msg) ⇒ Object

:nodoc:

Raises:



1706
1707
1708
# File 'lib/logstash/patches/resolv_9270.rb', line 1706

def self.decode_rdata(msg) # :nodoc:
  raise DecodeError.new("#{self.class} is query.")
end

Instance Method Details

#encode_rdata(msg) ⇒ Object

:nodoc:

Raises:



1702
1703
1704
# File 'lib/logstash/patches/resolv_9270.rb', line 1702

def encode_rdata(msg) # :nodoc:
  raise EncodeError.new("#{self.class} is query.")
end