Class BmpParser
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.BmpParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.netmgt.telemetry.listeners.TcpParser
TcpParser.Handler
-
-
Field Summary
Fields Modifier and Type Field Description static longHEARTBEAT_INTERVALstatic org.slf4j.LoggerLOGstatic com.swrve.ratelimitedlogger.RateLimitedLogRATE_LIMITED_LOG
-
Constructor Summary
Constructors Constructor Description BmpParser(String name, AsyncDispatcher<TelemetryMessage> dispatcher, DnsResolver dnsResolver, io.github.resilience4j.bulkhead.Bulkhead bulkhead, com.codahale.metrics.MetricRegistry metricRegistry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpParser.Handleraccept(InetSocketAddress remoteAddress, InetSocketAddress localAddress)static Transport.IpAddressaddress(InetAddress address)ObjectdumpInternalState()StringgetDescription()StringgetName()booleanisDnsLookupsEnabled()voidsetDnsLookupsEnabled(boolean dnsLookupsEnabled)voidstart(ScheduledExecutorService executorService)voidstop()
-
-
-
Field Detail
-
LOG
public static final org.slf4j.Logger LOG
-
RATE_LIMITED_LOG
public static final com.swrve.ratelimitedlogger.RateLimitedLog RATE_LIMITED_LOG
-
HEARTBEAT_INTERVAL
public static final long HEARTBEAT_INTERVAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BmpParser
public BmpParser(String name, AsyncDispatcher<TelemetryMessage> dispatcher, DnsResolver dnsResolver, io.github.resilience4j.bulkhead.Bulkhead bulkhead, com.codahale.metrics.MetricRegistry metricRegistry)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceParser
-
start
public void start(ScheduledExecutorService executorService)
-
accept
public TcpParser.Handler accept(InetSocketAddress remoteAddress, InetSocketAddress localAddress)
-
dumpInternalState
public Object dumpInternalState()
- Specified by:
dumpInternalStatein interfaceParser
-
isDnsLookupsEnabled
public boolean isDnsLookupsEnabled()
-
setDnsLookupsEnabled
public void setDnsLookupsEnabled(boolean dnsLookupsEnabled)
-
address
public static Transport.IpAddress address(InetAddress address)
-
-