class Fluent::TcpOutput
obsolete
Constants
- LISTEN_PORT
Public Class Methods
new()
click to toggle source
Calls superclass method
Fluent::Compat::BufferedOutput::new
# File lib/fluent/plugin/out_stream.rb, line 93 def initialize super $log.warn "'tcp' output is obsoleted and will be removed. Use 'forward' instead." $log.warn "see 'forward' section in https://docs.fluentd.org/ for the high-availability configuration." end
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
Fluent::StreamOutput#configure
# File lib/fluent/plugin/out_stream.rb, line 102 def configure(conf) super end
connect()
click to toggle source
# File lib/fluent/plugin/out_stream.rb, line 106 def connect TCPSocket.new(@host, @port) end