|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <Registrar.hxx>
Public Member Functions | |
| Registrar () | |
| virtual | ~Registrar () |
| void | setProxy (Proxy *proxy) |
| virtual void | addRegistrarHandler (RegistrarHandler *handler) |
| virtual void | onRefresh (resip::ServerRegistrationHandle, const resip::SipMessage ®) |
| Called when registration is refreshed. | |
| virtual void | onRemove (resip::ServerRegistrationHandle, const resip::SipMessage ®) |
| called when one or more specified contacts is removed | |
| virtual void | onRemoveAll (resip::ServerRegistrationHandle, const resip::SipMessage ®) |
| Called when all the contacts are removed using "Contact: *". | |
| virtual void | onAdd (resip::ServerRegistrationHandle, const resip::SipMessage ®) |
| Called when one or more contacts are added. | |
| virtual void | onQuery (resip::ServerRegistrationHandle, const resip::SipMessage ®) |
| Called when a client queries for the list of current registrations. | |
Public Member Functions inherited from resip::ServerRegistrationHandler | |
| virtual | ~ServerRegistrationHandler ()=default |
| virtual void | getGlobalExpires (const SipMessage &msg, const std::shared_ptr< MasterProfile > &masterProfile, uint32_t &expires, uint32_t &returnCode) |
| When processing a REGISTER request, return the desired expires value when processing the "Expires" header. | |
| virtual void | getContactExpires (const NameAddr &contact, const std::shared_ptr< MasterProfile > &masterProfile, uint32_t &expires, uint32_t &returnCode) |
| When processing a REGISTER request, return the desired expires value by processing this contact's expires parameter. | |
| virtual bool | asyncProcessing (void) const |
| If true, the registration processing will use the async* functions here and will not use the RegistrationPersistenceManager. | |
| virtual void | asyncGetContacts (ServerRegistrationHandle, const Uri &aor) |
| Called when a REGISTER is first received to retrieve the current list. | |
| virtual void | asyncUpdateContacts (ServerRegistrationHandle, const Uri &aor, std::unique_ptr< ContactPtrList > modifiedContactList, std::unique_ptr< ContactRecordTransactionLog > transactionLog) |
| Notifies the handler to update the current contact list for the AOR to the specified list that has been updated by DUM's registration processing. | |
| virtual void | asyncRemoveExpired (ServerRegistrationHandle, const resip::Uri &aor, std::unique_ptr< resip::ContactPtrList > contacts) |
| Notifies the handler to remove the entries specified in the contacts parameter. | |
Definition at line 40 of file Registrar.hxx.
| Registrar::Registrar | ( | ) |
Definition at line 16 of file Registrar.cxx.
|
virtual |
Definition at line 20 of file Registrar.cxx.
|
virtual |
Definition at line 25 of file Registrar.cxx.
|
virtual |
Called when one or more contacts are added.
This is after authentication has all succeeded
Implements resip::ServerRegistrationHandler.
Definition at line 94 of file Registrar.cxx.
|
virtual |
Called when a client queries for the list of current registrations.
Implements resip::ServerRegistrationHandler.
Definition at line 115 of file Registrar.cxx.
|
virtual |
Called when registration is refreshed.
Implements resip::ServerRegistrationHandler.
Definition at line 31 of file Registrar.cxx.
|
virtual |
called when one or more specified contacts is removed
Implements resip::ServerRegistrationHandler.
Definition at line 52 of file Registrar.cxx.
|
virtual |
Called when all the contacts are removed using "Contact: *".
Implements resip::ServerRegistrationHandler.
Definition at line 73 of file Registrar.cxx.
Definition at line 46 of file Registrar.hxx.