23 #ifndef TCP_RECOVERY_OPS_H 24 #define TCP_RECOVERY_OPS_H 26 #include "ns3/object.h" 90 virtual std::string
GetName ()
const = 0;
103 uint32_t unAckDataCount, uint32_t deliveredBytes) = 0;
183 virtual std::string
GetName ()
const override;
186 uint32_t unAckDataCount, uint32_t deliveredBytes)
override;
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes)=0
Performs variable initialization at the start of recovery.
static TypeId GetTypeId(void)
Get the type ID.
virtual void UpdateBytesSent(uint32_t bytesSent)
Keeps track of bytes sent during recovery phase.
static TypeId GetTypeId(void)
Get the type ID.
TcpClassicRecovery()
Constructor.
virtual void ExitRecovery(Ptr< TcpSocketState > tcb) override
Performs cwnd adjustments at the end of recovery.
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes)=0
Performs recovery based on the recovery algorithm.
virtual ~TcpClassicRecovery() override
Constructor.
virtual Ptr< TcpRecoveryOps > Fork() override
Copy the recovery algorithm across socket.
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes) override
Performs recovery based on the recovery algorithm.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes) override
Performs variable initialization at the start of recovery.
TcpRecoveryOps()
Constructor.
virtual void ExitRecovery(Ptr< TcpSocketState > tcb)=0
Performs cwnd adjustments at the end of recovery.
virtual std::string GetName() const =0
Get the name of the recovery algorithm.
The Classic recovery implementation.
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
virtual ~TcpRecoveryOps()
Deconstructor.
virtual std::string GetName() const override
Get the name of the recovery algorithm.
virtual Ptr< TcpRecoveryOps > Fork()=0
Copy the recovery algorithm across socket.