Menu

famouso::mw::afp::frag::Use32BitEventSeq< AFPC > Class Template Reference

Policy: Include 32 bit event seqence number in each fragment. More...

#include <Use32BitEventSeq.h>

Public Types

enum  { header_length = 5 }
 

Length of the generated header.

More...

Public Member Functions

 Use32BitEventSeq ()
 Constructor.
void get_header (uint8_t *data, bool more_headers)
 Write header.

Detailed Description

template<class AFPC>
class famouso::mw::afp::frag::Use32BitEventSeq< AFPC >

Policy: Include 32 bit event seqence number in each fragment.

Using this event sequence number policy is necessary if package loss or/and reordering can happen and/or duplicates are possible in the network.

Alternative policies: UseNoEventSeq


Member Enumeration Documentation

template<class AFPC >
anonymous enum

Length of the generated header.

Enumerator:
header_length 

Constructor & Destructor Documentation

template<class AFPC >
famouso::mw::afp::frag::Use32BitEventSeq< AFPC >::Use32BitEventSeq (  )  [inline]

Constructor.


Member Function Documentation

template<class AFPC >
void famouso::mw::afp::frag::Use32BitEventSeq< AFPC >::get_header ( uint8_t *  data,
bool  more_headers 
) [inline]

Write header.

Parameters:
data Buffer to write header to
more_headers True if there will be another header behind this one

The documentation for this class was generated from the following file: