Dangerous SNMP
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
response.hpp
1 #pragma once
2 
3 #include "securitymodel.hpp"
4 #include "pdu.hpp"
5 
6 namespace dangerous { namespace snmp {
7 
12 class Response {
13 public:
19  class Details {
20  public:
25  Details() {
26  operations = 0;
27  }
28 
29  public:
32  unsigned int operations;
33  };
34 
35 public:
39  Response();
40 
41 public:
45 
49 };
50 
51 } }
52 
PDU pdu
This is the PDU that contains the SNMP-level information; that is, this is the actual response...
Definition: response.hpp:48
This represents the result of a logical operation performed by the client.
Definition: response.hpp:12
A PDU represents an SNMP Protocol Data Unit (PDU).
Definition: pdu.hpp:56
Response()
Default constructor.
Details()
Default constructor.
Definition: response.hpp:25
unsigned int operations
This is the number of protocol-level operations that were performed during the course of actually get...
Definition: response.hpp:32
The Details class adds a bit of extra information to a Response.
Definition: response.hpp:19
Details details
This represents any relevant details about the operations needed in order to produce this response...
Definition: response.hpp:44