]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/snmp/Response.h
2 * DEBUG: section 49 SNMP Interface
6 #ifndef SQUID_SNMPX_RESPONSE_H
7 #define SQUID_SNMPX_RESPONSE_H
9 #include "ipc/forward.h"
10 #include "ipc/Response.h"
18 class Response
: public Ipc::Response
21 Response(unsigned int aRequestId
);
22 explicit Response(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
23 /* Ipc::Response API */
24 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
25 virtual Ipc::Response::Pointer
clone() const;
28 Response(const Response
& response
);
31 Pdu pdu
; ///< SNMP protocol data unit
34 extern std::ostream
& operator << (std::ostream
& os
, const Response
& response
);
38 #endif /* SQUID_SNMPX_RESPONSE_H */