receiver_msg Struct Reference
[Communication]
Message used from module Receiver to inform the module Proxy Instance of received a message.
#include "message_format.hpp"
Public Types | |
enum | receiver_action { JOIN, LEAVE, CACHE_MISS } |
Public Member Functions | |
receiver_msg (receiver_action type, int if_index, addr_storage g_addr) | |
receiver_msg (receiver_action type, int if_index, addr_storage src_addr, addr_storage g_addr) | |
~receiver_msg () | |
Public Attributes | |
addr_storage | g_addr |
int | if_index |
addr_storage | src_addr |
receiver_action | type |
Member Enumeration Documentation
A module Receiver can receive the following messages.
Constructor & Destructor Documentation
receiver_msg::receiver_msg | ( | receiver_action | type, | |
int | if_index, | |||
addr_storage | src_addr, | |||
addr_storage | g_addr | |||
) | [inline] |
Constructor used for the action CACHE_MISS.
- Parameters:
-
type type of the receiver action if_index action for a specific interface index src_addr action for a specific source g_addr action for a specific multicast group
References HC_LOG_TRACE.
receiver_msg::receiver_msg | ( | receiver_action | type, | |
int | if_index, | |||
addr_storage | g_addr | |||
) | [inline] |
Constructor used for the actions JOIN and LEAVE.
- Parameters:
-
type type of the receiver action if_index action for a specific interface index g_addr action for a specific multicast group
References HC_LOG_TRACE.
receiver_msg::~receiver_msg | ( | ) | [inline] |
References HC_LOG_TRACE.
Member Data Documentation
Action for a specific multicast group.
Action on a specific interface index.
Action for a specific source address.
Type of the receiver message.