]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Request.h
4 * DEBUG: section 16 Cache Manager API
8 #ifndef SQUID_MGR_REQUEST_H
9 #define SQUID_MGR_REQUEST_H
11 #include "ipc/forward.h"
12 #include "ipc/Request.h"
13 #include "mgr/ActionParams.h"
19 /// cache manager request
20 class Request
: public Ipc::Request
23 Request(int aRequestorId
, unsigned int aRequestId
, int aFd
,
24 const ActionParams
&aParams
);
26 explicit Request(const Ipc::TypedMsgHdr
& msg
); ///< from recvmsg()
27 /* Ipc::Request API */
28 virtual void pack(Ipc::TypedMsgHdr
& msg
) const;
29 virtual Pointer
clone() const;
32 Request(const Request
& request
);
35 int fd
; ///< HTTP client connection descriptor
37 ActionParams params
; ///< action name and parameters
43 #endif /* SQUID_MGR_REQUEST_H */