1#if !defined(RESIP_TRANSACTION_CONTROLLER_HXX)
2#define RESIP_TRANSACTION_CONTROLLER_HXX
15class TransactionMessage;
17class ApplicationMessage;
18class StatisticsManager;
58 if(mCongestionManager)
62 mCongestionManager=manager;
63 if(mCongestionManager)
71 if(mCongestionManager)
83 return mFixBadDialogIdentifiers;
88 mFixBadDialogIdentifiers = pFixBadDialogIdentifiers;
94 mFixBadCSeqNumbers = pFixBadCSeqNumbers;
116 bool mDiscardStrayResponses;
118 bool mFixBadDialogIdentifiers;
120 bool mFixBadCSeqNumbers;
Abstract base class that provides a basic congestion management interface.
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 void registerFifo(resip::FifoStatsInterface *fifo)=0
Registers a fifo with the congestion manager.
@ NORMAL
Not rejecting any work.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
A templated, threadsafe message-queue class.
Represents a SIP message.
This is the primary point of interaction between the app-layer and the stack.
Keeps track of various statistics on the stack's operation, and periodically issues a StatisticsMessa...
const TransportSelector & transportSelector() const
void invokeAfterSocketCreationFunc(TransportType type)
void addTransport(std::unique_ptr< Transport > transport)
void send(SipMessage *msg)
void cancelClientInviteTransaction(const Data &tid, const resip::Tokens *reasons)
unsigned int getTransactionFifoSize() const
TransportSelector & transportSelector()
friend class TestDnsResolver
void process(int timeout=0)
CongestionManager::RejectionBehavior getRejectionBehavior() const
bool getFixBadDialogIdentifiers() const
unsigned int getTimeTillNextProcessMS()
unsigned int getTuFifoSize() const
void setFixBadDialogIdentifiers(bool pFixBadDialogIdentifiers)
static unsigned int MaxTUFifoTimeDepthSecs
void setCongestionManager(CongestionManager *manager)
unsigned int getNumClientTransactions() const
void abandonServerTransaction(const Data &tid)
void enableFlowTimer(const resip::Tuple &flow)
void setFixBadCSeqNumbers(bool pFixBadCSeqNumbers)
unsigned int getNumServerTransactions() const
void removeTransport(unsigned int transportKey)
bool getFixBadCSeqNumbers() const
bool isTUOverloaded() const
unsigned int sumTransportFifoSizes() const
unsigned int getTimerQueueSize() const
static unsigned int MaxTUFifoSize
void registerMarkListener(MarkListener *listener)
void unregisterMarkListener(MarkListener *listener)
void terminateFlow(const resip::Tuple &flow)
void setInterruptor(AsyncProcessHandler *handler)
void setCongestionManager(CongestionManager *manager)
Represents a network address.
dcm! – add UnusedChecking(_enum) below;
TransportType
An enumeration of transport protocols.