Class TransportBid

  • public class TransportBid
    extends Object
    Provide a bid for how much it would "cost" to transfer a message of a particular peer
    • 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.
      • setLatencyMs

        public void setLatencyMs​(int milliseconds)
      • getTransport

        public Transport getTransport()
        Specifies the transport that offered this bid
      • setTransport

        public void setTransport​(Transport transport)