src_state Struct Reference
[Proxy Instance]
Data structure to save multicast sources/groups and there states.
#include "proxy_instance.hpp"
Public Types | |
enum | state { INIT, RUNNING, RESPONSE_STATE, WAIT_FOR_DEL, UNUSED_SRC, CACHED_SRC } |
Public Member Functions | |
src_state (int counter, state flag) | |
src_state () | |
std::string | state_type_to_string () |
Public Attributes | |
state | flag |
int | robustness_counter |
Member Enumeration Documentation
enum src_state::state |
Represents the possible states of a multicast source/group.
- Enumerator:
Constructor & Destructor Documentation
src_state::src_state | ( | ) | [inline] |
Create a new default src_state.
Member Function Documentation
std::string src_state::state_type_to_string | ( | ) | [inline] |
Convert the current state to a string.
References CACHED_SRC, flag, HC_LOG_TRACE, INIT, RESPONSE_STATE, RUNNING, UNUSED_SRC, and WAIT_FOR_DEL.
Member Data Documentation
Save the current state.
Referenced by state_type_to_string().
Save a counter that is linked to the current state.