|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <AccountingCollector.hxx>
Public Types | |
| enum | RegistrationEvent { RegistrationAdded = 1 , RegistrationRefreshed = 2 , RegistrationRemoved = 3 , RegistrationRemovedAll = 4 } |
| enum | SessionEvent { SessionCreated = 1 , SessionRouted = 2 , SessionRedirected = 3 , SessionEstablished = 4 , SessionCancelled = 5 , SessionEnded = 6 , SessionError = 7 } |
Public Types inherited from resip::ThreadIf | |
| typedef std::thread::id | Id |
| typedef pthread_key_t | TlsKey |
| typedef void | TlsDestructor(void *) |
Public Member Functions | |
| AccountingCollector (ProxyConfig &config) | |
| virtual | ~AccountingCollector () |
| virtual void | doSessionAccounting (const resip::SipMessage &sip, bool received, RequestContext &context) |
| virtual void | doRegistrationAccounting (RegistrationEvent regevent, const resip::SipMessage &sip) |
Public Member Functions inherited from resip::ThreadIf | |
| ThreadIf () | |
| virtual | ~ThreadIf () |
| virtual void | run () |
| void | join () |
| void | detach () |
| virtual void | shutdown () |
| virtual bool | waitForShutdown (int ms) const |
| bool | isShutdown () const |
Additional Inherited Members | |
Static Public Member Functions inherited from resip::ThreadIf | |
| static Id | selfId () |
| static int | tlsKeyCreate (TlsKey &key, TlsDestructor *destructor) |
| This function follows pthread_key_create() signature. | |
| static int | tlsKeyDelete (TlsKey key) |
| This function follows pthread_key_delete() signature. | |
| static int | tlsSetValue (TlsKey key, const void *val) |
| This function follows pthread_setspecific() signature. | |
| static void * | tlsGetValue (TlsKey key) |
| This function follows pthread_getspecific() signature. | |
Protected Attributes inherited from resip::ThreadIf | |
| std::shared_ptr< std::thread > | mThreadObj |
| Id | mId |
| bool | mShutdown |
| Mutex | mShutdownMutex |
| Condition | mShutdownCondition |
Definition at line 20 of file AccountingCollector.hxx.
| Enumerator | |
|---|---|
| RegistrationAdded | |
| RegistrationRefreshed | |
| RegistrationRemoved | |
| RegistrationRemovedAll | |
Definition at line 23 of file AccountingCollector.hxx.
| Enumerator | |
|---|---|
| SessionCreated | |
| SessionRouted | |
| SessionRedirected | |
| SessionEstablished | |
| SessionCancelled | |
| SessionEnded | |
| SessionError | |
Definition at line 31 of file AccountingCollector.hxx.
| AccountingCollector::AccountingCollector | ( | ProxyConfig & | config | ) |
Definition at line 33 of file AccountingCollector.cxx.
|
virtual |
Definition at line 62 of file AccountingCollector.cxx.
|
virtual |
Definition at line 73 of file AccountingCollector.cxx.
|
virtual |
Definition at line 214 of file AccountingCollector.cxx.