Class SearchUpdateReplyFoundJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.SearchUpdateReplyFoundJob
Called after a match to a db search is found
Used only by SearchJob which is only used by ExploreJob
-
Constructor Summary
ConstructorDescriptionSearchUpdateReplyFoundJob
(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job) SearchUpdateReplyFoundJob
(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
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 receivedMethods 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
-
Constructor Details
-
SearchUpdateReplyFoundJob
public SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job) -
SearchUpdateReplyFoundJob
public SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel)
-
-
Method Details
-
getName
Description copied from interface:Job
Descriptive name of the task -
runJob
public void runJob()Description copied from interface:Job
Actually perform the task. This call blocks until the Job is complete. -
setMessage
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
-