Dangerous SNMP
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
context.hpp
1 #pragma once
2 
3 #include <memory>
4 
5 namespace dangerous { namespace snmp {
6 
18 class Context {
19 public:
24  Context();
29  ~Context();
30 
31 public:
32  class PrivateData;
33 
34 protected:
36  std::shared_ptr<PrivateData> privateData;
37 
39  friend class Client;
41  friend class AgentX;
42 };
43 
44 } }
45 
An AgentX represents an AgentX sub-agent.
Definition: agentx.hpp:37
A Dangerous SNMP "Context" is the backing for the rest of the Dangerous SNMP libraries.
Definition: context.hpp:18
std::shared_ptr< PrivateData > privateData
TODO: WHAT IS THIS.
Definition: context.hpp:32
Context()
Constructor.
A Client instance is used to communicate with an SNMP agent.
Definition: client.hpp:60