mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Makes AlertCheckLuaEngine a subclass of LuaEngine
This commit is contained in:
parent
0ec286f3ba
commit
a5bf74b2b6
4 changed files with 6 additions and 22 deletions
|
|
@ -22,11 +22,10 @@
|
|||
#ifndef _ALERT_CHECK_LUA_ENGINE_H_
|
||||
#define _ALERT_CHECK_LUA_ENGINE_H_
|
||||
|
||||
class AlertCheckLuaEngine {
|
||||
class AlertCheckLuaEngine : public LuaEngine {
|
||||
private:
|
||||
ScriptPeriodicity p;
|
||||
char script_path[MAX_PATH];
|
||||
LuaEngine le;
|
||||
|
||||
public:
|
||||
AlertCheckLuaEngine(AlertEntity alert_entity, ScriptPeriodicity p, NetworkInterface *iface);
|
||||
|
|
@ -36,7 +35,6 @@ class AlertCheckLuaEngine {
|
|||
|
||||
ScriptPeriodicity getPeriodicity() const;
|
||||
const char * getGranularity() const;
|
||||
lua_State * getState() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue