Class DiscoveryJob


  • public class DiscoveryJob
    extends java.lang.Object
    • Constructor Detail

      • DiscoveryJob

        public DiscoveryJob​(java.util.List<IPPollRange> ranges,
                            java.lang.String foreignSource,
                            java.lang.String location,
                            double packetsPerSecond,
                            DiscoveryConfiguration config)
        Construct a DiscoveryJob. All ranges must have the same foreignSource and location for the message to be routed correctly.
        Parameters:
        ranges -
        foreignSource -
        location -
        packetsPerSecond -
        config -
    • Method Detail

      • getRanges

        public java.util.List<IPPollRange> getRanges()
      • getAddresses

        public java.lang.Iterable<IPPollAddress> getAddresses()
      • getForeignSource

        public java.lang.String getForeignSource()
      • getLocation

        public java.lang.String getLocation()
      • getPacketsPerSecond

        public double getPacketsPerSecond()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object