/* * VdrmonThread */ #ifndef _VDRMON_THREAD #define _VDRMON_THREAD #include #include #include #include #include #include using namespace std; class cSelect; class cVdrManagerThread : public cThread { private: cSelect * select; int port; const char * password; bool forceCheckSvdrp; bool useSSL; const char * pemFile; public: cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp, bool useSSL, const char * pemFile); virtual void Action(void); void Shutdown(); private: virtual ~cVdrManagerThread(); void Cleanup(); bool Init(); bool InitSSL(); }; #endif