Packages that use ReplyJob
Package
Description
The I2P router application handles I2P network communication.
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Peer profiles and capacity calculation, peer test jobs, peer selection for tunnel building, and the database and tunnel history used for peer selection.
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of ReplyJob in net.i2p.router
Fields in net.i2p.router declared as ReplyJobModifier and TypeFieldDescriptionprivate ReplyJobOutNetMessage._onReplyJob run when the reply arrives.Methods in net.i2p.router that return ReplyJobModifier and TypeMethodDescriptionOutNetMessage.getOnReplyJob()If the MessageSelector detects a reply, this job is enqueued.Methods in net.i2p.router with parameters of type ReplyJobModifier and TypeMethodDescriptionvoidOutNetMessage.setOnReplyJob(ReplyJob job) The job enqueued when a reply is detected.Uses of ReplyJob in net.i2p.router.message
Classes in net.i2p.router.message that implement ReplyJobModifier and TypeClassDescriptionprivate classFor ECIES only.private classCalled after we get a confirmation that the message was delivered safely.Fields in net.i2p.router.message declared as ReplyJobModifier and TypeFieldDescriptionprivate final ReplyJobSendMessageDirectJob._onSuccessJob run when the reply arrives.Constructors in net.i2p.router.message with parameters of type ReplyJobModifierConstructorDescriptionSendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, Job onSend, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority, long msgIDBloomXor) Send a message directly to a peer with full options.SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority) Send a message directly to a peer with reply handling.SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority, long msgIDBloomXor) Send a message directly to a peer with reply handling and XOR mask.Uses of ReplyJob in net.i2p.router.networkdb.kademlia
Classes in net.i2p.router.networkdb.kademlia that implement ReplyJobModifier and TypeClassDescription(package private) classOverride to not call failed() inDirectLookupMatchJob.setMessage(I2NPMessage), as it will be called from runJob().private classHandles a verification reply.(package private) classHandles match processing for flood-only search operations.(package private) classCalled after a match to a db search is foundprivate classJob to verify successful store delivery and trigger next steps.Fields in net.i2p.router.networkdb.kademlia declared as ReplyJobUses of ReplyJob in net.i2p.router.peermanager
Classes in net.i2p.router.peermanager that implement ReplyJobModifier and TypeClassDescriptionprivate classCalled when the peer's response is found.Uses of ReplyJob in net.i2p.router.transport
Methods in net.i2p.router.transport with parameters of type ReplyJobModifier and TypeMethodDescriptionOutboundMessageRegistry.registerPending(MessageSelector replySelector, ReplyJob onReply, Job onTimeout) Registers a new, empty OutNetMessage, with the reply and timeout jobs specified.Uses of ReplyJob in net.i2p.router.tunnel.pool
Classes in net.i2p.router.tunnel.pool that implement ReplyJobModifier and TypeClassDescriptionprivate classHandles the reply to one test message.