]>
Commit | Line | Data |
---|---|---|
d705aad9 RG |
1 | #ifndef REC_SNMP_HH |
2 | #define REC_SNMP_HH | |
3 | ||
4 | #pragma once | |
5 | ||
6 | #include "snmp-agent.hh" | |
7 | ||
8 | class RecursorSNMPAgent; | |
9 | ||
10 | class RecursorSNMPAgent: public SNMPAgent | |
11 | { | |
12 | public: | |
13 | RecursorSNMPAgent(const std::string& name, const std::string& masterSocket); | |
14 | bool sendCustomTrap(const std::string& reason); | |
15 | }; | |
16 | ||
17 | extern std::shared_ptr<RecursorSNMPAgent> g_snmpAgent; | |
18 | ||
19 | #endif /* REC_SNMP_HH */ |