Packages that use TransportBid
Package
Description
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.
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of TransportBid in net.i2p.router.transport
Methods in net.i2p.router.transport that return TransportBidModifier and TypeMethodDescriptionTransport.bid(RouterInfo toAddress, int dataSize) Request to send a message to the specified router.(package private) TransportBidTransportManager.getBid(OutNetMessage msg) The best bid for a message across all transports.(package private) TransportBidTransportManager.getNextBid(OutNetMessage msg) The best bid, skipping failed transports and unreachable peers.Methods in net.i2p.router.transport that return types with arguments of type TransportBidModifier and TypeMethodDescription(package private) List<TransportBid> TransportManager.getBids(OutNetMessage msg) All bids for a message across all transports.Uses of TransportBid in net.i2p.router.transport.ntcp
Subclasses of TransportBid in net.i2p.router.transport.ntcpModifier and TypeClassDescriptionprivate classCache the bid to reduce object churn.Methods in net.i2p.router.transport.ntcp that return TransportBidModifier and TypeMethodDescriptionNTCPTransport.bid(RouterInfo toAddress, int dataSize) Bid on sending the message to the target.private TransportBidNTCPTransport.bidFor(NTCPTransport.BidTier tier) Map a bid tier to the cached shared bid, so the compare-and-log hot path allocates nothing.Uses of TransportBid in net.i2p.router.transport.udp
Subclasses of TransportBid in net.i2p.router.transport.udpModifier and TypeClassDescriptionprivate classA bid shared by all peers in one class, cached to reduce object churn.Fields in net.i2p.router.transport.udp declared as TransportBidModifier and TypeFieldDescriptionprivate final TransportBid[]UDPTransport._cachedBidPrecomputed bids, indexed by the constants above.Methods in net.i2p.router.transport.udp that return TransportBidModifier and TypeMethodDescriptionUDPTransport.bid(RouterInfo toAddress, int dataSize) Bid on a message to the given router.private TransportBidUDPTransport.selectBid(RouterAddress addr, int cost, boolean weAreFirewalled) Select the bid tier for a message to an unestablished peer.