Represents an CleanupSet-PDU. More...
#include <CleanupSetPDU.hpp>
Public Member Functions | |
| CleanupSetPDU (data_t::const_iterator &pos, const data_t::const_iterator &end, bool big_endian) | |
| Parse constructor. | |
| virtual data_t | serialize () const |
| Serialize the PDU. | |
Represents an CleanupSet-PDU.
Definition at line 31 of file CleanupSetPDU.hpp.
| agentxcpp::CleanupSetPDU::CleanupSetPDU | ( | data_t::const_iterator & | pos, |
| const data_t::const_iterator & | end, | ||
| bool | big_endian | ||
| ) | [inline] |
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 54 of file CleanupSetPDU.hpp.
| virtual data_t agentxcpp::CleanupSetPDU::serialize | ( | ) | const [inline, virtual] |
Serialize the PDU.
Implements agentxcpp::PDU.
Definition at line 64 of file CleanupSetPDU.hpp.
References agentxcpp::PDU::add_header(), and agentxcpp::PDU::agentxCleanupSetPDU.