bamboo.lss
Interface UdpCC.Sink

All Known Implementing Classes:
Network, TputTest
Enclosing class:
UdpCC

public static interface UdpCC.Sink


Method Summary
 void recv(Object msg, InetSocketAddress src, InetSocketAddress local, int tries, long wait_ms, long est_rtt_ms)
          Called when a message is received.
 

Method Detail

recv

void recv(Object msg,
          InetSocketAddress src,
          InetSocketAddress local,
          int tries,
          long wait_ms,
          long est_rtt_ms)
Called when a message is received.

Parameters:
msg - the message that was received
src - the host and port from which the message was sent. The source is not authenticated; this value is just what is read out of the IP packet header
local - the localhost and port on which the message was received
tries - the number of times the message has been sent, including this one, or -1 if that information is not available (for example, if the message was sent with UdpCC.send_nocc(java.lang.Object, java.net.InetSocketAddress))
wait_ms - the time in milliseconds that the message sat in the sender's outbound queue before being sent, presumably because it was waiting behind other messages, or -1 if that information is not available
est_rtt_ms - the sender's estimate of the round trip time in milliseconds between it and this host, or -1 if that information is not available