class Fluent::TcpInput
Public Instance Methods
listen(callback)
click to toggle source
# File lib/fluent/plugin/in_tcp.rb, line 26 def listen(callback) log.debug "listening tcp socket on #{@bind}:#{@port}" Coolio::TCPServer.new(@bind, @port, SocketUtil::TcpHandler, log, @delimiter, callback) end