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

#include <KeepAliveManager.hxx>

Classes

struct  NetworkAssociationInfo
 

Public Types

typedef std::map< Tuple, NetworkAssociationInfo, Tuple::FlowKeyCompare > NetworkAssociationMap
 

Public Member Functions

 KeepAliveManager ()
 
virtual ~KeepAliveManager ()
 
void setDialogUsageManager (DialogUsageManager *dum) noexcept
 
virtual void add (const Tuple &target, int keepAliveInterval, bool targetSupportsOutbound)
 
virtual void remove (const Tuple &target)
 
virtual void process (KeepAliveTimeout &timeout)
 
virtual void process (KeepAlivePongTimeout &timeout)
 
virtual void receivedPong (const Tuple &flow)
 

Static Public Attributes

static int mKeepAlivePongTimeoutMs = 10000
 

Protected Attributes

DialogUsageManager * mDum
 
NetworkAssociationMap mNetworkAssociations
 
unsigned int mCurrentId
 

Detailed Description

Definition at line 14 of file KeepAliveManager.hxx.

Member Typedef Documentation

◆ NetworkAssociationMap

Constructor & Destructor Documentation

◆ KeepAliveManager()

resip::KeepAliveManager::KeepAliveManager ( )
inline

Definition at line 38 of file KeepAliveManager.hxx.

◆ ~KeepAliveManager()

virtual resip::KeepAliveManager::~KeepAliveManager ( )
inlinevirtual

Definition at line 39 of file KeepAliveManager.hxx.

Member Function Documentation

◆ add()

void KeepAliveManager::add ( const Tuple &  target,
int  keepAliveInterval,
bool  targetSupportsOutbound 
)
virtual

Definition at line 19 of file KeepAliveManager.cxx.

◆ process() [1/2]

void KeepAliveManager::process ( KeepAlivePongTimeout &  timeout)
virtual

Definition at line 133 of file KeepAliveManager.cxx.

◆ process() [2/2]

void KeepAliveManager::process ( KeepAliveTimeout &  timeout)
virtual

Definition at line 89 of file KeepAliveManager.cxx.

◆ receivedPong()

void KeepAliveManager::receivedPong ( const Tuple &  flow)
virtual

Definition at line 149 of file KeepAliveManager.cxx.

◆ remove()

void KeepAliveManager::remove ( const Tuple &  target)
virtual

Definition at line 71 of file KeepAliveManager.cxx.

◆ setDialogUsageManager()

void resip::KeepAliveManager::setDialogUsageManager ( DialogUsageManager *  dum)
inlinenoexcept

Definition at line 40 of file KeepAliveManager.hxx.

Member Data Documentation

◆ mCurrentId

unsigned int resip::KeepAliveManager::mCurrentId
protected

Definition at line 50 of file KeepAliveManager.hxx.

◆ mDum

DialogUsageManager* resip::KeepAliveManager::mDum
protected

Definition at line 48 of file KeepAliveManager.hxx.

◆ mKeepAlivePongTimeoutMs

int KeepAliveManager::mKeepAlivePongTimeoutMs = 10000
static

Definition at line 18 of file KeepAliveManager.hxx.

◆ mNetworkAssociations

NetworkAssociationMap resip::KeepAliveManager::mNetworkAssociations
protected

Definition at line 49 of file KeepAliveManager.hxx.


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