Packages that use ConnectionManager.SynStrike
Package
Description
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Uses of ConnectionManager.SynStrike in net.i2p.client.streaming.impl
Fields in net.i2p.client.streaming.impl with type parameters of type ConnectionManager.SynStrikeModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<Hash, ConnectionManager.SynStrike> ConnectionManager._synBurstStrikesEach dest's most recent SYN-burst strikes: the start of the burst window that crossed the threshold, the time that strike was recorded, and how many distinct windows have tripped inside the current strike window.Methods in net.i2p.client.streaming.impl with parameters of type ConnectionManager.SynStrikeModifier and TypeMethodDescriptionprivate static booleanConnectionManager.strikeForgiven(ConnectionManager.SynStrike last, long now, long strikeWindowMs) Whetherlasthas aged out of the forgiveness window (or was stamped in the future by a clock adjustment, which is treated the same way so a skewed clock can never ban).(package private) static ConnectionManager.SynBurstActionConnectionManager.synBurstStrikeAction(ConnectionManager.SynStrike last, long windowStart, long now, long strikeWindowMs, int requiredStrikes) Pure decision for the multi-strike SYN-burst gate.Method parameters in net.i2p.client.streaming.impl with type arguments of type ConnectionManager.SynStrikeModifier and TypeMethodDescription(package private) static ConnectionManager.SynBurstActionConnectionManager.applySynBurstStrike(ConcurrentHashMap<Hash, ConnectionManager.SynStrike> strikes, Hash h, long windowStart, long now, long strikeWindowMs, int requiredStrikes) Atomically evaluate and apply a burst-gate trip againsth's recorded strike.