public class IpfixUdpParser extends UdpParserBase implements UdpParser, Dispatchable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
IpfixUdpParser.SessionKey  | 
HOUSEKEEPING_INTERVALCLOCK_SKEW_EVENT_UEI, ILLEGAL_FLOW_EVENT_UEI| Constructor and Description | 
|---|
IpfixUdpParser(String name,
              AsyncDispatcher<TelemetryMessage> dispatcher,
              EventForwarder eventForwarder,
              Identity identity,
              DnsResolver dnsResolver,
              com.codahale.metrics.MetricRegistry metricRegistry)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected byte[] | 
buildMessage(Iterable<Value<?>> record,
            RecordEnrichment enrichment)  | 
protected UdpSessionManager.SessionKey | 
buildSessionKey(InetSocketAddress remoteAddress,
               InetSocketAddress localAddress)  | 
boolean | 
handles(io.netty.buffer.ByteBuf buffer)
Returns true if the implementor can handle the incoming data, otherwise false. 
 | 
protected RecordProvider | 
parse(Session session,
     io.netty.buffer.ByteBuf buffer)  | 
getTemplateTimeout, parse, setTemplateTimeout, start, stopdetectClockSkew, getClockSkewEventRate, getDnsLookupsEnabled, getIllegalFlowEventRate, getMaxClockSkew, getName, getThreads, setClockSkewEventRate, setDnsLookupsEnabled, setIllegalFlowEventRate, setMaxClockSkew, setThreads, transmitpublic IpfixUdpParser(String name, AsyncDispatcher<TelemetryMessage> dispatcher, EventForwarder eventForwarder, Identity identity, DnsResolver dnsResolver, com.codahale.metrics.MetricRegistry metricRegistry)
protected RecordProvider parse(Session session, io.netty.buffer.ByteBuf buffer) throws Exception
parse in class UdpParserBaseExceptionpublic boolean handles(io.netty.buffer.ByteBuf buffer)
Dispatchablehandles in interface Dispatchablebuffer - Representing the incoming dataprotected UdpSessionManager.SessionKey buildSessionKey(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
buildSessionKey in class UdpParserBaseprotected byte[] buildMessage(Iterable<Value<?>> record, RecordEnrichment enrichment) throws IllegalFlowException
buildMessage in class ParserBaseIllegalFlowExceptionCopyright © 2021. All rights reserved.