1#ifndef RESIP_CongestionManager_hxx
2#define RESIP_CongestionManager_hxx
8class FifoStatsInterface;
Abstract base class that provides a basic congestion management interface.
CongestionManager()
Constructor.
virtual void unregisterFifo(resip::FifoStatsInterface *fifo)=0
Unregisters a fifo with the congestion manager.
virtual RejectionBehavior getRejectionBehavior(const FifoStatsInterface *fifo) const =0
Return the current rejection behavior for this fifo.
virtual ~CongestionManager()
virtual void registerFifo(resip::FifoStatsInterface *fifo)=0
Registers a fifo with the congestion manager.
virtual EncodeStream & encodeCurrentState(EncodeStream &strm) const =0
Get the current state of all monitored fifos.to a stream.
virtual void logCurrentState() const =0
Log the current state of all monitored fifos.
@ REJECTING_NEW_WORK
Overloaded, should refuse new work.
@ NORMAL
Not rejecting any work.
@ REJECTING_NON_ESSENTIAL
Rejecting all work that is non-essential to the health of the system (ie, if dropping something is li...
Interface for providing metrics on FIFOs, primarily used by CongestionManager.
dcm! – add UnusedChecking(_enum) below;