Uses of Class
net.i2p.data.TunnelId
-
Packages that use TunnelId Package Description net.i2p.data These classes define the common data structures used by the various I2P protocols.net.i2p.data.i2cp The Invisible Internet Client Protocol (I2CP) allows applications simplified access to the I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).net.i2p.data.i2np This package defines the low-level messages sent between routers, called the Invisible Internet Network Protocol (I2NP).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.networkdb A couple of classes, but most things are in kademlia.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 TunnelId in net.i2p.data
Fields in net.i2p.data declared as TunnelId Modifier and Type Field Description protected TunnelIdLease. _tunnelIdMethods in net.i2p.data that return TunnelId Modifier and Type Method Description TunnelIdLease. getTunnelId()Tunnel on the gateway to communicate withTunnelIdMetaLease. getTunnelId()Methods in net.i2p.data with parameters of type TunnelId Modifier and Type Method Description voidLease. setTunnelId(TunnelId id)Configure the tunnel on the gateway to communicate withvoidMetaLease. setTunnelId(TunnelId id) -
Uses of TunnelId in net.i2p.data.i2cp
Methods in net.i2p.data.i2cp that return TunnelId Modifier and Type Method Description TunnelIdRequestLeaseSetMessage. getTunnelId(int endpoint)Methods in net.i2p.data.i2cp with parameters of type TunnelId Modifier and Type Method Description voidRequestLeaseSetMessage. addEndpoint(Hash router, TunnelId tunnel) -
Uses of TunnelId in net.i2p.data.i2np
Methods in net.i2p.data.i2np that return TunnelId Modifier and Type Method Description TunnelIdDatabaseLookupMessage. getReplyTunnel()Contains the tunnel ID a reply should be sent toTunnelIdDatabaseStoreMessage. getReplyTunnel()TunnelIdDeliveryInstructions. getTunnelId()default nullTunnelIdTunnelGatewayMessage. getTunnelId()TunnelIdTunnelDataMessage. getTunnelIdObj()Methods in net.i2p.data.i2np with parameters of type TunnelId Modifier and Type Method Description voidDatabaseLookupMessage. setReplyTunnel(TunnelId replyTunnel)voidDatabaseStoreMessage. setReplyTunnel(TunnelId id)voidDeliveryInstructions. setTunnelId(TunnelId id)required for TUNNELvoidTunnelDataMessage. setTunnelId(TunnelId id)(correctly) Invalidates stored checksumvoidTunnelGatewayMessage. setTunnelId(TunnelId id) -
Uses of TunnelId in net.i2p.router
Methods in net.i2p.router that return TunnelId Modifier and Type Method Description TunnelIdTunnelInfo. getReceiveTunnelId(int hop)retrieve the tunnelId that the given hop receives messages on.TunnelIdTunnelInfo. getSendTunnelId(int hop)retrieve the tunnelId that the given hop sends messages on.Methods in net.i2p.router with parameters of type TunnelId Modifier and Type Method Description voidMessageHistory. droppedTunnelMessage(TunnelId id, long msgId, Date expiration, Hash from)We don't know about the given tunnel, so we are dropping a message sent to us by the given routerTunnelInfoTunnelManagerFacade. getTunnelInfo(TunnelId id)Deprecated.unusedvoidMessageHistory. tunnelFailed(TunnelId tunnel)The local router has detected a failure in the given tunnelvoidMessageHistory. tunnelRejected(Hash peer, TunnelId tunnel, Hash replyThrough, String reason)The peer did not accept the tunnel join for the given reasonvoidMessageHistory. tunnelRequestTimedOut(Hash peer, TunnelId tunnel)The peer did not accept the tunnel join for the given reason (this may be because of a timeout or an explicit refusal). -
Uses of TunnelId in net.i2p.router.dummy
Methods in net.i2p.router.dummy with parameters of type TunnelId Modifier and Type Method Description TunnelInfoDummyTunnelManagerFacade. getTunnelInfo(TunnelId id)Deprecated.unused -
Uses of TunnelId in net.i2p.router.networkdb
Methods in net.i2p.router.networkdb with parameters of type TunnelId Modifier and Type Method Description protected voidHandleDatabaseLookupMessageJob. sendClosest(Hash key, Set<Hash> routerHashes, Hash toPeer, TunnelId replyTunnel)protected voidHandleDatabaseLookupMessageJob. sendMessage(I2NPMessage message, Hash toPeer, TunnelId replyTunnel) -
Uses of TunnelId in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type TunnelId Modifier and Type Method Description protected I2NPMessageExploreJob. buildMessage(TunnelId replyTunnelId, Hash replyGateway, long expiration, RouterInfo peer)Build the database search message, but unlike the normal searches, we're more explicit in what we /dont/ want.protected I2NPMessageSearchJob. buildMessage(TunnelId replyTunnelId, Hash replyGateway, long expiration, RouterInfo peer)Build the database search messageprotected voidHandleFloodfillDatabaseLookupMessageJob. sendClosest(Hash key, Set<Hash> routerInfoSet, Hash toPeer, TunnelId replyTunnel)We extend this here to send our routerInfo back as well, if we are not floodfill.(package private) booleanLookupThrottler. shouldThrottle(Hash key, TunnelId id)increments before checking(package private) booleanFloodfillNetworkDatabaseFacade. shouldThrottleLookup(Hash from, TunnelId id)Increments and tests. -
Uses of TunnelId in net.i2p.router.tunnel
Fields in net.i2p.router.tunnel declared as TunnelId Modifier and Type Field Description protected TunnelIdPendingGatewayMessage. _toTunnelMethods in net.i2p.router.tunnel that return TunnelId Modifier and Type Method Description TunnelIdTunnelDispatcher. getNewIBEPID()Get a new random receive tunnel ID that isn't a dup.TunnelIdTunnelDispatcher. getNewIBZeroHopID()Get a new random receive tunnel ID that isn't a dup.TunnelIdTunnelDispatcher. getNewOBGWID()Get a new random send tunnel ID that isn't a dup.TunnelIdHopConfig. getReceiveTunnel()What tunnel ID are we receiving on? (null if uninitialized)TunnelIdTunnelCreatorConfig. getReceiveTunnelId(int hop)retrieve the tunnelId that the given hop receives messages on.TunnelIdHopConfig. getSendTunnel()What is the next tunnel ID we are sending to? (null if endpoint)TunnelIdTunnelCreatorConfig. getSendTunnelId(int hop)retrieve the tunnelId that the given hop sends messages on.TunnelIdFragmentedMessage. getTargetTunnel()TunnelIdPendingGatewayMessage. getToTunnel()may be nullMethods in net.i2p.router.tunnel with parameters of type TunnelId Modifier and Type Method Description voidPumpedTunnelGateway. add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)Add a message to be sent down the tunnel, either sending it now (perhaps coallesced with other pending messages) or after a brief pause (_flushFrequency).voidThrottledPumpedTunnelGateway. add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)Possibly drop a message due to bandwidth before adding it to the preprocessor queue.voidTunnelGateway. add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)Add a message to be sent down the tunnel, either sending it now (perhaps coallesced with other pending messages) or after a brief pause (_flushFrequency).voidTunnelGatewayZeroHop. add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)Add a message to be sent down the tunnel (immediately forwarding it to theInboundMessageDistributororOutboundMessageDistributor, as necessary).voidTunnelDispatcher. dispatchOutbound(I2NPMessage msg, TunnelId outboundTunnel, Hash targetPeer)We are the outbound tunnel gateway (we created it), so wrap up this message with instructions to be forwarded to the targetPeer when it reaches the endpoint.voidTunnelDispatcher. dispatchOutbound(I2NPMessage msg, TunnelId outboundTunnel, TunnelId targetTunnel, Hash targetPeer)We are the outbound tunnel gateway (we created it), so wrap up this message with instructions to be forwarded to the targetTunnel on the targetPeer when it reaches the endpoint.voidInboundMessageDistributor. distribute(I2NPMessage msg, Hash target, TunnelId tunnel)voidOutboundMessageDistributor. distribute(I2NPMessage msg, Hash target, TunnelId tunnel)booleanFragmentedMessage. receive(byte[] payload, int offset, int length, boolean isLast, Hash toRouter, TunnelId toTunnel)Receive the first fragment (#0) and related metadata.voidFragmentHandler.DefragmentedReceiver. receiveComplete(I2NPMessage msg, Hash toRouter, TunnelId toTunnel)Receive a fully formed I2NPMessage out of the tunnelvoidHopConfig. setReceiveTunnelId(TunnelId id)voidHopConfig. setSendTunnelId(TunnelId id)Do not set for endpointConstructors in net.i2p.router.tunnel with parameters of type TunnelId Constructor Description OutboundGatewayMessage(I2NPMessage message, Hash toRouter, TunnelId toTunnel)PendingGatewayMessage(I2NPMessage message, Hash toRouter, TunnelId toTunnel) -
Uses of TunnelId in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool with parameters of type TunnelId Modifier and Type Method Description TunnelInfoAliasedTunnelPool. getTunnel(TunnelId gatewayId)TunnelInfoTunnelPool. getTunnel(TunnelId gatewayId)TunnelInfoTunnelPoolManager. getTunnelInfo(TunnelId id)Deprecated.unused
-