AgentXcpp  Revision:4ac4848
Internals Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
agentxcpp::RemoveAgentCapsPDU Class Reference

Represents an RemoveAgentCaps-PDU. More...

#include <RemoveAgentCapsPDU.hpp>

Inheritance diagram for agentxcpp::RemoveAgentCapsPDU:
[legend]
Collaboration diagram for agentxcpp::RemoveAgentCapsPDU:
[legend]

List of all members.

Public Member Functions

 RemoveAgentCapsPDU (data_t::const_iterator &pos, const data_t::const_iterator &end, bool big_endian)
 Parse constructor.
 RemoveAgentCapsPDU ()
 Default Constructor.
 RemoveAgentCapsPDU (oid id)
 Constructor.
void set_id (oid id)
 Set the id field.
oid get_id ()
 Get the id field.
data_t serialize ()
 Serialize the PDU.

Private Attributes

oid id
 The Object Identifier containing the value of sysORID that should no longer be exported.

Detailed Description

Represents an RemoveAgentCaps-PDU.

Definition at line 32 of file RemoveAgentCapsPDU.hpp.


Constructor & Destructor Documentation

RemoveAgentCapsPDU::RemoveAgentCapsPDU ( data_t::const_iterator &  pos,
const data_t::const_iterator &  end,
bool  big_endian 
)

Parse constructor.

Construct the object by parsing a stream. See Parsing incoming PDUs for details about PDU parsing.

Parameters:
posIterator pointing to the current stream position. The iterator is advanced while reading the header.
endIterator pointing one element past the end of the current stream. This is needed to mark the end of the buffer.
big_endianWhether the serialized form of the PDU is in big_endian format.
Exceptions:
parse_errorIf parsing fails, for example because reading the stream fails or the PDU is malformed.

Definition at line 25 of file RemoveAgentCapsPDU.cpp.

Default Constructor.

Sets the state of the object to the defaults as set by the PDU::PDUwithContext() constructor. The field 'id' is initialized to be empty.

Definition at line 77 of file RemoveAgentCapsPDU.hpp.

Constructor.

Sets the state of the object to the defaults as set by the PDU::PDUwithContext() constructor. The field id is initialized according to the parameter.

Parameters:
idThe value of the id field.

Definition at line 52 of file RemoveAgentCapsPDU.cpp.

References id.


Member Function Documentation

Get the id field.

Returns:
The id value.

Definition at line 105 of file RemoveAgentCapsPDU.hpp.

References id.

Set the id field.

Parameters:
idThe new id value.

Definition at line 95 of file RemoveAgentCapsPDU.hpp.

References id.


Member Data Documentation

The Object Identifier containing the value of sysORID that should no longer be exported.

See RFC 2741, 6.2.15. "The agentx-RemoveAgentCaps-PDU" for details.

Definition at line 42 of file RemoveAgentCapsPDU.hpp.

Referenced by get_id(), RemoveAgentCapsPDU(), and set_id().


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