package net.i2p.router.transport
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. Not for use by apps, clients or plugins.
- ClassDescriptionPrimary implementation of the communication system facade for I2P network operations.Arbitrary sort for consistency.Country-code lookup, caching, and strict-country policy for the router.FIFO-based bandwidth limiter for managing inbound and outbound traffic.Listener for bandwidth request completion events.A request that always succeeds without capacity.A bandwidth request, either inbound or outbound.One bandwidth capacity request.Bandwidth token refiller for FIFO-based bandwidth limiting.Manage geoip lookup in a file with the Tor geoip format.Generate compressed geoipv6.dat.gz file, and lookup entries in it.Used to temporarily hold, sort, and merge entries before compressing.Retrieves transport bids for outbound message delivery.Tracks outbound messages.HTML rendering of peers (flag, capability bar, identity block) for the NetDb, PeerHelper, and tunnel pages.Priority-aware bounded send pool for NTCP transport.Reverse-DNS resolver and cache for the comm system.Cache entry for IP address and hostname mappings.Timer writing the cache file periodically.Maintains list of countries with strict application restrictions.Core interface for I2P transport protocols.Source of transport address configuration.Represents a transport's bid for message delivery cost.Handles transport events including message receipt and address changes.Defines a way to send a message to another peer and start listening for messages.Compare based on published cost, adjusting for our IPv6 preference.Central coordinator for all I2P transport protocols.Immutable getEstablished() snapshot plus its expiry, holding an unmodifiable peer hash list and the wall-clock ms after which the snapshot is stale.Port configuration for transport protocols.Utility class providing common transport operations and configurations.IPv6 configuration options for transports.Discovers UPnP internet gateways and forwards local ports through them.IPv6-specific port forwarding configuration.Compare based on friendly name of the device.Universal Plug and Play (UPnP) manager for NAT traversal and port forwarding.For Android MulticastLock.