You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __PROTOCOL_ZL_MEDIASERVER_REST_HEADER__
#define __PROTOCOL_ZL_MEDIASERVER_REST_HEADER__
#ifdef __linux__
#include <features.h>
#endif
#include "protocolHTTP.h"
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/timeb.h>
#include <string>
#include "../../components/base/basicFunctionality.h"
#include "../../components/base/basicLogCollection.h"
#include "../../components/base/basicSettingsProvider.h"
class protocolZLMEDIA : public protocolHTTP { private: basicLogCollection * m_pLog; config_setting_t * m_pSettings; char m_pSecret[256]; char m_pAccessPoint[256]; char m_pIP[16]; bool m_bSessionOnGo; bool m_bServerIsPresent; bool m_bUseSSL; uint16_t m_nPort; protected: virtual bool packetHandler( protocolPackage *Package ); public: explicit protocolZLMEDIA( config_setting_t *Settings = NULL ); ~protocolZLMEDIA(); bool isOnline();};
#endif
|