|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <WebAdmin.hxx>
Classes | |
| class | ConfigException |
Public Member Functions | |
| WebAdmin (Proxy &proxy, resip::RegistrationPersistenceManager ®Db, resip::PublicationPersistenceManager &pubDb, const resip::Data &realm, int port=5080, resip::IpVersion version=resip::V4, const resip::Data &ipAddr=resip::Data::Empty) | |
| virtual | ~WebAdmin () |
| void | parseUserFile () |
| Load web admin users from a file. | |
| virtual void | handleStatisticsMessage (resip::StatisticsMessage &statsMessage) |
| void | setApiResponse (int pageNumber, int statusCode, const resip::Data &jsonBody) |
Public Member Functions inherited from repro::HttpBase | |
| HttpBase (int port, resip::IpVersion version, const resip::Data &realm, const resip::Data &ipAddr=resip::Data::Empty) | |
| virtual | ~HttpBase () |
| void | buildFdSet (resip::FdSet &fdset) |
| void | process (resip::FdSet &fdset) |
| bool | isSane () |
Public Member Functions inherited from resip::GetDnsCacheDumpHandler | |
| GetDnsCacheDumpHandler () | |
| virtual | ~GetDnsCacheDumpHandler () |
Protected Member Functions | |
| virtual void | buildPage (const resip::Data &method, const resip::Data &uri, int pageNumber, const resip::Data &user, const resip::Data &password) |
| virtual void | onDnsCacheDumpRetrieved (std::pair< unsigned long, unsigned long > key, const resip::Data &dnsEntryStrings) |
Protected Member Functions inherited from repro::HttpBase | |
| void | setPage (const resip::Data &page, int pageNumber, int response=200, const resip::Mime &pType=resip::Mime("text","html")) |
Friends | |
| class | CommandServer |
| class | RestAdmin |
Additional Inherited Members | |
Protected Attributes inherited from repro::HttpBase | |
| const resip::Data | mRealm |
Definition at line 33 of file WebAdmin.hxx.
| WebAdmin::WebAdmin | ( | Proxy & | proxy, |
| resip::RegistrationPersistenceManager & | regDb, | ||
| resip::PublicationPersistenceManager & | pubDb, | ||
| const resip::Data & | realm, | ||
| int | port = 5080, |
||
| resip::IpVersion | version = resip::V4, |
||
| const resip::Data & | ipAddr = resip::Data::Empty |
||
| ) |
Definition at line 152 of file WebAdmin.cxx.
|
virtual |
Definition at line 183 of file WebAdmin.cxx.
|
protectedvirtual |
Implements repro::HttpBase.
Definition at line 298 of file WebAdmin.cxx.
|
virtual |
Definition at line 2422 of file WebAdmin.cxx.
|
protectedvirtual |
Implements resip::GetDnsCacheDumpHandler.
Definition at line 2233 of file WebAdmin.cxx.
| void WebAdmin::parseUserFile | ( | ) |
Load web admin users from a file.
We use the same type of file that is generated by Apache's htdigest utility
username:realm:HA1
where HA1 can be created by:
echo -n 'user:realm:password' | md5sum
Definition at line 203 of file WebAdmin.cxx.
| void WebAdmin::setApiResponse | ( | int | pageNumber, |
| int | statusCode, | ||
| const resip::Data & | jsonBody | ||
| ) |
Definition at line 2416 of file WebAdmin.cxx.
|
friend |
Definition at line 71 of file WebAdmin.hxx.
Definition at line 152 of file WebAdmin.hxx.