#include <bayonne.h>
Inheritance diagram for CallStat::
Public Methods | |
CallStat () | |
int | getCapacity (void) |
Get current call capacity. More... | |
long | getStat (statitem_t item) |
get a stat item. More... | |
void | incIncoming (void) |
inc active incoming call count. More... | |
void | decIncoming (void) |
dec active incoming call count. More... | |
void | incOutgoing (void) |
inc active outging call count. More... | |
void | decOutgoing (void) |
dec active outgoing call count. More... | |
void | Update (void) |
Update stats, active to last. More... | |
Protected Attributes | |
int | capacity |
CallStat:: { ... } | active |
CallStat:: { ... } | max |
CallStat:: { ... } | lastmax |
CallStat:: { ... } | total |
CallStat:: { ... } | lasttotal |
int | incoming |
int | outgoing |
long | incoming |
long | outgoing |
|
|
|
Update stats, active to last.
|
|
dec active incoming call count.
|
|
dec active outgoing call count.
|
|
Get current call capacity.
|
|
get a stat item.
|
|
inc active incoming call count.
|
|
inc active outging call count.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|