#include <McAckFrame.h>
Public Member Functions | |
std::string | getFrameAsNetworkString () |
McAckFrame (unsigned char *source, unsigned char *dest, std::string hostname_src, std::string group_n, uint32_t p_id, uint32_t seq_n) | |
McAckFrame (unsigned char *buffer) | |
void | print_frame () |
virtual | ~McAckFrame () |
Public Attributes | |
uint16_t | buffer_str_len_ |
bool | cr_flag_ |
struct mc_ack_header | header_ |
std::string | hostname_source_ |
std::string | mc_group_ |
Static Public Attributes | |
static uint32_t | HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mc_ack_header) |
Definition at line 22 of file McAckFrame.h.
McAckFrame::McAckFrame | ( | unsigned char * | source, |
unsigned char * | dest, | ||
std::string | hostname_src, | ||
std::string | group_n, | ||
uint32_t | p_id, | ||
uint32_t | seq_n | ||
) |
Definition at line 12 of file McAckFrame.cpp.
McAckFrame::McAckFrame | ( | unsigned char * | buffer | ) |
Definition at line 32 of file McAckFrame.cpp.
McAckFrame::~McAckFrame | ( | ) | [virtual] |
Definition at line 88 of file McAckFrame.cpp.
std::string McAckFrame::getFrameAsNetworkString | ( | ) |
Definition at line 93 of file McAckFrame.cpp.
void McAckFrame::print_frame | ( | ) |
Definition at line 142 of file McAckFrame.cpp.
uint16_t McAckFrame::buffer_str_len_ |
Definition at line 38 of file McAckFrame.h.
bool McAckFrame::cr_flag_ |
Definition at line 36 of file McAckFrame.h.
struct mc_ack_header McAckFrame::header_ |
Definition at line 31 of file McAckFrame.h.
uint32_t McAckFrame::HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mc_ack_header) [static] |
Definition at line 40 of file McAckFrame.h.
std::string McAckFrame::hostname_source_ |
Definition at line 32 of file McAckFrame.h.
std::string McAckFrame::mc_group_ |
Definition at line 33 of file McAckFrame.h.