func NewTCPListener(pipelineProvider pipeline.Provider, source *config.LogSource, frameSize int) *TCPListener {
	return &TCPListener{
		pipelineProvider: pipelineProvider,
		source:           source,
		frameSize:        frameSize,
		tailers:          []*Tailer{},
		stop:             make(chan struct{}, 1),
	}
}
// NewTCPListener returns an initialized TCPListener
NewTCPListener returns an initialized TCPListener
// NewTCPListener returns an initialized TCPListener
func NewTCPListener(pipelineProvider pipeline.Provider, source *config.LogSource, frameSize int) *TCPListener {
	return &TCPListener{
		pipelineProvider: pipelineProvider,
		source:           source,
		frameSize:        frameSize,
		tailers:          []*Tailer{},
		stop:             make(chan struct{}, 1),
	}
}
func NewTCPListener ( pipelineProvider pipeline . Provider , source * config . LogSource , frameSize int ) * TCPListener { return & TCPListener { pipelineProvider : pipelineProvider , source : source , frameSize : frameSize , tailers : [ ] * Tailer { } , stop : make ( chan struct { } , 1 ) , } }
NewTCPListener returns an initialized TCPListener
NewTCPListener returns an initialized TCPListener