Class FloodOnlyLookupMatchJob
- java.lang.Object
-
- net.i2p.router.JobImpl
-
- net.i2p.router.networkdb.kademlia.FloodOnlyLookupMatchJob
-
- Direct Known Subclasses:
DirectLookupMatchJob
class FloodOnlyLookupMatchJob extends JobImpl implements ReplyJob
-
-
Field Summary
Fields Modifier and Type Field Description protected Log
_log
protected FloodSearchJob
_search
protected boolean
_success
-
Constructor Summary
Constructors Constructor Description FloodOnlyLookupMatchJob(RouterContext ctx, FloodSearchJob job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Descriptive name of the taskvoid
runJob()
Actually perform the task.void
setMessage(I2NPMessage message)
Called by InNetMessagePool when an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received-
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.i2p.router.Job
dropped, getAddedBy, getJobId, getTiming
-
-
-
-
Field Detail
-
_log
protected final Log _log
-
_search
protected final FloodSearchJob _search
-
_success
protected volatile boolean _success
-
-
Constructor Detail
-
FloodOnlyLookupMatchJob
public FloodOnlyLookupMatchJob(RouterContext ctx, FloodSearchJob job)
-
-
Method Detail
-
runJob
public void runJob()
Description copied from interface:Job
Actually perform the task. This call blocks until the Job is complete.
-
setMessage
public void setMessage(I2NPMessage message)
Description copied from interface:ReplyJob
Called by InNetMessagePool when an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received- Specified by:
setMessage
in interfaceReplyJob
-
-