26 lines
401 B
C++
26 lines
401 B
C++
//
|
|
// Created by dongl on 23-4-21.
|
|
//
|
|
|
|
#ifndef IM2_MANAGEMENT_H
|
|
#define IM2_MANAGEMENT_H
|
|
|
|
|
|
#include "event2/bufferevent.h"
|
|
#include "mapping.h"
|
|
#include "analysis.h"
|
|
#include "Response.h"
|
|
|
|
|
|
class management {
|
|
public:
|
|
management();
|
|
virtual ~management();
|
|
public:
|
|
void read_packet(bufferevent* bev, sockaddr_in* addr);
|
|
void send_packet(bufferevent* bev);
|
|
};
|
|
|
|
|
|
#endif //IM2_MANAGEMENT_H
|