internet: tracing of BytesInFlight inside TcpGeneralTest
This commit is contained in:
@@ -193,6 +193,8 @@ TcpGeneralTest::DoRun (void)
|
||||
MakeCallback (&TcpGeneralTest::RxPacketCb, this));
|
||||
m_senderSocket->TraceConnectWithoutContext ("RTT",
|
||||
MakeCallback (&TcpGeneralTest::RttTrace, this));
|
||||
m_senderSocket->TraceConnectWithoutContext ("BytesInFlight",
|
||||
MakeCallback (&TcpGeneralTest::BytesInFlightTrace, this));
|
||||
|
||||
m_remoteAddr = InetSocketAddress (serverAddress, 4477);
|
||||
|
||||
|
||||
@@ -503,6 +503,18 @@ protected:
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Bytes in flight changes
|
||||
*
|
||||
* This applies only for sender socket.
|
||||
*
|
||||
* \param oldValue old value
|
||||
* \param newValue new value
|
||||
*/
|
||||
virtual void BytesInFlightTrace (uint32_t oldValue, uint32_t newValue)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Socket closed normally
|
||||
* \param who the socket closed (SENDER or RECEIVER)
|
||||
|
||||
Reference in New Issue
Block a user