Class: RemoteSyslogSender::UdpSender
- Defined in:
- lib/remote_syslog_sender/udp_sender.rb
Instance Attribute Summary
Attributes inherited from Sender
Instance Method Summary collapse
-
#initialize(remote_hostname, remote_port, options = {}) ⇒ UdpSender
constructor
A new instance of UdpSender.
Methods inherited from Sender
Constructor Details
#initialize(remote_hostname, remote_port, options = {}) ⇒ UdpSender
Returns a new instance of UdpSender.
7 8 9 10 |
# File 'lib/remote_syslog_sender/udp_sender.rb', line 7 def initialize(remote_hostname, remote_port, = {}) super @socket = UDPSocket.new end |