Class: ResolvFiber::DNS::Requester::ConnectedUDP::Sender

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Sender

#initialize

Constructor Details

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

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



887
888
889
# File 'lib/resolv_fiber.rb', line 887

def data
  @data
end

Instance Method Details

#sendObject



883
884
885
886
# File 'lib/resolv_fiber.rb', line 883

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