|
Squid Web Cache master
|
SNMP request. More...
#include <Request.h>
Public Types | |
| typedef RefCount< Request > | Pointer |
Public Member Functions | |
| Request (int aRequestorId, Ipc::RequestId aRequestId, const Pdu &aPdu, const Session &aSession, int aFd, const Ip::Address &anAddress) | |
| Request (const Ipc::TypedMsgHdr &msg) | |
| from recvmsg() | |
| void | pack (Ipc::TypedMsgHdr &msg) const override |
| prepare for sendmsg() | |
| Pointer | clone () const override |
| returns a copy of this | |
Public Attributes | |
| Pdu | pdu |
| SNMP protocol data unit. | |
| Session | session |
| SNMP session. | |
| int | fd |
| client connection descriptor | |
| Ip::Address | address |
| client address | |
| int | requestorId = 0 |
| kidId of the requestor; used for response destination | |
| RequestId | requestId |
| matches the request[or] with the response | |
|
inherited |
| Snmp::Request::Request | ( | int | aRequestorId, |
| Ipc::RequestId | aRequestId, | ||
| const Pdu & | aPdu, | ||
| const Session & | aSession, | ||
| int | aFd, | ||
| const Ip::Address & | anAddress | ||
| ) |
Definition at line 16 of file Request.cc.
|
explicit |
Definition at line 24 of file Request.cc.
References Ipc::TypedMsgHdr::checkType(), Ipc::TypedMsgHdr::getFd(), Ipc::TypedMsgHdr::getPod(), Ipc::TypedMsgHdr::hasFd(), and Ipc::mtSnmpRequest.
|
overridevirtual |
Implements Ipc::Request.
Definition at line 53 of file Request.cc.
|
overridevirtual |
Implements Ipc::Request.
Definition at line 38 of file Request.cc.
References Ipc::mtSnmpRequest, Ipc::TypedMsgHdr::putFd(), Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::setType().
| Ip::Address Snmp::Request::address |
Definition at line 39 of file Request.h.
Referenced by Snmp::Forwarder::sendError(), and Snmp::Inquirer::sendResponse().
| int Snmp::Request::fd |
Definition at line 38 of file Request.h.
Referenced by Snmp::Inquirer::Inquirer().
| Pdu Snmp::Request::pdu |
Definition at line 36 of file Request.h.
Referenced by Ipc::Strand::handleSnmpRequest(), and Snmp::Forwarder::sendError().
|
inherited |
Definition at line 38 of file Request.h.
Referenced by Ipc::Coordinator::handleCacheMgrRequest(), Ipc::Coordinator::handleSnmpRequest(), Ipc::Strand::handleSnmpRequest(), Mgr::Action::respond(), Mgr::FunAction::respond(), and Mgr::InfoAction::respond().
|
inherited |
Definition at line 37 of file Request.h.
Referenced by Mgr::Request::Request(), Ipc::Coordinator::handleCacheMgrRequest(), and Ipc::Coordinator::handleSnmpRequest().
| Session Snmp::Request::session |
Definition at line 37 of file Request.h.
Referenced by Snmp::Forwarder::sendError(), and Snmp::Inquirer::sendResponse().