Class SearchUpdateReplyFoundJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.SearchUpdateReplyFoundJob
class SearchUpdateReplyFoundJob extends JobImpl implements ReplyJob
Called after a match to a db search is found
Used only by SearchJob which is only used by ExploreJob
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SearchUpdateReplyFoundJob(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 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 receivedMethods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
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
-