-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_timer_info.h
More file actions
51 lines (43 loc) · 1.3 KB
/
admin_timer_info.h
File metadata and controls
51 lines (43 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef _ADMIN_TIMER_INFO_H_
#define _ADMIN_TIMER_INFO_H_
#include <time.h>
#include <iostream>
#include <string>
#include "statsvr_timer_info.h"
using namespace std;
using namespace tfc;
using namespace tfc::base;
namespace statsvr
{
class AdminConfigTimer: public CTimerInfo
{
public:
enum STATE
{
STATE_INIT = 0,
STATE_END = 255,
};
AdminConfigTimer(CMCDProc* const proc
, unsigned msg_seq
, const timeval& ccd_time
, string ccd_client_ip
, uint64_t ret_flow
, uint64_t max_time_gap)
: CTimerInfo(proc, msg_seq, ccd_time, ccd_client_ip, ret_flow, max_time_gap)
{}
int do_next_step(string& req_data);
int on_admin_send_reply(const Json::Value &rsp);
int on_admin_ping();
int on_admin_getConf();
int on_admin_config();
int on_admin_getServiceStatus();
int get_app_today_status(string appID, Json::Value &appList);
int on_admin_get_today_status();
int get_id_list(string value, string idListName, vector<string> &idList);
int restore_userList();
int restore_serviceList();
int restore_queue(string appID, vector<string> appID_tags, bool highpri);
int on_admin_restore();
};
}
#endif