java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.message.OutboundClientMessageOneShotJob.SendTimeoutJob
- All Implemented Interfaces:
Job
- Enclosing class:
OutboundClientMessageOneShotJob
Fired after the basic timeout for sending through the given tunnel has been reached. We'll accept successes later, but won't expect them.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SessionKeyKey for decrypting the reply.private final TagSetHandleTags the reply was encrypted with.Constructor Summary
ConstructorsConstructorDescriptionSendTimeoutJob(SessionKey key, TagSetHandle tags) Create a new timeout job that will be fired when the reply is not received.Method Summary
All MethodsMethods inherited from class JobImpl
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringModifier and TypeMethodDescriptionvoiddropped()Default implementation does nothing.final RouterContextThe router context that this job belongs to.longgetJobId()The unique job ID for this job.longThe timestamp when this job was last made ready for execution.The timing object for this job.voidmadeReady(long now) For JobQueue only, not for external use.protected voidrequeue(long delayMs) Requeue this job to run after the specified delay.toString()
Field Details
_key
Key for decrypting the reply._tags
Tags the reply was encrypted with.
Constructor Details
SendTimeoutJob
Create a new timeout job that will be fired when the reply is not received. This is only instantiated if we are expecting a reply.- Parameters:
key- may be nulltags- may be null
Method Details
getName
runJob
public void runJob()May be run after SendSuccessJob, will have no effect.