#include <Response.h>


| Public Types | |
| typedef RefCount< Response > | Pointer | 
| Public Member Functions | |
| Response (Ipc::RequestId) | |
| sender's constructor  More... | |
| Response (const Ipc::TypedMsgHdr &msg) | |
| from recvmsg()  More... | |
| void | pack (Ipc::TypedMsgHdr &msg) const override | 
| prepare for sendmsg()  More... | |
| Ipc::Response::Pointer | clone () const override | 
| returns a copy of this  More... | |
| QuestionerId | intendedRecepient () const | 
| for Mine() tests  More... | |
| Public Attributes | |
| Pdu | pdu | 
| SNMP protocol data unit.  More... | |
| RequestId | requestId | 
| the ID of the request we are responding to  More... | |
Detailed Description
Definition at line 23 of file Response.h.
Member Typedef Documentation
◆ Pointer
| 
 | inherited | 
Definition at line 26 of file Response.h.
Constructor & Destructor Documentation
◆ Response() [1/2]
| 
 | explicit | 
Definition at line 18 of file Response.cc.
◆ Response() [2/2]
| 
 | explicit | 
Definition at line 23 of file Response.cc.
References Ipc::TypedMsgHdr::checkType(), Ipc::TypedMsgHdr::getPod(), and Ipc::mtSnmpResponse.
Member Function Documentation
◆ clone()
| 
 | overridevirtual | 
Implements Ipc::Response.
Definition at line 39 of file Response.cc.
◆ intendedRecepient()
| 
 | inlineinherited | 
Definition at line 33 of file Response.h.
References Ipc::RequestId::questioner(), and Ipc::Response::requestId.
◆ pack()
| 
 | overridevirtual | 
Implements Ipc::Response.
Definition at line 31 of file Response.cc.
References Ipc::mtSnmpResponse, Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::setType().
Referenced by Ipc::Coordinator::handleSnmpRequest(), and Snmp::SendResponse().
Member Data Documentation
◆ pdu
| Pdu Snmp::Response::pdu | 
Definition at line 33 of file Response.h.
Referenced by Snmp::Inquirer::aggregate(), and Snmp::SendResponse().
◆ requestId
| 
 | inherited | 
Definition at line 36 of file Response.h.
Referenced by Ipc::Strand::handleCacheMgrResponse(), Ipc::Inquirer::HandleRemoteAck(), Ipc::Strand::handleSnmpResponse(), and Ipc::Response::intendedRecepient().
The documentation for this class was generated from the following files:
- src/snmp/Response.h
- src/snmp/Response.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
