#include <Response.h>

Inheritance diagram for Snmp::Response:
Collaboration diagram for Snmp::Response:

Public Types

typedef RefCount< ResponsePointer
 

Public Member Functions

 Response (Ipc::RequestId)
 sender's constructor More...
 
 Response (const Ipc::TypedMsgHdr &msg)
 from recvmsg() More...
 
virtual void pack (Ipc::TypedMsgHdr &msg) const
 prepare for sendmsg() More...
 
virtual Ipc::Response::Pointer clone () const
 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

Definition at line 26 of file Response.h.

Constructor & Destructor Documentation

◆ Response() [1/2]

Snmp::Response::Response ( Ipc::RequestId  aRequestId)
explicit

Definition at line 18 of file Response.cc.

◆ Response() [2/2]

Snmp::Response::Response ( const Ipc::TypedMsgHdr msg)
explicit

Member Function Documentation

◆ clone()

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

Implements Ipc::Response.

Definition at line 39 of file Response.cc.

◆ intendedRecepient()

QuestionerId Ipc::Response::intendedRecepient ( ) const
inlineinherited

Definition at line 33 of file Response.h.

References Ipc::RequestId::questioner(), and Ipc::Response::requestId.

◆ pack()

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

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

RequestId Ipc::Response::requestId
inherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors