]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/snmp/Request.h
4 * DEBUG: section 49 SNMP Interface
8 #ifndef SQUID_SNMPX_REQUEST_H
9 #define SQUID_SNMPX_REQUEST_H
11 #include "ip/Address.h"
12 #include "ipc/forward.h"
13 #include "ipc/Request.h"
15 #include "snmp/Session.h"
21 class Request
: public Ipc::Request
24 Request(int aRequestorId
, unsigned int aRequestId
, const Pdu
& aPdu
,
25 const Session
& aSession
, int aFd
, const Ip::Address
& anAddress
);
27 explicit Request(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
28 /* Ipc::Request API */
29 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
30 virtual Pointer
clone() const;
33 Request(const Request
& request
);
36 Pdu pdu
; ///< SNMP protocol data unit
37 Session session
; ///< SNMP session
38 int fd
; ///< client connection descriptor
39 Ip::Address address
; ///< client address
44 #endif /* SQUID_SNMPX_REQUEST_H */