Represents an RemoveAgentCaps-PDU. More...
#include <RemoveAgentCapsPDU.hpp>
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. | |
Represents an RemoveAgentCaps-PDU.
Definition at line 32 of file RemoveAgentCapsPDU.hpp.
| 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.
| pos | Iterator pointing to the current stream position. The iterator is advanced while reading the header. |
| end | Iterator pointing one element past the end of the current stream. This is needed to mark the end of the buffer. |
| big_endian | Whether the serialized form of the PDU is in big_endian format. |
| parse_error | If parsing fails, for example because reading the stream fails or the PDU is malformed. |
Definition at line 25 of file RemoveAgentCapsPDU.cpp.
| agentxcpp::RemoveAgentCapsPDU::RemoveAgentCapsPDU | ( | ) | [inline] |
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.
| id | The value of the id field. |
Definition at line 52 of file RemoveAgentCapsPDU.cpp.
References id.
| oid agentxcpp::RemoveAgentCapsPDU::get_id | ( | ) | [inline] |
Get the id field.
Definition at line 105 of file RemoveAgentCapsPDU.hpp.
References id.
Serialize the PDU.
Definition at line 37 of file RemoveAgentCapsPDU.cpp.
References agentxcpp::PDUwithContext::add_header(), and agentxcpp::PDU::agentxRemoveAgentCapsPDU.
| void agentxcpp::RemoveAgentCapsPDU::set_id | ( | oid | id | ) | [inline] |
Set the id field.
| id | The new id value. |
Definition at line 95 of file RemoveAgentCapsPDU.hpp.
References id.
oid agentxcpp::RemoveAgentCapsPDU::id [private] |
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().