Class: ResolvFiber::DNS::Requester::TCP::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.



939
940
941
# File 'lib/resolv_fiber.rb', line 939

def data
  @data
end

Instance Method Details

#sendObject



935
936
937
938
# File 'lib/resolv_fiber.rb', line 935

def send
  @sock.print(@msg)
  @sock.flush
end