Uses of Interface
net.i2p.router.TunnelInfo
-
Packages that use TunnelInfo Package Description net.i2p.router The I2P router application handles the I2P network communication.net.i2p.router.dummy Dummy versions of things for testing.net.i2p.router.message Creates and parses garlic messages.net.i2p.router.networkdb.kademlia The network database, including implementation of floodfills.net.i2p.router.tunnel All the work of managing locally created and participating tunnels, creating and handling tunnel messages, and their encryption.net.i2p.router.tunnel.pool Tunnel creation, tunnel build message handling. -
-
Uses of TunnelInfo in net.i2p.router
Methods in net.i2p.router that return TunnelInfo Modifier and Type Method Description TunnelInfoTunnelManagerFacade. getTunnelInfo(TunnelId id)Deprecated.unusedTunnelInfoTunnelManagerFacade. selectInboundExploratoryTunnel(Hash closestTo)Pick the inbound exploratory tunnel with the gateway closest to the given hash.TunnelInfoTunnelManagerFacade. selectInboundTunnel()Pick a random inbound exploratory tunnelTunnelInfoTunnelManagerFacade. selectInboundTunnel(Hash destination)Pick a random inbound tunnel from the given destination's poolTunnelInfoTunnelManagerFacade. selectInboundTunnel(Hash destination, Hash closestTo)Pick the inbound tunnel with the gateway closest to the given hash from the given destination's pool.TunnelInfoTunnelManagerFacade. selectOutboundExploratoryTunnel(Hash closestTo)Pick the outbound exploratory tunnel with the endpoint closest to the given hash.TunnelInfoTunnelManagerFacade. selectOutboundTunnel()Pick a random outbound exploratory tunnelTunnelInfoTunnelManagerFacade. selectOutboundTunnel(Hash destination)Pick a random outbound tunnel from the given destination's poolTunnelInfoTunnelManagerFacade. selectOutboundTunnel(Hash destination, Hash closestTo)Pick the outbound tunnel with the endpoint closest to the given hash from the given destination's pool.Methods in net.i2p.router with parameters of type TunnelInfo Modifier and Type Method Description booleanTunnelManagerFacade. isValidTunnel(Hash client, TunnelInfo tunnel)Is a tunnel a valid member of the pool?voidMessageHistory. tunnelJoined(String state, TunnelInfo tunnel)The local router has joined the given tunnel operating in the given state.voidMessageHistory. tunnelValid(TunnelInfo tunnel, long timeToTest)Note that we have reason to believe that the given tunnel is valid, since we could do something through it in the given amount of time -
Uses of TunnelInfo in net.i2p.router.dummy
Methods in net.i2p.router.dummy that return TunnelInfo Modifier and Type Method Description TunnelInfoDummyTunnelManagerFacade. getTunnelInfo(TunnelId id)Deprecated.unusedTunnelInfoDummyTunnelManagerFacade. selectInboundExploratoryTunnel(Hash closestTo)TunnelInfoDummyTunnelManagerFacade. selectInboundTunnel()TunnelInfoDummyTunnelManagerFacade. selectInboundTunnel(Hash destination)TunnelInfoDummyTunnelManagerFacade. selectInboundTunnel(Hash destination, Hash closestTo)TunnelInfoDummyTunnelManagerFacade. selectOutboundExploratoryTunnel(Hash closestTo)TunnelInfoDummyTunnelManagerFacade. selectOutboundTunnel()TunnelInfoDummyTunnelManagerFacade. selectOutboundTunnel(Hash destination)TunnelInfoDummyTunnelManagerFacade. selectOutboundTunnel(Hash destination, Hash closestTo)Methods in net.i2p.router.dummy with parameters of type TunnelInfo Modifier and Type Method Description booleanDummyTunnelManagerFacade. isValidTunnel(Hash client, TunnelInfo tunnel) -
Uses of TunnelInfo in net.i2p.router.message
Fields in net.i2p.router.message with type parameters of type TunnelInfo Modifier and Type Field Description (package private) Map<OutboundCache.HashPair,TunnelInfo>OutboundCache. backloggedTunnelCache(package private) Map<OutboundCache.HashPair,TunnelInfo>OutboundCache. tunnelCacheUse the same outbound tunnel as we did for the same destination previously, if possible, to keep the streaming lib happy Use two caches - although a cache of a list of tunnels per dest might be more elegant.Methods in net.i2p.router.message with parameters of type TunnelInfo Modifier and Type Method Description (package private) voidOutboundCache. clearCaches(OutboundCache.HashPair hashPair, Lease lease, TunnelInfo inTunnel, TunnelInfo outTunnel)Called on failure to give us a better chance of success next time.(package private) static GarlicMessageOutboundClientMessageJobHelper. createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, int tagsToSendOverride, int lowTagsOverride, SessionKey wrappedKey, Set<SessionTag> wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet, ReplyCallback callback)Allow the app to specify the data clove directly, which enables OutboundClientMessage to resend the same payload (including expiration and unique id) in different garlics (down different tunnels) This is called from OCMOSJ -
Uses of TunnelInfo in net.i2p.router.networkdb.kademlia
Constructors in net.i2p.router.networkdb.kademlia with parameters of type TunnelInfo Constructor Description SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel) -
Uses of TunnelInfo in net.i2p.router.tunnel
Classes in net.i2p.router.tunnel that implement TunnelInfo Modifier and Type Class Description classTunnelCreatorConfigCoordinate the info that the tunnel creator keeps track of, including what peers are in the tunnel and what their configuration is See PooledTunnelCreatorConfig for the non-abstract class -
Uses of TunnelInfo in net.i2p.router.tunnel.pool
Classes in net.i2p.router.tunnel.pool that implement TunnelInfo Modifier and Type Class Description (package private) classPooledTunnelCreatorConfigData about a tunnel we createdMethods in net.i2p.router.tunnel.pool that return TunnelInfo Modifier and Type Method Description TunnelInfoAliasedTunnelPool. getTunnel(TunnelId gatewayId)TunnelInfoTunnelPool. getTunnel(TunnelId gatewayId)TunnelInfoTunnelPoolManager. getTunnelInfo(TunnelId id)Deprecated.unusedTunnelInfoTunnelPoolManager. selectInboundExploratoryTunnel(Hash closestTo)Pick the inbound exploratory tunnel with the gateway closest to the given hash.TunnelInfoTunnelPoolManager. selectInboundTunnel()Pick a random inbound exploratory tunnel.TunnelInfoTunnelPoolManager. selectInboundTunnel(Hash destination)Pick a random inbound tunnel from the given destination's pool.TunnelInfoTunnelPoolManager. selectInboundTunnel(Hash destination, Hash closestTo)Pick the inbound tunnel with the gateway closest to the given hash from the given destination's pool.TunnelInfoTunnelPoolManager. selectOutboundExploratoryTunnel(Hash closestTo)Pick the outbound exploratory tunnel with the endpoint closest to the given hash.TunnelInfoTunnelPoolManager. selectOutboundTunnel()Pick a random outbound exploratory tunnel.TunnelInfoTunnelPoolManager. selectOutboundTunnel(Hash destination)Pick a random outbound tunnel from the given destination's pool.TunnelInfoTunnelPoolManager. selectOutboundTunnel(Hash destination, Hash closestTo)Pick the outbound tunnel with the endpoint closest to the given hash from the given destination's pool.(package private) TunnelInfoAliasedTunnelPool. selectTunnel()(package private) TunnelInfoAliasedTunnelPool. selectTunnel(Hash closestTo)(package private) TunnelInfoTunnelPool. selectTunnel()Pull a random tunnel out of the pool.(package private) TunnelInfoTunnelPool. selectTunnel(Hash closestTo)Return the tunnel from the pool that is XOR-closet to the target.Methods in net.i2p.router.tunnel.pool that return types with arguments of type TunnelInfo Modifier and Type Method Description List<TunnelInfo>AliasedTunnelPool. listTunnels()List<TunnelInfo>TunnelPool. listTunnels()Return a list of tunnels in the poolMethods in net.i2p.router.tunnel.pool with parameters of type TunnelInfo Modifier and Type Method Description (package private) voidAliasedTunnelPool. addTunnel(TunnelInfo info)(package private) voidTunnelPool. addTunnel(TunnelInfo info)Add to the pool.booleanTunnelPoolManager. isValidTunnel(Hash client, TunnelInfo tunnel)(package private) voidAliasedTunnelPool. removeTunnel(TunnelInfo info)(package private) voidTunnelPool. removeTunnel(TunnelInfo info)Remove from the pool.(package private) voidAliasedTunnelPool. tunnelFailed(TunnelInfo cfg)(package private) voidAliasedTunnelPool. tunnelFailed(TunnelInfo cfg, Hash blamePeer)(package private) voidTunnelPool. tunnelFailed(TunnelInfo cfg)Remove the tunnel and blame all the peers (not necessarily equally).(package private) voidTunnelPool. tunnelFailed(TunnelInfo cfg, Hash blamePeer)Remove the tunnel and blame only one peer.
-