reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
repro::RegistrarHandler Class Referenceabstract

#include <Registrar.hxx>

Inheritance diagram for repro::RegistrarHandler:
[legend]

Public Member Functions

virtual ~RegistrarHandler ()
 
virtual bool onRefresh (resip::ServerRegistrationHandle, const resip::SipMessage &reg)=0
 Note: These very closely mimic the ServerRegistrationHandler callbacks.
 
virtual bool onRemove (resip::ServerRegistrationHandle, const resip::SipMessage &reg)=0
 called when one or more specified contacts is removed
 
virtual bool onRemoveAll (resip::ServerRegistrationHandle, const resip::SipMessage &reg)=0
 Called when all the contacts are removed using "Contact: *".
 
virtual bool onAdd (resip::ServerRegistrationHandle, const resip::SipMessage &reg)=0
 Called when one or more contacts are added.
 
virtual bool onQuery (resip::ServerRegistrationHandle, const resip::SipMessage &reg)=0
 Called when a client queries for the list of current registrations.
 

Detailed Description

Definition at line 13 of file Registrar.hxx.

Constructor & Destructor Documentation

◆ ~RegistrarHandler()

virtual repro::RegistrarHandler::~RegistrarHandler ( )
inlinevirtual

Definition at line 16 of file Registrar.hxx.

Member Function Documentation

◆ onAdd()

virtual bool repro::RegistrarHandler::onAdd ( resip::ServerRegistrationHandle  ,
const resip::SipMessage &  reg 
)
pure virtual

Called when one or more contacts are added.

This is after authentication has all succeeded

Implemented in repro::MessageSilo.

◆ onQuery()

virtual bool repro::RegistrarHandler::onQuery ( resip::ServerRegistrationHandle  ,
const resip::SipMessage &  reg 
)
pure virtual

Called when a client queries for the list of current registrations.

Implemented in repro::MessageSilo.

◆ onRefresh()

virtual bool repro::RegistrarHandler::onRefresh ( resip::ServerRegistrationHandle  ,
const resip::SipMessage &  reg 
)
pure virtual

Note: These very closely mimic the ServerRegistrationHandler callbacks.

For all of the below callbacks - return true if no response was generated and processing should continue. If all handlers return true, then the Registrar will accept the request. Called when registration is refreshed

Implemented in repro::MessageSilo.

◆ onRemove()

virtual bool repro::RegistrarHandler::onRemove ( resip::ServerRegistrationHandle  ,
const resip::SipMessage &  reg 
)
pure virtual

called when one or more specified contacts is removed

Implemented in repro::MessageSilo.

◆ onRemoveAll()

virtual bool repro::RegistrarHandler::onRemoveAll ( resip::ServerRegistrationHandle  ,
const resip::SipMessage &  reg 
)
pure virtual

Called when all the contacts are removed using "Contact: *".

Implemented in repro::MessageSilo.


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