Class: RemoteSyslogLogger::UdpSender

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

Instance Method Summary collapse

Methods inherited from Sender

#close, #transmit

Constructor Details

#initialize(remote_hostname, remote_port, options = {}) ⇒ UdpSender

Returns a new instance of UdpSender.



7
8
9
10
# File 'lib/remote_syslog_logger/udp_sender.rb', line 7

def initialize(remote_hostname, remote_port, options = {})
  super
  @socket = UDPSocket.new
end