Menu

famouso::mw::afp::defrag::NoDuplicateChecker< DCP > Class Template Reference

Policy: No checking for duplicate fragment packages. More...

#include <NoDuplicateChecker.h>

Public Member Functions

bool new_fragment (const Headers< DCP > &header)
 Checks if this fragment is duplicate. Does nothing for this policy implementation.

Detailed Description

template<class DCP>
class famouso::mw::afp::defrag::NoDuplicateChecker< DCP >

Policy: No checking for duplicate fragment packages.

If the network does not produce duplicates, use this policy.

Alternative policies: DuplicateChecker


Member Function Documentation

template<class DCP >
bool famouso::mw::afp::defrag::NoDuplicateChecker< DCP >::new_fragment ( const Headers< DCP > &  header  )  [inline]

Checks if this fragment is duplicate. Does nothing for this policy implementation.

Parameters:
header AFP header of the fragment
Returns:
True if this is a new fragment. False if it's a duplicate.

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