net.i2p.router.transport

## Class TransportBid

- java.lang.Object
- - net.i2p.router.transport.TransportBid

-     public class TransportBid
      extends Object

  Represents a transport's bid for message delivery cost. Provide a bid for how much it would "cost" to transfer a message of a particular peer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `TRANSIENT_FAIL`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransportBid()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getLatencyMs()` How long this transport thinks it would take to send the message This is the actual bid value, lower is better, and it doesn't really have anything to do with latency.
    `Transport` | `getTransport()` Specifies the transport that offered this bid
    `void` | `setLatencyMs(int milliseconds)`
    `void` | `setTransport(Transport transport)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TRANSIENT_FAIL

          public static final int TRANSIENT_FAIL

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### TransportBid

          public TransportBid()

  - ### Method Detail

    - #### getLatencyMs

          public int getLatencyMs()

      How long this transport thinks it would take to send the message This is the actual bid value, lower is better, and it doesn't really have anything to do with latency.

    - #### getTransport

          public Transport getTransport()

      Specifies the transport that offered this bid

    - #### setLatencyMs

          public void setLatencyMs(int milliseconds)

    - #### setTransport

          public void setTransport(Transport transport)