![]() |
VR-Forces 4.0.4 Class Documentation
|
Class that pings a server to find out whether it's available or not. More...

Public Member Functions | |
| DtServerAvailable (const std::string &serverKey, const QUrl &page) | |
| Constructor. | |
| virtual | ~DtServerAvailable () |
| Destructor. | |
| void | processRequest () |
| Sends the request to the server. | |
Public Attributes | |
| boost::signal< void(const std::string &, bool, const std::string &)> | signal_serverAvailable |
Protected Slots | |
| virtual void | finished (QNetworkReply *) |
| Callback called by the network request. | |
Protected Attributes | |
| QNetworkAccessManager | myManager |
| QUrl | myUrl |
| std::string | myKey |
Class that pings a server to find out whether it's available or not.
\ ingroup vrvOsgEarthQt
| makVrv::DtServerAvailable::DtServerAvailable | ( | const std::string & | serverKey, |
| const QUrl & | page | ||
| ) |
Constructor.
| virtual makVrv::DtServerAvailable::~DtServerAvailable | ( | ) | [virtual] |
Destructor.
Sends the request to the server.
| virtual void makVrv::DtServerAvailable::finished | ( | QNetworkReply * | ) | [protected, virtual, slot] |
Callback called by the network request.
| boost::signal<void (const std::string&, bool, const std::string&)> makVrv::DtServerAvailable::signal_serverAvailable |
QNetworkAccessManager makVrv::DtServerAvailable::myManager [protected] |
QUrl makVrv::DtServerAvailable::myUrl [protected] |
std::string makVrv::DtServerAvailable::myKey [protected] |