reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::TuSelector Class Reference

#include <TuSelector.hxx>

Public Member Functions

 TuSelector (TimeLimitFifo< Message > &fallBackFifo)
 
 ~TuSelector ()
 
void add (Message *msg, TimeLimitFifo< Message >::DepthUsage usage)
 
void add (ConnectionTerminated *term)
 
void add (KeepAlivePong *pong)
 
unsigned int size () const
 
bool wouldAccept (TimeLimitFifo< Message >::DepthUsage usage) const
 
TransactionUser * selectTransactionUser (const SipMessage &msg)
 
bool haveTransactionUsers () const
 
void registerTransactionUser (TransactionUser &, const bool front=false)
 
void requestTransactionUserShutdown (TransactionUser &)
 
void unregisterTransactionUser (TransactionUser &)
 
void process ()
 
unsigned int getTimeTillNextProcessMS ()
 
bool isTransactionUserStillRegistered (const TransactionUser *) const
 
void setFallbackPostNotify (AsyncProcessHandler *handler)
 
void setCongestionManager (CongestionManager *manager)
 
CongestionManager::RejectionBehavior getRejectionBehavior (TransactionUser *tu) const
 
uint32_t getExpectedWait (TransactionUser *tu) const
 

Detailed Description

Definition at line 19 of file TuSelector.hxx.

Constructor & Destructor Documentation

◆ TuSelector()

TuSelector::TuSelector ( TimeLimitFifo< Message > &  fallBackFifo)

Definition at line 16 of file TuSelector.cxx.

◆ ~TuSelector()

TuSelector::~TuSelector ( )

Definition at line 26 of file TuSelector.cxx.

Member Function Documentation

◆ add() [1/3]

void TuSelector::add ( ConnectionTerminated *  term)

Definition at line 100 of file TuSelector.cxx.

◆ add() [2/3]

void TuSelector::add ( KeepAlivePong *  pong)

Definition at line 114 of file TuSelector.cxx.

◆ add() [3/3]

void TuSelector::add ( Message *  msg,
TimeLimitFifo< Message >::DepthUsage  usage 
)

Definition at line 64 of file TuSelector.cxx.

◆ getExpectedWait()

uint32_t TuSelector::getExpectedWait ( TransactionUser *  tu) const

Definition at line 311 of file TuSelector.cxx.

◆ getRejectionBehavior()

CongestionManager::RejectionBehavior TuSelector::getRejectionBehavior ( TransactionUser *  tu) const

Definition at line 295 of file TuSelector.cxx.

◆ getTimeTillNextProcessMS()

unsigned int TuSelector::getTimeTillNextProcessMS ( )

Definition at line 251 of file TuSelector.cxx.

◆ haveTransactionUsers()

bool resip::TuSelector::haveTransactionUsers ( ) const
inline

Definition at line 33 of file TuSelector.hxx.

◆ isTransactionUserStillRegistered()

bool TuSelector::isTransactionUserStillRegistered ( const TransactionUser *  tu) const

Definition at line 264 of file TuSelector.cxx.

◆ process()

void TuSelector::process ( )

Definition at line 39 of file TuSelector.cxx.

◆ registerTransactionUser()

void TuSelector::registerTransactionUser ( TransactionUser &  tu,
const bool  front = false 
)

Definition at line 166 of file TuSelector.cxx.

◆ requestTransactionUserShutdown()

void TuSelector::requestTransactionUserShutdown ( TransactionUser &  tu)

Definition at line 180 of file TuSelector.cxx.

◆ selectTransactionUser()

TransactionUser * TuSelector::selectTransactionUser ( const SipMessage &  msg)

Definition at line 194 of file TuSelector.cxx.

◆ setCongestionManager()

void TuSelector::setCongestionManager ( CongestionManager *  manager)

Definition at line 280 of file TuSelector.cxx.

◆ setFallbackPostNotify()

void TuSelector::setFallbackPostNotify ( AsyncProcessHandler *  handler)

Definition at line 33 of file TuSelector.cxx.

◆ size()

unsigned int TuSelector::size ( ) const

Definition at line 148 of file TuSelector.cxx.

◆ unregisterTransactionUser()

void TuSelector::unregisterTransactionUser ( TransactionUser &  tu)

Definition at line 187 of file TuSelector.cxx.

◆ wouldAccept()

bool TuSelector::wouldAccept ( TimeLimitFifo< Message >::DepthUsage  usage) const

Definition at line 128 of file TuSelector.cxx.


The documentation for this class was generated from the following files: