public class TransportBid extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
TRANSIENT_FAIL |
Constructor | Description |
---|---|
TransportBid() |
Modifier and Type | Method | 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) |
public static final int TRANSIENT_FAIL
public int getLatencyMs()
public void setLatencyMs(int milliseconds)
public Transport getTransport()
public void setTransport(Transport transport)