#include <McNackFrame.h>
Public Member Functions | |
std::string | getFrameAsNetworkString () |
McNackFrame (unsigned char *source, unsigned char *dest, std::string hostname_src, std::string group_n, uint32_t p_id, std::vector< uint32_t > seq_n) | |
McNackFrame (unsigned char *buffer) | |
void | print_frame () |
virtual | ~McNackFrame () |
Public Attributes | |
uint16_t | buffer_str_len_ |
bool | correct_crc_ |
struct mc_nack_header | header_ |
std::string | hostname_source_ |
std::string | mc_group_ |
std::vector< uint32_t > | req_seq_nums_ |
Static Public Attributes | |
static uint32_t | HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mc_nack_header) |
static uint32_t | stat_id_count = 0 |
Definition at line 21 of file McNackFrame.h.
McNackFrame::McNackFrame | ( | unsigned char * | source, |
unsigned char * | dest, | ||
std::string | hostname_src, | ||
std::string | group_n, | ||
uint32_t | p_id, | ||
std::vector< uint32_t > | seq_n | ||
) |
Definition at line 12 of file McNackFrame.cpp.
McNackFrame::McNackFrame | ( | unsigned char * | buffer | ) |
Definition at line 29 of file McNackFrame.cpp.
McNackFrame::~McNackFrame | ( | ) | [virtual] |
Definition at line 90 of file McNackFrame.cpp.
std::string McNackFrame::getFrameAsNetworkString | ( | ) |
Definition at line 95 of file McNackFrame.cpp.
void McNackFrame::print_frame | ( | ) |
Definition at line 151 of file McNackFrame.cpp.
uint16_t McNackFrame::buffer_str_len_ |
Definition at line 36 of file McNackFrame.h.
Reimplemented from EthernetFrame.
Definition at line 40 of file McNackFrame.h.
Definition at line 29 of file McNackFrame.h.
uint32_t McNackFrame::HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mc_nack_header) [static] |
Definition at line 38 of file McNackFrame.h.
std::string McNackFrame::hostname_source_ |
Definition at line 30 of file McNackFrame.h.
std::string McNackFrame::mc_group_ |
Definition at line 31 of file McNackFrame.h.
std::vector<uint32_t> McNackFrame::req_seq_nums_ |
Definition at line 32 of file McNackFrame.h.
uint32_t McNackFrame::stat_id_count = 0 [static] |
Definition at line 39 of file McNackFrame.h.