| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Message type virtual method table. More...
#include <res_aeap_message.h>
| Data Fields | |
| int(* | construct1 )(struct ast_aeap_message *self, const void *params) | 
| Construct/Initialize a message object. | |
| int(* | construct2 )(struct ast_aeap_message *self, const char *msg_type, const char *name, const char *id, const void *params) | 
| Construct/Initialize a message object. | |
| void *(* | data )(struct ast_aeap_message *self) | 
| Retrieve the core message data/body. | |
| int(* | deserialize )(struct ast_aeap_message *self, const void *buf, intmax_t size) | 
| Deserialize the given buffer into a message object. | |
| void(* | destruct )(struct ast_aeap_message *self) | 
| Destruct/Cleanup object resources. | |
| const char *(* | error_msg )(const struct ast_aeap_message *self) | 
| Retrieve the error message if it has one. | |
| int(* | error_msg_set )(struct ast_aeap_message *self, const char *error_msg) | 
| Set an error message. | |
| const char *(* | id )(const struct ast_aeap_message *self) | 
| Retrieve a message id. | |
| int(* | id_set )(struct ast_aeap_message *self, const char *id) | 
| Set a message id. | |
| int(* | is_request )(const struct ast_aeap_message *self) | 
| Retrieve whether or not this is a request message. | |
| int(* | is_response )(const struct ast_aeap_message *self) | 
| Retrieve whether or not this is a response message. | |
| const char *(* | name )(const struct ast_aeap_message *self) | 
| Retrieve a message name. | |
| enum AST_AEAP_DATA_TYPE | serial_type | 
| int(* | serialize )(const struct ast_aeap_message *self, void **buf, intmax_t *size) | 
| Serialize the message object into byte/char buffer. | |
| const char * | type_name | 
| size_t | type_size | 
Message type virtual method table.
Definition at line 35 of file res_aeap_message.h.
| int(* construct1) (struct ast_aeap_message *self, const void *params) | 
Construct/Initialize a message object.
| self | The message object to initialize | 
| params | Other optional parameter(s) to possibly use | 
Definition at line 51 of file res_aeap_message.h.
| int(* construct2) (struct ast_aeap_message *self, const char *msg_type, const char *name, const char *id, const void *params) | 
Construct/Initialize a message object.
| self | The message object to initialize | 
| msg_type | The type of message (e.g. request or response) | 
| name | The name of the message | 
| id | The message id | 
| params | Other optional parameter(s) to possibly use | 
Definition at line 64 of file res_aeap_message.h.
| void *(* data) (struct ast_aeap_message *self) | 
Retrieve the core message data/body.
| self | This message object | 
Definition at line 129 of file res_aeap_message.h.
| int(* deserialize) (struct ast_aeap_message *self, const void *buf, intmax_t size) | 
Deserialize the given buffer into a message object.
| self | The message object to deserialize into | 
| buf | The buffer to deserialize | 
| size | The size/length of the buffer | 
Definition at line 83 of file res_aeap_message.h.
| void(* destruct) (struct ast_aeap_message *self) | 
Destruct/Cleanup object resources.
| self | The message object being destructed | 
Definition at line 72 of file res_aeap_message.h.
Referenced by message_destructor().
| const char *(* error_msg) (const struct ast_aeap_message *self) | 
Retrieve the error message if it has one.
| self | The message object | 
Definition at line 156 of file res_aeap_message.h.
| int(* error_msg_set) (struct ast_aeap_message *self, const char *error_msg) | 
Set an error message.
| self | The message object | 
| error_msg | The error message string to set | 
Definition at line 166 of file res_aeap_message.h.
| const char *(* id) (const struct ast_aeap_message *self) | 
Retrieve a message id.
| self | The message object | 
Definition at line 103 of file res_aeap_message.h.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), and Section::__lt__().
| int(* id_set) (struct ast_aeap_message *self, const char *id) | 
Set a message id.
| self | The message object | 
| id | The id to set | 
Definition at line 113 of file res_aeap_message.h.
| int(* is_request) (const struct ast_aeap_message *self) | 
Retrieve whether or not this is a request message.
| self | The message object | 
Definition at line 138 of file res_aeap_message.h.
| int(* is_response) (const struct ast_aeap_message *self) | 
Retrieve whether or not this is a response message.
| self | The message object | 
Definition at line 147 of file res_aeap_message.h.
| const char *(* name) (const struct ast_aeap_message *self) | 
Retrieve a message name.
| self | The message object | 
Definition at line 122 of file res_aeap_message.h.
Referenced by PathSegment::get_child(), and SwaggerType::load().
| enum AST_AEAP_DATA_TYPE serial_type | 
The type to serialize to, and de-serialize from
Definition at line 41 of file res_aeap_message.h.
Referenced by ast_aeap_send_msg().
| int(* serialize) (const struct ast_aeap_message *self, void **buf, intmax_t *size) | 
Serialize the message object into byte/char buffer.
| self | The message object to serialize | 
| buf | [out] The buffer to hold the "packed" data | 
| size | [out] The size of the data written to the buffer | 
Definition at line 94 of file res_aeap_message.h.
| const char* type_name | 
The name of this type
Definition at line 39 of file res_aeap_message.h.
| size_t type_size | 
The size of the message implementation type. Used for allocations.
Definition at line 37 of file res_aeap_message.h.