Class: Resolv::DNS::Requester::UnconnectedUDP::Sender
- Defined in:
- lib/logmerge/resolv.rb
Instance Attribute Summary
Attributes inherited from Sender
Instance Method Summary collapse
-
#initialize(msg, data, sock, host, port, queue) ⇒ Sender
constructor
A new instance of Sender.
- #send ⇒ Object
Methods inherited from Sender
Constructor Details
#initialize(msg, data, sock, host, port, queue) ⇒ Sender
Returns a new instance of Sender.
611 612 613 614 615 |
# File 'lib/logmerge/resolv.rb', line 611 def initialize(msg, data, sock, host, port, queue) super(msg, data, sock, queue) @host = host @port = port end |
Instance Method Details
#send ⇒ Object
617 618 619 |
# File 'lib/logmerge/resolv.rb', line 617 def send @sock.send(@msg, 0, @host, @port) end |