Package net.i2p.client.streaming.impl
Class Connection.ResendPacketEvent
- java.lang.Object
-
- net.i2p.util.SimpleTimer2.TimedEvent
-
- net.i2p.client.streaming.impl.Connection.ResendPacketEvent
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Connection
class Connection.ResendPacketEvent extends SimpleTimer2.TimedEvent
Coordinate the resends of a given packet
-
-
Field Summary
-
Fields inherited from class net.i2p.util.SimpleTimer2.TimedEvent
_state, DEFAULT_FUZZ
-
-
Constructor Summary
Constructors Constructor Description ResendPacketEvent(PacketLocal packet, long delay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNextSendTime()
void
timeReached()
Simple interface for events to be queued up and notified on expiration the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)-
Methods inherited from class net.i2p.util.SimpleTimer2.TimedEvent
cancel, forceReschedule, reschedule, reschedule, run, schedule, setFuzz
-
-
-
-
Constructor Detail
-
ResendPacketEvent
public ResendPacketEvent(PacketLocal packet, long delay)
-
-
Method Detail
-
getNextSendTime
public long getNextSendTime()
-
timeReached
public void timeReached()
Description copied from class:SimpleTimer2.TimedEvent
Simple interface for events to be queued up and notified on expiration the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)- Specified by:
timeReached
in classSimpleTimer2.TimedEvent
-
-