]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/snmp/Response.h
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 49 SNMP Interface */
11 #ifndef SQUID_SNMPX_RESPONSE_H
12 #define SQUID_SNMPX_RESPONSE_H
14 #include "ipc/forward.h"
15 #include "ipc/Response.h"
23 class Response
: public Ipc::Response
26 Response(unsigned int aRequestId
);
27 explicit Response(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
28 /* Ipc::Response API */
29 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
30 virtual Ipc::Response::Pointer
clone() const;
33 Response(const Response
& response
);
36 Pdu pdu
; ///< SNMP protocol data unit
39 std::ostream
& operator << (std::ostream
& os
, const Response
& response
);
43 #endif /* SQUID_SNMPX_RESPONSE_H */