- list<string> answerList;
- list<string> requestList;
- uint32_t adminIP;
- string adminLogin;
- uint16_t port;
- pthread_t thrReciveSendConf;
- bool nonstop;
- int state;
- //HOSTALLOW * hostAllow;
- ADMIN currAdmin;
- STG_LOGGER & WriteServLog;
-
- int outerSocket;
- int listenSocket;
- struct sockaddr_in outerAddr;
- socklen_t outerAddrLen;
-
- PARSER_GET_SERVER_INFO parserGetServInfo;
-
- PARSER_GET_USERS parserGetUsers;
- PARSER_GET_USER parserGetUser;
- PARSER_CHG_USER parserChgUser;
- PARSER_ADD_USER parserAddUser;
- PARSER_DEL_USER parserDelUser;
- PARSER_CHECK_USER parserCheckUser;
- PARSER_SEND_MESSAGE parserSendMessage;
-
- PARSER_GET_ADMINS parserGetAdmins;
- PARSER_ADD_ADMIN parserAddAdmin;
- PARSER_DEL_ADMIN parserDelAdmin;
- PARSER_CHG_ADMIN parserChgAdmin;
-
- PARSER_GET_TARIFFS parserGetTariffs;
- PARSER_ADD_TARIFF parserAddTariff;
- PARSER_DEL_TARIFF parserDelTariff;
- PARSER_CHG_TARIFF parserChgTariff;
+ std::list<std::string> requestList;
+ uint32_t adminIP;
+ std::string adminLogin;
+ std::string adminPassword;
+ uint16_t port;
+ pthread_t thrReciveSendConf;
+ bool nonstop;
+ int state;
+ ADMIN * currAdmin;
+ PLUGIN_LOGGER & logger;
+ std::string dataAnswer;
+
+ int listenSocket;