1#if !defined(RESIP_TuSelector_HXX)
2#define RESIP_TuSelector_HXX
13class ConnectionTerminated;
17class AsyncProcessHandler;
29 unsigned int size()
const;
60 bool operator==(
const Item& rhs) {
return tu == rhs.tu; }
63 typedef std::vector<Item> TuList;
65 TimeLimitFifo<Message>& mFallBackFifo;
66 CongestionManager* mCongestionManager;
67 AsyncProcessHandler *mFallbackPostNotify;
68 Fifo<TransactionUserMessage> mShutdownFifo;
70 StatisticsMessage::Payload mStatsPayload;
Abstract base class that provides a basic congestion management interface.
The base-class used for message-passing.
Represents a SIP message.
The base-class for an RFC 3261 Transaction User.
TransactionUser * selectTransactionUser(const SipMessage &msg)
bool haveTransactionUsers() const
CongestionManager::RejectionBehavior getRejectionBehavior(TransactionUser *tu) const
void requestTransactionUserShutdown(TransactionUser &)
bool wouldAccept(TimeLimitFifo< Message >::DepthUsage usage) const
void add(Message *msg, TimeLimitFifo< Message >::DepthUsage usage)
uint32_t getExpectedWait(TransactionUser *tu) const
void setFallbackPostNotify(AsyncProcessHandler *handler)
unsigned int size() const
unsigned int getTimeTillNextProcessMS()
void setCongestionManager(CongestionManager *manager)
bool isTransactionUserStillRegistered(const TransactionUser *) const
void unregisterTransactionUser(TransactionUser &)
void registerTransactionUser(TransactionUser &, const bool front=false)
dcm! – add UnusedChecking(_enum) below;