Class: Resolv::DNS::Requester::ConnectedUDP::Sender

Inherits:
Sender
  • Object
show all
Defined in:
lib/resolv.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Sender

#initialize

Constructor Details

This class inherits a constructor from Resolv::DNS::Requester::Sender

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data


843
844
845
# File 'lib/resolv.rb', line 843

def data
  @data
end

Instance Method Details

#sendObject


839
840
841
842
# File 'lib/resolv.rb', line 839

def send
  raise "@sock is nil." if @sock.nil?
  @sock.send(@msg, 0)
end