#include <payload_conf.h>
Inheritance diagram for openikev2::Payload_CONF:

Public Types | |
| enum | CONFIGURATION_TYPE { RESERVED = 0, CFG_REQUEST = 1, CFG_REPLY = 2, CFG_SET = 3, CFG_ACK = 4 } |
| Configuration types. More... | |
Public Member Functions | |
| Payload_CONF (CONFIGURATION_TYPE configuration_type) | |
| Creates a new Payload_CONF. | |
| Payload_CONF (const Payload_CONF &other) | |
| Creates a new Payload_CONF cloning another one. | |
| Payload_CONF (ByteBuffer &byte_buffer) | |
| Creates a new Payload_KE based on its binary representation. | |
| void | addConfigurationAttribute (auto_ptr< ConfigurationAttribute > attribute) |
| Add an attribute to the configuration. | |
| virtual void | getBinaryRepresentation (ByteBuffer &byte_buffer) const |
| Appends the binary representation of the Payload at the end of the buffer, without the fixed header. | |
| virtual string | toStringTab (uint8_t tabs) const |
| Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE. | |
| virtual auto_ptr< Payload > | clone () const |
| Cets a clone of this payload. | |
Static Public Member Functions | |
| static string | CONFIGURATION_TYPE_STR (CONFIGURATION_TYPE conf_type) |
| Translate from Configuration type IDs to strings. | |
Public Attributes | |
| AutoVector< ConfigurationAttribute > | attributes |
| Configuration attribute collection. | |
Protected Attributes | |
| CONFIGURATION_TYPE | configuration_type |
| Configuration type. | |
Configuration types.
| RESERVED | Reserved. |
| CFG_REQUEST | Configuration request. |
| CFG_REPLY | Configuration reply. |
| CFG_SET | Configuration set. |
| CFG_ACK | Configuration ACK. |
| openikev2::Payload_CONF::Payload_CONF | ( | CONFIGURATION_TYPE | configuration_type | ) |
| openikev2::Payload_CONF::Payload_CONF | ( | const Payload_CONF & | other | ) |
| openikev2::Payload_CONF::Payload_CONF | ( | ByteBuffer & | byte_buffer | ) |
Creates a new Payload_KE based on its binary representation.
| byte_buffer | Buffer with its read pointer at the "payload length" field |
| string openikev2::Payload_CONF::CONFIGURATION_TYPE_STR | ( | CONFIGURATION_TYPE | conf_type | ) | [static] |
Translate from Configuration type IDs to strings.
| conf_type | Configuration type IDs |
| void openikev2::Payload_CONF::addConfigurationAttribute | ( | auto_ptr< ConfigurationAttribute > | attribute | ) |
| void openikev2::Payload_CONF::getBinaryRepresentation | ( | ByteBuffer & | byte_buffer | ) | const [virtual] |
Appends the binary representation of the Payload at the end of the buffer, without the fixed header.
| byte_buffer | Byte buffer where append the binary representation |
Implements openikev2::Payload.
| string openikev2::Payload_CONF::toStringTab | ( | uint8_t | tabs | ) | const [virtual] |
Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.
| tabs | Num of tabs preceding the textual representation. |
Implements openikev2::Payload.
| auto_ptr< Payload > openikev2::Payload_CONF::clone | ( | ) | const [virtual] |
1.5.1