]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/snmp/Response.h
4 * DEBUG: section 49 SNMP Interface
8 #ifndef SQUID_SNMPX_RESPONSE_H
9 #define SQUID_SNMPX_RESPONSE_H
11 #include "ipc/forward.h"
12 #include "ipc/Response.h"
20 class Response
: public Ipc::Response
23 Response(unsigned int aRequestId
);
24 explicit Response(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
25 /* Ipc::Response API */
26 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
27 virtual Ipc::Response::Pointer
clone() const;
30 Response(const Response
& response
);
33 Pdu pdu
; ///< SNMP protocol data unit
36 extern std::ostream
& operator << (std::ostream
& os
, const Response
& response
);
40 #endif /* SQUID_SNMPX_RESPONSE_H */