Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::PresSubServer Class Reference

#include <pres_sub_server.h>

Collaboration diagram for jami::PresSubServer:
Collaboration graph

Public Member Functions

void approve (bool flag)
 
int getExpires () const
 
bool matches (const char *s) const
 
void notify ()
 
 PresSubServer (SIPPresence *pres, pjsip_evsub *evsub, const char *remote, pjsip_dialog *d)
 
void setExpires (int ms)
 
 ~PresSubServer ()
 

Static Public Attributes

static pjsip_module mod_presence_server
 

Detailed Description

Definition at line 35 of file pres_sub_server.h.

Constructor & Destructor Documentation

◆ PresSubServer()

jami::PresSubServer::PresSubServer ( SIPPresence pres,
pjsip_evsub evsub,
const char remote,
pjsip_dialog d 
)

Definition at line 284 of file pres_sub_server.cpp.

◆ ~PresSubServer()

jami::PresSubServer::~PresSubServer ( )

Definition at line 296 of file pres_sub_server.cpp.

Member Function Documentation

◆ approve()

void jami::PresSubServer::approve ( bool  flag)

Definition at line 321 of file pres_sub_server.cpp.

References jami::emitSignal(), jami::SIPPresence::getStatus(), and JAMI_DBG.

Here is the call graph for this function:

◆ getExpires()

int jami::PresSubServer::getExpires ( ) const

Definition at line 308 of file pres_sub_server.cpp.

◆ matches()

bool jami::PresSubServer::matches ( const char s) const

Definition at line 314 of file pres_sub_server.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ notify()

void jami::PresSubServer::notify ( )

Definition at line 330 of file pres_sub_server.cpp.

References jami::emitSignal(), jami::SIPPresence::fillDoc(), jami::SIPPresence::getStatus(), JAMI_DBG, and JAMI_WARN.

Here is the call graph for this function:

◆ setExpires()

void jami::PresSubServer::setExpires ( int  ms)

Definition at line 302 of file pres_sub_server.cpp.

Member Data Documentation

◆ mod_presence_server

pjsip_module jami::PresSubServer::mod_presence_server
static
Initial value:
= {
NULL,
CONST_PJ_STR("mod-presence-server"),
-1,
NULL,
NULL,
NULL,
NULL,
&pres_on_rx_subscribe_request,
NULL,
NULL,
NULL,
NULL,
}
void emitSignal(Args... args)
Definition ring_signal.h:64

Definition at line 60 of file pres_sub_server.h.

Referenced by jami::SIPVoIPLink::SIPVoIPLink().


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