java.lang.Object
net.i2p.router.transport.TransportBid
net.i2p.router.transport.udp.UDPTransport.SharedBid
Enclosing class:
UDPTransport

private class UDPTransport.SharedBidextends TransportBid
A bid shared by all peers in one class, cached to reduce object churn.
  • Constructor Details

    • SharedBid

      public SharedBid(int ms)
      Latency ms.
      Parameters:
      ms - the bid latency in milliseconds
  • Method Details

    • getTransport

      public Transport getTransport()
      Description copied from class: TransportBid
      Specifies the transport that offered this bid.
      Overrides:
      getTransport in class TransportBid
      Returns:
      the transport making the bid, or null if not yet recorded
    • toString

      public String toString()
      String representation.
      Overrides:
      toString in class Object
      Returns:
      the transport and latency