![]() |
Disk ARchive
2.6.8
Full featured and portable backup and archiving tool
|
decoding received messages More...
#include <messaging.hpp>
Public Member Functions | |
messaging_decode (const messaging_decode &ref)=default | |
messaging_decode (messaging_decode &&ref) noexcept=default | |
messaging_decode & | operator= (const messaging_decode &ref)=default |
messaging_decode & | operator= (messaging_decode &&ref) noexcept=default |
void | clear () |
reset the object to its initial state | |
bool | add_block (const char *x_input, U_I x_size) |
msg_type | get_type () const |
get the type of message pointed to at construction time | |
infinint | get_infinint () const |
for messages of type order_skip, answr_filesize, order_read_ahead, answr_filesize, | |
U_I | get_U_I () const |
for messages of type order_read | |
std::string | get_string () const |
for messages of type order_set_context | |
bool | get_bool () const |
for messages of type anwsr_oldarchive | |
label | get_label () const |
for messages of type answr_get_dataname, | |
Private Attributes | |
msg_type | msgt |
memory_file | buffer |
decoding received messages
Definition at line 85 of file messaging.hpp.
bool libdar::messaging_decode::add_block | ( | const char * | x_input, |
U_I | x_size | ||
) |
add a block of data to be decoded
[in] | x_input | is the address of the message to add |
[in] | x_size | is the size of the message to add |