SNMP request. More...

#include <Request.h>

Inheritance diagram for Snmp::Request:
Collaboration diagram for Snmp::Request:

Public Types

typedef RefCount< RequestPointer
 

Public Member Functions

 Request (int aRequestorId, unsigned int aRequestId, const Pdu &aPdu, const Session &aSession, int aFd, const Ip::Address &anAddress)
 
 Request (const Ipc::TypedMsgHdr &msg)
 from recvmsg() More...
 
virtual void pack (Ipc::TypedMsgHdr &msg) const
 prepare for sendmsg() More...
 
virtual Pointer clone () const
 returns a copy of this More...
 

Public Attributes

Pdu pdu
 SNMP protocol data unit. More...
 
Session session
 SNMP session. More...
 
int fd
 client connection descriptor More...
 
Ip::Address address
 client address More...
 
int requestorId
 kidId of the requestor; used for response destination More...
 
unsigned int requestId
 unique for sender; matches request w/ response More...
 

Private Member Functions

 Request (const Request &request)
 

Detailed Description

Definition at line 24 of file Request.h.

Member Typedef Documentation

Definition at line 24 of file Request.h.

Constructor & Destructor Documentation

Snmp::Request::Request ( int  aRequestorId,
unsigned int  aRequestId,
const Pdu aPdu,
const Session aSession,
int  aFd,
const Ip::Address anAddress 
)

Definition at line 16 of file Request.cc.

Snmp::Request::Request ( const Request request)
private

Definition at line 24 of file Request.cc.

Member Function Documentation

Ipc::Request::Pointer Snmp::Request::clone ( ) const
virtual

Implements Ipc::Request.

Definition at line 61 of file Request.cc.

void Snmp::Request::pack ( Ipc::TypedMsgHdr msg) const
virtual

Member Data Documentation

Ip::Address Snmp::Request::address

Definition at line 42 of file Request.h.

Referenced by Request(), Snmp::Forwarder::sendError(), and Snmp::Inquirer::sendResponse().

int Snmp::Request::fd

Definition at line 41 of file Request.h.

Referenced by Snmp::Inquirer::Inquirer(), and Request().

Pdu Snmp::Request::pdu

Definition at line 39 of file Request.h.

Referenced by Ipc::Strand::handleSnmpRequest(), Request(), and Snmp::Forwarder::sendError().

int Ipc::Request::requestorId
inherited
Session Snmp::Request::session

Definition at line 40 of file Request.h.

Referenced by Request(), Snmp::Forwarder::sendError(), and Snmp::Inquirer::sendResponse().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors