MythTV master
outboundhandler.h
Go to the documentation of this file.
1#ifndef OUTBOUNDREQUESTHANDLER_H
2#define OUTBOUNDREQUESTHANDLER_H
3
4#include <QTimer>
5#include <QString>
6#include <QStringList>
7
13
14class MainServer;
15
17{
18 Q_OBJECT
19 public:
21 QString GetHandlerName(void) override // SocketRequestHandler
22 { return "OUTBOUND"; }
23 void connectionClosed(MythSocket *socket) override; // SocketRequestHandler
24
25 public slots:
26 void ConnectToMaster(void);
27
28 protected:
29 virtual bool AnnounceSocket(void) { return false; }
30 MythSocket *m_socket { nullptr };
31
32 private:
33 bool DoConnectToMaster(void);
34 QTimer m_timer;
35};
36
37#endif // OUTBOUNDREQUESTHANDLER_H
Class for communcating between myth backends and frontends.
Definition: mythsocket.h:26
QString GetHandlerName(void) override
virtual bool AnnounceSocket(void)
virtual void connectionClosed(MythSocket *)
#define PROTOSERVER_PUBLIC