public class Netflow9UdpParser extends UdpParserBase implements UdpParser, Dispatchable
| Modifier and Type | Class and Description |
|---|---|
static class |
Netflow9UdpParser.SessionKey |
HOUSEKEEPING_INTERVAL| Constructor and Description |
|---|
Netflow9UdpParser(String name,
AsyncDispatcher<TelemetryMessage> dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected UdpSessionManager.SessionKey |
buildSessionKey(InetSocketAddress remoteAddress,
InetSocketAddress localAddress) |
boolean |
handles(ByteBuffer buffer)
Returns true if the implementor can handle the incoming data, otherwise false.
|
protected RecordProvider |
parse(Session session,
ByteBuffer buffer) |
getTemplateTimeout, parse, setTemplateTimeout, start, stopgetName, serialize, transmitpublic Netflow9UdpParser(String name, AsyncDispatcher<TelemetryMessage> dispatcher)
protected RecordProvider parse(Session session, ByteBuffer buffer) throws Exception
parse in class UdpParserBaseExceptionpublic boolean handles(ByteBuffer buffer)
Dispatchablehandles in interface Dispatchablebuffer - Representing the incoming dataprotected UdpSessionManager.SessionKey buildSessionKey(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
buildSessionKey in class UdpParserBaseCopyright © 2019. All rights reserved.