1#if !defined(RESIP_TU_HXX)
105 void setDomainMatcher(std::shared_ptr<DomainMatcher> domainMatcher)
noexcept;
258 unsigned int size()
const;
263 std::shared_ptr<DomainMatcher> mDomainMatcher;
264 bool mRegisteredForTransactionTermination;
265 bool mRegisteredForConnectionTermination;
266 bool mRegisteredForKeepAlivePongs;
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.
The base-class used for message-passing.
Represents a SIP message.
The base-class for an RFC 3261 Transaction User.
@ DoNotRegisterForKeepAlivePongs
@ RegisterForKeepAlivePongs
TimeLimitFifo< Message > mFifo
This TransactionUser's fifo.
void setMessageFilterRuleList(MessageFilterRuleList &rules)
Sets this TransactionUser's MessageFilterRuleList.
bool isRegisteredForConnectionTermination() const
virtual const uint16_t getExpectedWait() const
virtual bool isForMe(const SipMessage &msg) const
Returns true iff this TransactionUser should process msg.
CongestionManager * mCongestionManager
void addDomain(const Data &domain)
Adds a domain to the set of domains that this TransactionUser is responsible for.
bool isMyDomain(const Data &domain) const
Returns true iff domain matches one of the domains that this TransactionUser is responsible for.
@ DoNotRegisterForTransactionTermination
@ RegisterForTransactionTermination
const TimeLimitFifo< Message > * getFifo()
virtual const Data & name() const =0
Return the name of this TransactionUser.
@ RegisterForConnectionTermination
@ DoNotRegisterForConnectionTermination
void post(Message *msg)
Posts a Message to this TransactionUser's fifo.
virtual EncodeStream & encode(EncodeStream &strm) const
Encodes the name of this TransactionUser (as specified by name()), and the current depth of its fifo.
void removeDomain(const Data &domain)
Removes a domain from the set of domains that this TransactionUser is responsible for.
void setDomainMatcher(std::shared_ptr< DomainMatcher > domainMatcher) noexcept
Replaces the default DomainMatcher.
virtual void setCongestionManager(CongestionManager *manager)
CongestionManager::RejectionBehavior getRejectionBehavior() const
bool isRegisteredForTransactionTermination() const
bool isRegisteredForKeepAlivePongs() const
virtual bool responsesMandatory() const
virtual ~TransactionUser()=0
dcm! – add UnusedChecking(_enum) below;
std::vector< MessageFilterRule > MessageFilterRuleList
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)