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
ConstructorsConstructorDescriptionSearchUpdateReplyFoundJob(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 taskvoidrunJob()Actually perform the task.voidsetMessage(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:JobDescriptive name of the task -
runJob
public void runJob()Description copied from interface:JobActually perform the task. This call blocks until the Job is complete. -
setMessage
Description copied from interface:ReplyJobCalled by InNetMessagePool when an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received- Specified by:
setMessagein interfaceReplyJob
-