Packages that use net.i2p.util
Package
Description
M-Lab NDT speed test plugin code imported from Vuze, used by the router console speed test.
Swing compatibility stubs for the imported Vuze M-Lab NDT client.
Web100 Network Diagnostic Tool applet behind the router console speed test.
Fortuna pseudo-random number generator from GNU Crypto, modified for I2P.
The SusiDNS webapp, which is the user interface for the addressbook application and the local naming service (hosts database) implemented in
net.i2p.client.naming. Utility classes for the SusiMail webmail client.
The SusiMail webapp (mail.war): webmail interface with POP3 and SMTP clients over I2P and local caching.
MIME and character encoding support for SusiMail.
POP3 client (RFC 1939) for SusiMail, including APOP authentication.
SMTP client for SusiMail, including STARTTLS and authentication.
Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services, centered on I2PAppContext.
Address book application for fetching and maintaining I2P host databases from subscription sources.
SSL/TLS socket factory and hostname verification extracted from Apache HttpClient 4.4.1, with minimal modifications to remove other Apache dependencies.
System tray applet that launches a browser to the router console when the router is ready.
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. Naming service for resolving human-readable names (such as ident.i2p) into I2P destinations, providing a standard interface without JNDI complexity.
API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for communicating over IP-like (unreliable, unauthenticated, unordered) I2P messages.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Core cryptographic primitives used throughout I2P: symmetric ciphers (AES, ChaCha20), hashes (SHA-1, SHA-256, SHA-384, SHA-512), HMAC and HKDF key derivation, the ElGamal and DSA/EdDSA/RedDSA engines, key and certificate utilities, and the entropy harvester.
Common data structures used by the I2P protocols: Destination, LeaseSet, PublicKey, Signature, Certificate and their friends.
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
Low-level messages sent between routers - the Invisible Internet Network Protocol (I2NP).
Router-specific data structures: RouterInfo and RouterIdentity with their transport addresses and capabilities, router key generation, and the optionally password-protected router private key file.
Desktop GUI for monitoring and controlling the router from the system tray: status display, start/stop/restart controls and console access.
I2P Control service: a JSON-RPC 2.0 interface for controlling and monitoring the router from external applications, served over TLS on the configured port.
Authentication and authorization for the I2P Control service: token management and keystore handling.
Request handling for the I2P Control JSON-RPC 2.0 service.
I2P Control handlers for reading and writing router configuration parameters.
I2P Control JSON-RPC 2.0 method handlers: API version, router parameters, statistics and log access.
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
Definition-based incoming connection filter for server tunnels, with fine-grained access control by destination.
IRC tunnel support: DCC and CTCP handling for IRC clients using a client tunnel.
Minimal embedded HTTP server used by the I2PTunnel local admin interface.
SOCKS 4, 4a and 5 server implementations exposing I2P client tunnels to SOCKS clients.
StreamR adaptive-rate streaming tunnel: streams audio and video over a single I2P tunnel, adapting the encoder rate to the measured tunnel bandwidth.
Datagram plumbing for UDP tunnels: sinks and sources that bridge a local UDP socket and an I2P stream, framing each datagram onto the stream and back.
Base classes for UDP client and server tunnels, mapping a local UDP port to an I2P tunnel through the sinks and sources in
net.i2p.i2ptunnel.udp. Shared helpers for the tunnel implementations, including HTTP header processing.
The I2PTunnel configuration web interface (i2ptunnel.war): servlets and helpers for creating and editing tunnels.
Jetty integration: starts the embedded Jetty server for all I2P webapps.
Generic Kademlia distributed hash table implementation supporting multiple hash algorithms (SHA1, SHA256 and others).
The I2P router application handles I2P network communication.
Router-side implementation of the Invisible Internet Client Protocol (I2CP): client sessions over plain or TLS sockets, message delivery, and lease and tunnel management on behalf of clients.
Router-specific cryptography: ElGamal+AES garlic encryption (ElGamalAESEngine), session key and tag caching for repeated peer communication (TransientSessionKeyManager), router-family shared keys (FamilyKeyCrypto), and the ratchet and pqc subpackages.
Post-quantum hybrid key encapsulation built on the bundled Bouncy Castle ML-KEM primitives.
The Double Ratchet with X25519 key agreement and ECIES hybrid encryption, used by the NTCP2 and SSU transports for session encryption.
Simplified fake implementations of router interfaces (comm system and friends) for testing and embedded builds.
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
The router's default naming service, BlockfileNamingService, backed by the Metanotion BlockFile database (
net.metanotion) in hostsdb.dat. Network database message handling shared by all facades: database lookup jobs and local RouterInfo publication.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Reseeding: fetching router info lists from reseed servers, web indexes or local files, validating them (signed SU3 update files and unsigned ZIP archives) and processing them to bootstrap into the network.
Parser for the I2P news format, which follows Atom with additional metadata for the update notification feature.
Peer profiles and capacity calculation, peer test jobs, peer selection for tunnel building, and the database and tunnel history used for peer selection.
The I2P startup package loads configuration when I2P is started.
Offline analysis tools for detecting Sybil attacks and malicious peer coordination by correlating peer relationships.
Periodic maintenance jobs: stats coalescing, cryptographic algorithm checks, liveliness marking, out-of-memory handling, thread dumps, the watchdog, graceful shutdown and soft restart, update installation, republishing and config reloading.
Router time synchronization: peer-based clock sync (RouterTimestamper) and an NTP client with time zone support.
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.
Transport-layer key agreement: the X25519 key factory used by the NTCP2 and SSU2 session handshakes for peer authentication and session encryption.
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.
Tunnel messages and the tunnel layer: the
TunnelManagerFacade, tunnel build request and reply processing, and the inbound and outbound tunnel structures. Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Router-side update checking and installation: fetching update notifications, downloading and verifying updates, and staging them for the restart.
Router utility classes: CoDel active queue management, time-decaying collections, a diagnostics ring buffer, CIDR matching, and password management.
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
Router console servlets packaged in routerconsole.war, for pages that require servlet features rather than JSP helpers.
The SAM bridge: a simple text protocol server letting applications in any language use I2P streaming and datagram sessions without implementing the Invisible Internet Client Protocol (I2CP).
Demo and test client classes.
Servlet filters for I2P webapps: XSS protection and X-Forwarded header handling.
Statistics collection framework used throughout the router for adaptive operation, monitoring and debugging.
General utility classes shared across the core libraries and the router.
Block-level file and allocation management for the Metanotion BlockFile database.
Skip-list implementation used for BlockFile indexes.
General utility classes and helper functions.
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
BitTorrent distributed hash table (DHT) implementation following the Mainline protocol, for trackerless peer discovery.
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
- Classes in net.i2p.util used by com.vuze.plugins.mlab
- Classes in net.i2p.util used by com.vuze.plugins.mlab.tools.ndt.swingemu
- Classes in net.i2p.util used by edu.internet2.ndtClassDescriptionLoads trusted ASCII certs from ~/.i2p/certificates/ and $I2P/certificates/.Wrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by gnu.crypto.prng
- Classes in net.i2p.util used by i2p.susi.dns
- Classes in net.i2p.util used by i2p.susi.util
- Classes in net.i2p.util used by i2p.susi.webmail
- Classes in net.i2p.util used by i2p.susi.webmail.encoding
- Classes in net.i2p.util used by i2p.susi.webmail.pop3ClassDescriptionLike
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by i2p.susi.webmail.smtp
- Classes in net.i2p.util used by net.i2pClassDescriptionAlternate location for determining the time which takes into account an offset.This class contains a number of properties ((key,value)-pairs).Callback interface for property change notifications.Thread-safe mapping from router hashes to session keys.Manages the logging system, loading (and reloading) the configuration file, coordinating the log limits, and storing the set of log records pending.Map services to internal or external application ports for this context.Singleton for whatever PRNG i2p uses.Scheduled event executor backed by
ScheduledThreadPoolExecutor. - Classes in net.i2p.util used by net.i2p.addressbookClassDescriptionSimple command line access to various utilities.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses. - Classes in net.i2p.util used by net.i2p.apache.http.conn.ssl
- Classes in net.i2p.util used by net.i2p.apps.systrayClassDescriptionWrapper class for whatever logging system I2P uses.Passes a command to the OS shell for execution and manages the input and output.
- Classes in net.i2p.util used by net.i2p.client.implClassDescriptionWrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.client.namingClassDescriptionWrapper class for whatever logging system I2P uses.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).
- Classes in net.i2p.util used by net.i2p.client.streamingClassDescriptionEepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] url.Wrapper class for whatever logging system I2P uses.Implements one or two timers; one for inactivity, that is reset by
SocketTimeout.resetTimer(), and optionally, a total time since instantiation, that is configured bySocketTimeout.setTotalTimeoutPeriod(long). - Classes in net.i2p.util used by net.i2p.client.streaming.implClassDescriptionA Westwood bandwidth estimator.Cache the objects frequently used to reduce memory churn.Alternate location for determining the time which takes into account an offset.Wrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Scheduled event executor backed by
ScheduledThreadPoolExecutor.Base class for timer events. - Classes in net.i2p.util used by net.i2p.cryptoClassDescriptionWrapper class for whatever logging system I2P uses.BigInteger that takes advantage of the jbigi library for the modPow operation, which accounts for a massive segment of the processing cost of asymmetric crypto.
- Classes in net.i2p.util used by net.i2p.dataClassDescriptionCache the objects frequently used to reduce memory churn.Wrapper class for whatever logging system I2P uses.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).
- Classes in net.i2p.util used by net.i2p.data.i2cp
- Classes in net.i2p.util used by net.i2p.data.i2np
- Classes in net.i2p.util used by net.i2p.data.routerClassDescriptionWrapper class for whatever logging system I2P uses.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).
- Classes in net.i2p.util used by net.i2p.desktopgui
- Classes in net.i2p.util used by net.i2p.i2pcontrol
- Classes in net.i2p.util used by net.i2p.i2pcontrol.securityClassDescriptionWrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.i2pcontrol.servlets
- Classes in net.i2p.util used by net.i2p.i2pcontrol.servlets.configuration
- Classes in net.i2p.util used by net.i2p.i2pcontrol.servlets.jsonrpc2handlers
- Classes in net.i2p.util used by net.i2p.i2ptunnelClassDescriptionCache the objects frequently used to reduce memory churn.Alternate location for determining the time which takes into account an offset.Event dispatching interface.An implementation of the EventDispatcher interface.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Loads trusted ASCII certs from ~/.i2p/certificates/ and $I2P/certificates/.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by net.i2p.i2ptunnel.access
- Classes in net.i2p.util used by net.i2p.i2ptunnel.ircClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses. - Classes in net.i2p.util used by net.i2p.i2ptunnel.localServer
- Classes in net.i2p.util used by net.i2p.i2ptunnel.socksClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Wrapper class for whatever logging system I2P uses.
- Classes in net.i2p.util used by net.i2p.i2ptunnel.streamrClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Wrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.i2ptunnel.udp
- Classes in net.i2p.util used by net.i2p.i2ptunnel.udpTunnelClassDescriptionEvent dispatching interface.An implementation of the EventDispatcher interface.Wrapper class for whatever logging system I2P uses.
- Classes in net.i2p.util used by net.i2p.i2ptunnel.util
- Classes in net.i2p.util used by net.i2p.i2ptunnel.webClassDescriptionWrapper class for whatever logging system I2P uses.A queue of messages, where each has an ID number.
- Classes in net.i2p.util used by net.i2p.jetty
- Classes in net.i2p.util used by net.i2p.kademlia
- Classes in net.i2p.util used by net.i2p.routerClassDescriptionAlternate location for determining the time which takes into account an offset.Listener for clock offset changes.Simple command line access to various utilities.Callback interface for property change notifications.Preferred over
Threadfor all router uses.Listener for out-of-memory events.Thread-safe mapping from router hashes to session keys.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.clientClassDescriptionWrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.router.cryptoClassDescriptionWrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.router.crypto.pqc
- Classes in net.i2p.util used by net.i2p.router.crypto.ratchetClassDescriptionPreferred over
Threadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.dummy
- Classes in net.i2p.util used by net.i2p.router.messageClassDescriptionWrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.router.naming
- Classes in net.i2p.util used by net.i2p.router.networkdb
- Classes in net.i2p.util used by net.i2p.router.networkdb.kademliaClassDescriptionWrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Scheduled event executor backed by
ScheduledThreadPoolExecutor.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.networkdb.reseedClassDescriptionCallback interface for monitoring EepGet transfer progress.Wrapper class for whatever logging system I2P uses.Base class for timer events.Not all may be supported.An opaque class for the caller to pass to repeated instantiations of SSLEepGet.
- Classes in net.i2p.util used by net.i2p.router.newsClassDescriptionSimple command line access to various utilities.Wrapper class for whatever logging system I2P uses.
- Classes in net.i2p.util used by net.i2p.router.peermanagerClassDescriptionPreferred over
Threadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.startupClassDescriptionWrapper class for whatever logging system I2P uses.Scheduled event executor backed by
ScheduledThreadPoolExecutor.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.sybil
- Classes in net.i2p.util used by net.i2p.router.tasksClassDescriptionListener for out-of-memory events.Wrapper class for whatever logging system I2P uses.Base class for timer events.
- Classes in net.i2p.util used by net.i2p.router.time
- Classes in net.i2p.util used by net.i2p.router.transportClassDescriptionEnumeration of supported address types.Preferred over
Threadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events.A "synthetic" queue that does not store data but estimates the average queue size assuming a fixed output bandwidth, and applies the Random Early Detection (RED) algorithm to decide probabilistically whether to accept or drop packets. - Classes in net.i2p.util used by net.i2p.router.transport.crypto
- Classes in net.i2p.util used by net.i2p.router.transport.ntcpClassDescriptionCache the objects frequently used to reduce memory churn.Wrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).Singleton for whatever PRNG i2p uses.Base class for timer events.A thread-safe, lock-free-ish object cache that reuses objects to reduce allocation overhead.Factory interface for creating new objects in TryCache.
- Classes in net.i2p.util used by net.i2p.router.transport.udpClassDescriptionA Westwood bandwidth estimator.Cache the objects frequently used to reduce memory churn.A LinkedHashMap with a maximum size, for use as an LRU cache.Wrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Properties map that has its keySet ordered consistently (via the key's lexicographical ordering).Base class for timer events.A thread-safe, lock-free-ish object cache that reuses objects to reduce allocation overhead.Factory interface for creating new objects in TryCache.
- Classes in net.i2p.util used by net.i2p.router.tunnelClassDescriptionCache the objects frequently used to reduce memory churn.Wrapper class for whatever logging system I2P uses.Base class for timer events.A "synthetic" queue that does not store data but estimates the average queue size assuming a fixed output bandwidth, and applies the Random Early Detection (RED) algorithm to decide probabilistically whether to accept or drop packets.
- Classes in net.i2p.util used by net.i2p.router.tunnel.poolClassDescriptionA small, fast Set with a maximum size, backed by a fixed-size array.Preferred over
Threadfor all router uses.A LinkedHashMap with a maximum size, for use as an LRU cache.Wrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Non-thread-safe counter for tracking occurrences of objects.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.updateClassDescriptionEepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] url.Callback interface for monitoring EepGet transfer progress.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.utilClassDescriptionImplement on top of a ConcurrentHashMap with a dummy value.Wrapper class for whatever logging system I2P uses.Manage both plaintext and salted/hashed password storage in
router.config.Base class for timer events. - Classes in net.i2p.util used by net.i2p.router.webClassDescriptionA FileFilter that accepts regular files with a suffix and optionally a prefix, case-insensitive.Wrapper class for whatever logging system I2P uses.Manage both plaintext and salted/hashed password storage in
router.config.Map services to internal or external application ports for this context.Scheduled event executor backed byScheduledThreadPoolExecutor.Base class for timer events.Translate strings efficiently. - Classes in net.i2p.util used by net.i2p.router.web.helpersClassDescriptionA LinkedHashMap with a maximum size, for use as an LRU cache.Wrapper class for whatever logging system I2P uses.Manages the logging system, loading (and reloading) the configuration file, coordinating the log limits, and storing the set of log records pending.Thread-safe counter for tracking occurrences of objects.Non-thread-safe counter for tracking occurrences of objects.Map services to internal or external application ports for this context.
- Classes in net.i2p.util used by net.i2p.router.web.servlets
- Classes in net.i2p.util used by net.i2p.samClassDescriptionCache the objects frequently used to reduce memory churn.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Loads trusted ASCII certs from ~/.i2p/certificates/ and $I2P/certificates/.Wrapper class for whatever logging system I2P uses. - Classes in net.i2p.util used by net.i2p.sam.clientClassDescriptionLike
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.Loads trusted ASCII certs from ~/.i2p/certificates/ and $I2P/certificates/.Preferred overThreadfor all router uses.Wrapper class for whatever logging system I2P uses. - Classes in net.i2p.util used by net.i2p.servlet.filters
- Classes in net.i2p.util used by net.i2p.stat
- Classes in net.i2p.util used by net.i2p.utilClassDescriptionCached IPv6 address with its scope.Enumeration of supported address types.A small, fast Set with a maximum size, backed by a fixed-size array.A Westwood bandwidth estimator.Cache the objects frequently used to reduce memory churn.Alternate location for determining the time which takes into account an offset.Listener for clock offset changes.One resolved IP with its expiry time.DNS query type for IPv4/IPv6 preference.EepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] url.Authentication mode enumeration.Manage the authentication parameters Ref: RFC 2617 Supports both Basic and Digest, however i2ptunnel HTTP proxy has migrated all previous Basic support to Digest.Parsed Content-Range header value.Callback interface for monitoring EepGet transfer progress.This is a quick hack to get a working EepHead, primarily for the following usage:Event dispatching interface.Like
I2PThreadbut with per-thread OOM listeners, rather than a static router-wide listener list, so that an OOM in an app won't call the router listener to shutdown the whole router.This class contains a number of properties ((key,value)-pairs).Callback interface for property change notifications.Preferred overThreadfor all router uses.Listener for out-of-memory events.A simple in-JVM ServerSocket using Piped Streams.A simple in-JVM Socket using Piped Streams.A LinkedHashMap with a maximum size, for use as an LRU cache.Wrapper class for whatever logging system I2P uses.One named logging scope and its settings.Offer a glimpse into the last few console messages generated.Defines the log limit for a particular set of logs.Manages the logging system, loading (and reloading) the configuration file, coordinating the log limits, and storing the set of log records pending.Keep track of a log entry, unformatted.Collapses repeated occurrences of the same log message.What the caller should do with one occurrence.Per-key bookkeeping.Log writer thread that pulls log records from the LogManager and writes them to the log.Simple lookahead buffer to keep the last K bytes in reserve, configured to easily be reused.Thread-safe counter for tracking occurrences of objects.Modifiable integer.Orders entries by key so the written file is stable.Singleton for whatever PRNG i2p uses.GZIP implementation per RFC 1952, reusing java's standard CRC32 and Inflater and InflaterInputStream implementations.Essentially a SequenceInputStream(in, new ByteArrayInputStream(new byte[1])), except that this is resettable.GZIP implementation per RFC 1952, reusing java's standard CRC32 and Deflater implementations.Provide a cache of reusable GZIP unzipper streams.Provide a cache of reusable GZIP streams, each handling up to 40 KB output without expansion.Same as File but sets the file mode afterSecureDirectory.mkdir()so it can be read and written by the owner only (i.e.Holds the result of a shell command.Like ByteCache but works directly with byte arrays, not ByteArrays.A set ofSimpleByteCache, keyed by array size.Replaced wholesale on growth, so a reader always sees a complete one.Scheduled event executor backed byScheduledThreadPoolExecutor.Samples this timer on its own daemon thread and reports a pool that has stopped keeping up.Base class for timer events.State of a given TimedEvent.What a single saturation-watchdog sample means.Implements one or two timers; one for inactivity, that is reset bySocketTimeout.resetTimer(), and optionally, a total time since instantiation, that is configured bySocketTimeout.setTotalTimeoutPeriod(long).HTTPS only, no retries, no min and max size options, no timeout option As of 0.9.45, supports redirect to https (redirect to http will still fail).Not all may be supported.From http://blogs.sun.com/andreas/resource/InstallCert.java This just saves the certificate chain for later inspection.An opaque class for the caller to pass to repeated instantiations of SSLEepGet.A "synthetic" queue that does not store data but estimates the average queue size assuming a fixed output bandwidth, and applies the Random Early Detection (RED) algorithm to decide probabilistically whether to accept or drop packets.The states of the parser, all of which may transition to START.Callback handling each translated string.A thread-safe, lock-free-ish object cache that reuses objects to reduce allocation overhead.Factory interface for creating new objects in TryCache.A queue of messages, where each has an ID number.Represents a single UI message with a unique identifier. - Classes in net.i2p.util used by net.metanotion.io.block
- Classes in net.i2p.util used by net.metanotion.util.skiplist
- Classes in net.i2p.util used by org.cybergarage.util
- Classes in net.i2p.util used by org.klomp.snarkClassDescriptionCache the objects frequently used to reduce memory churn.Simple command line access to various utilities.EepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] url.Callback interface for monitoring EepGet transfer progress.Wrapper class for whatever logging system I2P uses.Thread-safe counter for tracking occurrences of objects.Singleton for whatever PRNG i2p uses.Base class for timer events.A "synthetic" queue that does not store data but estimates the average queue size assuming a fixed output bandwidth, and applies the Random Early Detection (RED) algorithm to decide probabilistically whether to accept or drop packets.A queue of messages, where each has an ID number.Represents a single UI message with a unique identifier.
- Classes in net.i2p.util used by org.klomp.snark.dhtClassDescriptionWrapper class for whatever logging system I2P uses.Singleton for whatever PRNG i2p uses.Base class for timer events.
- Classes in net.i2p.util used by org.klomp.snark.webClassDescriptionCache the objects frequently used to reduce memory churn.EepGet [-p 127.0.0.1:4444] [-n #retries] [-o outputFile] [-m markSize lineLen] url.Callback interface for monitoring EepGet transfer progress.Wrapper class for whatever logging system I2P uses.