Public Member Functions | |
csegmsg (uint32_t xid) | |
csegmsg (csegmsg const &segmsg) | |
csegmsg & | operator= (csegmsg const &segmsg) |
bool | has_expired () const |
void | set_expiration_in (time_t delta_sec=0, time_t delta_nsec=0) |
uint32_t | get_xid () const |
rofl::openflow::cofmsg_stats const & | get_msg () const |
void | store_and_merge_msg (rofl::openflow::cofmsg_stats const &msg) |
Merges payload from msg within this->msg. Checks stats sub-type first. | |
rofl::openflow::cofmsg_stats * | retrieve_and_detach_msg () |
Returns pointer to this->msg and sets this->msg to NULL. The object resides on heap and must be destroyed by the calling entity. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, csegmsg const &msg) |