#ifndef CONTROLSERVER_H #define CONTROLSERVER_H #include #include #include #include #include #include "PlexHTTPRequestHandler.h" #include "PlexReqHandlerFactory.h" namespace plexclient { class ControlServer { public: static ControlServer& GetInstance() { static ControlServer instance; return instance; } void Start(); void Stop(); private: ControlServer(); Poco::Net::ServerSocket *m_pSvs; Poco::Net::HTTPServer *m_pSrv; }; } #endif // CONTROLSERVER_H