Package org.ka2ddo.yaac.io
Enum Class PortConnector.PortStatsType
- All Implemented Interfaces:
Serializable
,Comparable<PortConnector.PortStatsType>
,Constable
- Enclosing class:
- PortConnector
This enum is used to select which sets of statistics should be returned.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGet all traffic not sent through this port because of blacklisting.Get all traffic digipeated through this station.Get all traffic originated from this station.Get counts of other types of traffic sent through this port.Get all traffic I-gated from RF to Internet through this port.Get the total traffic sent through this port.Get all traffic I-gated from Internet to RF through this port. -
Method Summary
Modifier and TypeMethodDescriptionstatic PortConnector.PortStatsType
Returns the enum constant of this class with the specified name.static PortConnector.PortStatsType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOTAL
Get the total traffic sent through this port. -
LOCAL_ORIGIN
Get all traffic originated from this station. -
DIGIPEAT
Get all traffic digipeated through this station. -
RX_IGATE
Get all traffic I-gated from RF to Internet through this port. -
TX_IGATE
Get all traffic I-gated from Internet to RF through this port. -
BLACKLIST
Get all traffic not sent through this port because of blacklisting. -
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
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
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 nameNullPointerException
- if the argument is null
-