Class BmpParser

    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
      • RATE_LIMITED_LOG

        public static final com.swrve.ratelimitedlogger.RateLimitedLog RATE_LIMITED_LOG
    • Constructor Detail

      • BmpParser

        public BmpParser​(java.lang.String name,
                         AsyncDispatcher<TelemetryMessage> dispatcher,
                         DnsResolver dnsResolver,
                         io.github.resilience4j.bulkhead.Bulkhead bulkhead,
                         com.codahale.metrics.MetricRegistry metricRegistry)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Parser
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface Parser
      • start

        public void start​(java.util.concurrent.ScheduledExecutorService executorService)
        Specified by:
        start in interface Parser
      • stop

        public void stop()
        Specified by:
        stop in interface Parser
      • accept

        public TcpParser.Handler accept​(java.net.InetSocketAddress remoteAddress,
                                        java.net.InetSocketAddress localAddress)
        Specified by:
        accept in interface TcpParser
      • dumpInternalState

        public java.lang.Object dumpInternalState()
        Specified by:
        dumpInternalState in interface Parser
      • isDnsLookupsEnabled

        public boolean isDnsLookupsEnabled()
      • setDnsLookupsEnabled

        public void setDnsLookupsEnabled​(boolean dnsLookupsEnabled)