Packages that use BuildRequestRecord
Package
Description
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of BuildRequestRecord in net.i2p.router.tunnel.pool
Fields in net.i2p.router.tunnel.pool declared as BuildRequestRecordModifier and TypeFieldDescriptionprivate final BuildRequestRecordBuildHandler.HandleReq._reqThe record of the request being answered.private final BuildRequestRecordBuildHandler.TimeoutReq._reqThe record of the request being timed out.(package private) final BuildRequestRecordBuildHandler.PendingLookup.reqThe record of the waiting request.Methods in net.i2p.router.tunnel.pool that return BuildRequestRecordModifier and TypeMethodDescriptionprivate static BuildRequestRecordBuildMessageGenerator.createUnencryptedRecord(I2PAppContext ctx, TunnelCreatorConfig cfg, int hop, Hash replyRouter, long replyTunnel, boolean isEC, boolean isShort, Properties props) Create an unencrypted build request record for a tunnel hop.BuildMessageProcessor.decrypt(TunnelBuildMessage msg, Hash ourHash, PrivateKey privKey) Decrypt the record targeting us, encrypting all of the other records with the included reply key and IV.Methods in net.i2p.router.tunnel.pool with parameters of type BuildRequestRecordModifier and TypeMethodDescriptionprivate voidBuildHandler.handleReq(RouterInfo nextPeerInfo, BuildHandler.BuildMessageState state, BuildRequestRecord req, Hash nextPeer) Actually process the request and send the reply.Constructors in net.i2p.router.tunnel.pool with parameters of type BuildRequestRecordModifierConstructorDescription(package private)HandleReq(RouterContext ctx, BuildHandler.BuildMessageState state, BuildRequestRecord req, Hash nextPeer, AtomicBoolean decremented) Prepares to forward one build request.(package private)PendingLookup(BuildHandler.BuildMessageState state, BuildRequestRecord req, Hash nextPeer) Records a request waiting on a next-hop lookup.(package private)TimeoutReq(RouterContext ctx, BuildHandler.BuildMessageState state, BuildRequestRecord req, Hash nextPeer, AtomicBoolean decremented, int retriesLeft) Prepares to time out one build request.