java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodfillVerifyStoreJob.VerifyReplyJob
- Enclosing class:
FloodfillVerifyStoreJob
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptiongetName()Descriptive name of the task.voidrunJob()Actually perform the task.voidsetMessage(I2NPMessage message) Called byInNetMessagePoolwhen an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received.Methods 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
_message
The reply message being handled.
Constructor Details
VerifyReplyJob
Schedules handling of a verification reply.- Parameters:
ctx- the router context
Method Details
getName
runJob
setMessage
Description copied from interface:ReplyJobCalled byInNetMessagePoolwhen an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received.- Specified by:
setMessagein interfaceReplyJob- Parameters:
message- the received I2NP message