Packages that use Clock
Package
Description
Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services, centered on I2PAppContext.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
The I2P router application handles I2P network communication.
General utility classes shared across the core libraries and the router.
Uses of Clock in net.i2p
Uses of Clock in net.i2p.client.streaming.impl
Methods in net.i2p.client.streaming.impl with parameters of type ClockModifier and TypeMethodDescription(package private) static longConnectionManager.awaitCooldown(Object lock, long delay, Clock clock) Wait out the remainder of a destination's connect cooldown.Uses of Clock in net.i2p.i2ptunnel
Fields in net.i2p.i2ptunnel declared as ClockModifier and TypeFieldDescriptionprivate final ClockI2PTunnelRunner.ResumeBudget._clockThe clock for the deadline checks.Constructors in net.i2p.i2ptunnel with parameters of type ClockModifierConstructorDescription(package private)ResumeBudget(long deadlineMs, Clock clock) When a deadline is actually set (so the cycle-only path costs no clock lookup at all).(package private)ResumeBudget(Clock clock) Production constructor: bounds the sequence by wall clock as well as by cycle count.Uses of Clock in net.i2p.router
Subclasses of Clock in net.i2p.routerModifier and TypeClassDescriptionclassAlternate location for determining the time which takes into account an offset.Uses of Clock in net.i2p.util
Methods in net.i2p.util that return ClockModifier and TypeMethodDescriptionstatic ClockClock.getInstance()Shared clock for code without a router context.