#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...
 
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

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
overridevirtual

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
overridevirtual

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