func NewNamedPipeListener(pipeName string, packetOut chan packets.Packets,
	sharedPacketPoolManager *packets.PoolManager, capture *replay.TrafficCapture) (*NamedPipeListener, error) {

	bufferSize := config.Datadog.GetInt("dogstatsd_buffer_size")
	return newNamedPipeListener(
		pipeName,
		bufferSize,
		packets.NewPacketManagerFromConfig(packetOut, sharedPacketPoolManager),
		capture)
}
// NewNamedPipeListener returns an named pipe Statsd listener
NewNamedPipeListener returns an named pipe Statsd listener
// NewNamedPipeListener returns an named pipe Statsd listener
func NewNamedPipeListener(pipeName string, packetOut chan packets.Packets,
	sharedPacketPoolManager *packets.PoolManager, capture *replay.TrafficCapture) (*NamedPipeListener, error) {
	bufferSize := config.Datadog.GetInt("dogstatsd_buffer_size")
	return newNamedPipeListener(
		pipeName,
		bufferSize,
		packets.NewPacketManagerFromConfig(packetOut, sharedPacketPoolManager),
		capture)
}
func NewNamedPipeListener ( pipeName string , packetOut chan packets . Packets , sharedPacketPoolManager * packets . PoolManager , capture * replay . TrafficCapture ) ( * NamedPipeListener , error ) { bufferSize := config . Datadog . GetInt ( " " ) return newNamedPipeListener ( pipeName , bufferSize , packets . NewPacketManagerFromConfig ( packetOut , sharedPacketPoolManager ) , capture ) }
NewNamedPipeListener returns an named pipe Statsd listener
NewNamedPipeListener returns an named pipe Statsd listener