Enum Class PortConnector.PortStatsType

java.lang.Object
java.lang.Enum<PortConnector.PortStatsType>
org.ka2ddo.yaac.io.PortConnector.PortStatsType
All Implemented Interfaces:
Serializable, Comparable<PortConnector.PortStatsType>, Constable
Enclosing class:
PortConnector

public static enum PortConnector.PortStatsType extends Enum<PortConnector.PortStatsType>
This enum is used to select which sets of statistics should be returned.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • TOTAL

      public static final PortConnector.PortStatsType TOTAL
      Get the total traffic sent through this port.
    • LOCAL_ORIGIN

      public static final PortConnector.PortStatsType LOCAL_ORIGIN
      Get all traffic originated from this station.
    • DIGIPEAT

      public static final PortConnector.PortStatsType DIGIPEAT
      Get all traffic digipeated through this station.
    • RX_IGATE

      public static final PortConnector.PortStatsType RX_IGATE
      Get all traffic I-gated from RF to Internet through this port.
    • TX_IGATE

      public static final PortConnector.PortStatsType TX_IGATE
      Get all traffic I-gated from Internet to RF through this port.
    • BLACKLIST

      public static final PortConnector.PortStatsType BLACKLIST
      Get all traffic not sent through this port because of blacklisting.
    • OTHER

      public static final PortConnector.PortStatsType OTHER
      Get counts of other types of traffic sent through this port. For example, remote GPS ports that generate APRS objects would get transmit statistics here.
  • Method Details

    • values

      public static PortConnector.PortStatsType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PortConnector.PortStatsType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null