Packages that use CommSystemFacade.Status
Package
Description
The I2P router application handles I2P network communication.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of CommSystemFacade.Status in net.i2p.router
Subclasses with type arguments of type CommSystemFacade.Status in net.i2p.routerModifier and TypeClassDescriptionstatic enumNetwork connectivity status enumeration for IPv4 and IPv6 transport capabilities.Methods in net.i2p.router that return CommSystemFacade.StatusModifier and TypeMethodDescriptionCommSystemFacade.getStatus()Determine under what conditions we are remotely reachable.static CommSystemFacade.StatusCommSystemFacade.Status.merge(CommSystemFacade.Status oldStatus, CommSystemFacade.Status newStatus) Merge the new status with the old status, producing the best combined estimate.static CommSystemFacade.StatusReturns the enum constant of this class with the specified name.static CommSystemFacade.Status[]CommSystemFacade.Status.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.i2p.router with parameters of type CommSystemFacade.StatusModifier and TypeMethodDescriptionstatic CommSystemFacade.StatusCommSystemFacade.Status.merge(CommSystemFacade.Status oldStatus, CommSystemFacade.Status newStatus) Merge the new status with the old status, producing the best combined estimate.Uses of CommSystemFacade.Status in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type CommSystemFacade.StatusModifier and TypeMethodDescriptionprivate booleanStartExplorersJob.shouldExplore(long lag, long msgDelay, CommSystemFacade.Status commStatus) Determines if conditions allow for exploration based on lag, message delay, and comm status.Uses of CommSystemFacade.Status in net.i2p.router.transport
Methods in net.i2p.router.transport that return CommSystemFacade.StatusModifier and TypeMethodDescriptionTransport.getReachabilityStatus()The current reachability status of this transport.abstract CommSystemFacade.StatusTransportImpl.getReachabilityStatus()Previously returned short, now enum as of 0.9.20.(package private) CommSystemFacade.StatusTransportManager.getReachabilityStatus()Previously returned short, now enum as of 0.9.20.CommSystemFacadeImpl.getStatus()The current network status.Uses of CommSystemFacade.Status in net.i2p.router.transport.ntcp
Fields in net.i2p.router.transport.ntcp with type parameters of type CommSystemFacade.StatusModifier and TypeFieldDescriptionprivate static final Set<CommSystemFacade.Status> EventPumper.STATUS_OKReachability statuses that allow inbound connections.Methods in net.i2p.router.transport.ntcp that return CommSystemFacade.StatusModifier and TypeMethodDescription(package private) static CommSystemFacade.StatusNTCPTransport.decideReachabilityFromInboundActivity(boolean v4OK, boolean v6OK, boolean v4Disabled, boolean v6Disabled, boolean fwV4, boolean fwV6, boolean hasV4, boolean hasV6, boolean haveIPv6Address, boolean showFirewalled) Decides the reachability status from recent inbound activity of each address family.(package private) static CommSystemFacade.StatusNTCPTransport.decideReachabilityHeader(boolean fwV4, boolean fwV6, boolean alive, boolean hasV4, boolean hasV6, boolean showFirewalled) Decides the reachability status that does not depend on live inbound connections.(package private) static CommSystemFacade.StatusNTCPTransport.decideReachabilityTail(boolean v4OK, boolean v6OK, boolean v4Disabled, boolean showFirewalled, boolean haveIPv6Address) Decides the reachability status after the live inbound-connection scan.NTCPTransport.getReachabilityStatus()Maybe we should trust UPnP here and report OK if it opened the port, but for now we don't.Methods in net.i2p.router.transport.ntcp with parameters of type CommSystemFacade.StatusModifier and TypeMethodDescriptionprivate voidNTCPTransport.addressChanged(CommSystemFacade.Status old) Only called if SSU is disabled AND our address changed.Uses of CommSystemFacade.Status in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as CommSystemFacade.StatusModifier and TypeFieldDescriptionprivate CommSystemFacade.StatusUDPTransport._reachabilityStatusOur measured reachability.private CommSystemFacade.StatusUDPTransport._reachabilityStatusPendingA new reachability awaiting confirmation.Fields in net.i2p.router.transport.udp with type parameters of type CommSystemFacade.StatusModifier and TypeFieldDescriptionprivate static final Set<CommSystemFacade.Status> UDPTransport.STATUS_FWStatuses in which either family is firewalled.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV4_FWStatuses in which our IPv4 is firewalled.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV4_NO_TESTStatuses in which we cannot be a v4 Charlie.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV4_SYMNATStatuses in which IPv4 sits behind a symmetric NAT.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV4_UNKStatuses in which our IPv4 reachability is unknown.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV6_FWStatuses in which our IPv6 is firewalled.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV6_FW_2Statuses treating IPv6 as firewalled, ambiguous ones included.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV6_NO_TESTStatuses in which we cannot be a v6 Charlie.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV6_OKStatuses in which our IPv6 is reachable.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_IPV6_UNKStatuses in which our IPv6 reachability is unknown.private static final Set<CommSystemFacade.Status> UDPTransport.STATUS_OKStatuses in which our IPv4 is reachable.Methods in net.i2p.router.transport.udp that return CommSystemFacade.StatusModifier and TypeMethodDescription(package private) static CommSystemFacade.StatusUDPTransport.applyIPv6Only(CommSystemFacade.Status status, boolean isIPv6Only) Collapse a merged status when the transport runs in IPv6-only mode.(package private) static CommSystemFacade.StatusUDPTransport.applyNoIPv6Address(CommSystemFacade.Status status, boolean hasIPv6Address) Collapse a merged status when the router has no IPv6 address to publish.UDPTransport.getReachabilityStatus()Current reachability status, possibly overridden by configuration.Methods in net.i2p.router.transport.udp with parameters of type CommSystemFacade.StatusModifier and TypeMethodDescription(package private) static CommSystemFacade.StatusUDPTransport.applyIPv6Only(CommSystemFacade.Status status, boolean isIPv6Only) Collapse a merged status when the transport runs in IPv6-only mode.(package private) static CommSystemFacade.StatusUDPTransport.applyNoIPv6Address(CommSystemFacade.Status status, boolean hasIPv6Address) Collapse a merged status when the router has no IPv6 address to publish.(package private) static UDPTransport.IPv6RebuildUDPTransport.decideIPv6Rebuild(CommSystemFacade.Status old, CommSystemFacade.Status status, boolean explicitAddressSpecified) The IPv6 external-address rebuild to perform after a committed status change.private voidPeerTestManager.honorStatus(CommSystemFacade.Status status, boolean isIPv6) Depending upon the status, fire off different events (using received port/ip/etc as necessary).(package private) static booleanUDPTransport.isFirewalled(CommSystemFacade.Status status) Whether a comm-system reachability status means we are firewalled for at least one address family.private voidUDPTransport.locked_setReachabilityStatus(CommSystemFacade.Status newStatus, boolean isIPv6) 1) Merge IPv4 or IPv6 newStatus into the current IPv4+IPv6 status 2a) If current status changed, callUDPTransport.rebuildExternalAddress(boolean)2b) Otherwise, If we need to retest, callPeerTestEvent.forceRunSoon(boolean).(package private) static booleanUDPTransport.requiresConfirmation(CommSystemFacade.Status old, CommSystemFacade.Status status, boolean isIPv6) Whether the status transition must be confirmed by a second test before it is committed, to prevent thrashing between OK and firewalled.private voidUDPTransport.setReachabilityStatus(CommSystemFacade.Status status) IPv4 only.(package private) voidUDPTransport.setReachabilityStatus(CommSystemFacade.Status status, boolean isIPv6) Update the reachability status of this router, optionally for an IPv6 change.(package private) static booleanUDPTransport.shouldRerunStatusTest(CommSystemFacade.Status old, boolean isIPv6) Whether an UNKNOWN reachability update should reschedule a peer test.