|
MythTV
0.25-pre
|
#include <httpstatus.h>
Public Member Functions | |
| HttpStatus (QMap< int, EncoderLink * > *tvList, Scheduler *sched, AutoExpire *expirer, bool bIsMaster) | |
| virtual | ~HttpStatus () |
| void | SetMainServer (MainServer *mainServer) |
| virtual QStringList | GetBasePaths () |
| bool | ProcessRequest (HTTPRequest *pRequest) |
Private Member Functions | |
| HttpStatusMethod | GetMethod (const QString &sURI) |
| void | GetStatusXML (HTTPRequest *pRequest) |
| void | GetStatusHTML (HTTPRequest *pRequest) |
| void | FillStatusXML (QDomDocument *pDoc) |
| void | PrintStatus (QTextStream &os, QDomDocument *pDoc) |
| int | PrintEncoderStatus (QTextStream &os, QDomElement encoders) |
| int | PrintScheduled (QTextStream &os, QDomElement scheduled) |
| int | PrintFrontends (QTextStream &os, QDomElement frontends) |
| int | PrintBackends (QTextStream &os, QDomElement backends) |
| int | PrintJobQueue (QTextStream &os, QDomElement jobs) |
| int | PrintMachineInfo (QTextStream &os, QDomElement info) |
| int | PrintMiscellaneousInfo (QTextStream &os, QDomElement info) |
| void | FillProgramInfo (QDomDocument *pDoc, QDomNode &node, ProgramInfo *pInfo, bool bIncChannel=true, bool bDetails=true) |
| void | FillChannelInfo (QDomElement &channel, ProgramInfo *pInfo, bool bDetails=true) |
Private Attributes | |
| Scheduler * | m_pSched |
| QMap< int, EncoderLink * > * | m_pEncoders |
| AutoExpire * | m_pExpirer |
| MainServer * | m_pMainServer |
| bool | m_bIsMaster |
| int | m_nPreRollSeconds |
| QMutex | m_settingLock |
Definition at line 42 of file httpstatus.h.
| HttpStatus::HttpStatus | ( | QMap< int, EncoderLink * > * | tvList, |
| Scheduler * | sched, | ||
| AutoExpire * | expirer, | ||
| bool | bIsMaster | ||
| ) |
Definition at line 48 of file httpstatus.cpp.
| HttpStatus::~HttpStatus | ( | ) | [virtual] |
Definition at line 66 of file httpstatus.cpp.
| HttpStatusMethod HttpStatus::GetMethod | ( | const QString & | sURI | ) | [private] |
Definition at line 74 of file httpstatus.cpp.
Referenced by ProcessRequest().
| void HttpStatus::GetStatusXML | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 137 of file httpstatus.cpp.
Referenced by ProcessRequest().
| void HttpStatus::GetStatusHTML | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 161 of file httpstatus.cpp.
Referenced by ProcessRequest().
| void HttpStatus::FillStatusXML | ( | QDomDocument * | pDoc | ) | [private] |
Definition at line 174 of file httpstatus.cpp.
Referenced by GetStatusHTML(), and GetStatusXML().
| void HttpStatus::PrintStatus | ( | QTextStream & | os, |
| QDomDocument * | pDoc | ||
| ) | [private] |
Definition at line 623 of file httpstatus.cpp.
Referenced by GetStatusHTML().
| int HttpStatus::PrintEncoderStatus | ( | QTextStream & | os, |
| QDomElement | encoders | ||
| ) | [private] |
Definition at line 710 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintScheduled | ( | QTextStream & | os, |
| QDomElement | scheduled | ||
| ) | [private] |
Definition at line 855 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintFrontends | ( | QTextStream & | os, |
| QDomElement | frontends | ||
| ) | [private] |
Definition at line 989 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintBackends | ( | QTextStream & | os, |
| QDomElement | backends | ||
| ) | [private] |
Definition at line 1027 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintJobQueue | ( | QTextStream & | os, |
| QDomElement | jobs | ||
| ) | [private] |
Definition at line 1066 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintMachineInfo | ( | QTextStream & | os, |
| QDomElement | info | ||
| ) | [private] |
Definition at line 1211 of file httpstatus.cpp.
Referenced by PrintStatus().
| int HttpStatus::PrintMiscellaneousInfo | ( | QTextStream & | os, |
| QDomElement | info | ||
| ) | [private] |
Definition at line 1458 of file httpstatus.cpp.
Referenced by PrintStatus().
| void HttpStatus::FillProgramInfo | ( | QDomDocument * | pDoc, |
| QDomNode & | node, | ||
| ProgramInfo * | pInfo, | ||
| bool | bIncChannel = true, |
||
| bool | bDetails = true |
||
| ) | [private] |
Definition at line 1509 of file httpstatus.cpp.
Referenced by FillStatusXML().
| void HttpStatus::FillChannelInfo | ( | QDomElement & | channel, |
| ProgramInfo * | pInfo, | ||
| bool | bDetails = true |
||
| ) | [private] |
Definition at line 1608 of file httpstatus.cpp.
Referenced by FillProgramInfo().
| void HttpStatus::SetMainServer | ( | MainServer * | mainServer | ) | [inline] |
Definition at line 88 of file httpstatus.h.
Referenced by run_backend().
| QStringList HttpStatus::GetBasePaths | ( | ) | [virtual] |
Implements HttpServerExtension.
Definition at line 88 of file httpstatus.cpp.
| bool HttpStatus::ProcessRequest | ( | HTTPRequest * | pRequest | ) | [virtual] |
Implements HttpServerExtension.
Definition at line 97 of file httpstatus.cpp.
Scheduler* HttpStatus::m_pSched [private] |
Definition at line 46 of file httpstatus.h.
Referenced by FillStatusXML(), and HttpStatus().
QMap<int, EncoderLink *>* HttpStatus::m_pEncoders [private] |
Definition at line 47 of file httpstatus.h.
Referenced by FillStatusXML(), and HttpStatus().
AutoExpire* HttpStatus::m_pExpirer [private] |
Definition at line 48 of file httpstatus.h.
Referenced by HttpStatus().
MainServer* HttpStatus::m_pMainServer [private] |
Definition at line 49 of file httpstatus.h.
Referenced by FillStatusXML(), HttpStatus(), and SetMainServer().
bool HttpStatus::m_bIsMaster [private] |
Definition at line 50 of file httpstatus.h.
Referenced by FillStatusXML(), and HttpStatus().
int HttpStatus::m_nPreRollSeconds [private] |
Definition at line 51 of file httpstatus.h.
Referenced by HttpStatus().
QMutex HttpStatus::m_settingLock [private] |
Definition at line 52 of file httpstatus.h.
1.7.6.1