java.lang.Object
java.lang.Enum<RouterInfoHandler.NETWORK_STATUS>
net.i2p.i2pcontrol.servlets.jsonrpc2handlers.RouterInfoHandler.NETWORK_STATUS
- All Implemented Interfaces:
Serializable, Comparable<RouterInfoHandler.NETWORK_STATUS>, java.lang.constant.Constable
- Enclosing class:
RouterInfoHandler
Router network status, as reported by the console sidebar.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPeer clock skew over a minute.No client sessions alive after startup.No active peers at all.Network works but the NTCP2 address is not public.Symmetric NAT detected.UDP disabled and the TCP address is unset.The UDP port is in use by another process.Firewalled, no inbound connections.Hidden mode, no public address published.Network works and the TCP address is publicly routable.Network status still unknown, under test.Firewalled while claiming a fast bandwidth flag.Firewalled while floodfill is enabled.Firewalled but a public NTCP2 address is published.Firewalled with UDP disabled.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RouterInfoHandler.NETWORK_STATUS[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
OK
Network works and the TCP address is publicly routable.TESTING
Network status still unknown, under test.FIREWALLED
Firewalled, no inbound connections.HIDDEN
Hidden mode, no public address published.WARN_FIREWALLED_AND_FAST
Firewalled while claiming a fast bandwidth flag.WARN_FIREWALLED_AND_FLOODFILL
Firewalled while floodfill is enabled.WARN_FIREWALLED_WITH_INBOUND_TCP
Firewalled but a public NTCP2 address is published.WARN_FIREWALLED_WITH_UDP_DISABLED
Firewalled with UDP disabled.ERROR_I2CP
No client sessions alive after startup.ERROR_CLOCK_SKEW
Peer clock skew over a minute.ERROR_PRIVATE_TCP_ADDRESS
Network works but the NTCP2 address is not public.ERROR_SYMMETRIC_NAT
Symmetric NAT detected.ERROR_UDP_PORT_IN_USE
The UDP port is in use by another process.ERROR_NO_ACTIVE_PEERS_CHECK_CONNECTION_AND_FIREWALL
public static final RouterInfoHandler.NETWORK_STATUS ERROR_NO_ACTIVE_PEERS_CHECK_CONNECTION_AND_FIREWALLNo active peers at all.ERROR_UDP_DISABLED_AND_TCP_UNSET
UDP disabled and the TCP address is unset.
Constructor Details
NETWORK_STATUS
private NETWORK_STATUS()
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