The AgentXRequest class represents requests made to an AgentX++ subagent.
More...
#include <agentx_request.h>
The AgentXRequest class represents requests made to an AgentX++ subagent.
It is derived from the Request class from AGENT++. Instead of holding a Pdux instance this class holds an AgentXPdu instance.
- Author
- Frank Fock
- Version
- 1.5
AgentXRequest::AgentXRequest |
( |
const AgentXPdu & |
| ) |
|
Construct a Request.
- Parameters
-
virtual AgentXRequest::~AgentXRequest |
( |
| ) |
|
|
virtual |
virtual bool AgentXRequest::add_rep_row |
( |
| ) |
|
|
virtual |
Add a repetition row to the GETBULK request PDU.
- Returns
- TRUE if there was enough room in the response PDU for another repetition, FALSE otherwise.
virtual unsigned short AgentXRequest::get_agentx_type |
( |
| ) |
|
|
inlinevirtual |
virtual Oidx AgentXRequest::get_oid |
( |
int |
| ) |
|
|
virtual |
Return the object identifier of the specified sub-request.
- Parameters
-
index | the index of the sub-request (starting from 0). |
- Returns
- An object identifier.
void AgentXRequest::lock |
( |
| ) |
|
Lock the request for exclusive usage.
This is used for processing SET requests.
virtual void AgentXRequest::set_oid |
( |
const Oidx & |
, |
|
|
int |
|
|
) |
| |
|
virtual |
virtual void AgentXRequest::trim_request |
( |
int |
| ) |
|
|
virtual |
Trim the request's variable bindings to a given number of elements.
Elements are removed starting from the end.
- Parameters
-
count | the count of variable bindings that should remain. |
void AgentXRequest::unlock |
( |
| ) |
|
The documentation for this class was generated from the following file: