famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC > Class Template Reference
Defragmentation processor that supports keeping events available for later delivery. More...
#include <Defragmentation.h>
Inheritance diagram for famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >:
Public Types | |
enum | { AFP_feature_check = DCP::DemuxPolicy::support_late_delivery } |
Ensure that demultiplexing policy supports late delivery. More... | |
Public Member Functions | |
DefragmentationProcessorKeepEventSupport (flen_t mtu) | |
Constrcutor. | |
void * | keep_event (const DefragmentationStep< AFPDC > &ds) |
Keep completed event for later delivery. | |
uint8_t * | kept_get_event_data (void *event_handle) |
Get data of kept event. | |
elen_t | kept_get_event_length (void *event_handle) |
Get length of kept event. | |
void | kept_event_processed (void *event_handle) |
Free kept event. |
Detailed Description
template<class AFPDC>
class famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >
Defragmentation processor that supports keeping events available for later delivery.
- Template Parameters:
-
AFPDC AFP defragmentation config
Member Enumeration Documentation
template<class AFPDC >
anonymous enum |
Constructor & Destructor Documentation
template<class AFPDC >
famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >::DefragmentationProcessorKeepEventSupport | ( | flen_t | mtu | ) | [inline] |
Constrcutor.
- Parameters:
-
mtu Maximum transmission unit (max. size of fragment inclusive AFP headers)
Member Function Documentation
template<class AFPDC >
void* famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >::keep_event | ( | const DefragmentationStep< AFPDC > & | ds | ) | [inline] |
Keep completed event for later delivery.
- Returns:
- Event handle. 0 on error.
References famouso::mw::afp::DefragmentationStep< AFPDC >::defragmenter_handle, and famouso::mw::afp::DefragmentationStep< AFPDC >::event_data.
template<class AFPDC >
void famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >::kept_event_processed | ( | void * | event_handle | ) | [inline] |
Free kept event.
- Parameters:
-
event_handle Handle returned by keep_event().
template<class AFPDC >
uint8_t* famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >::kept_get_event_data | ( | void * | event_handle | ) | [inline] |
Get data of kept event.
- Parameters:
-
event_handle Handle returned by keep_event().
- Returns:
- Data pointer
References famouso::mw::afp::defrag::Defragmenter< DCP >::get_event_data().
template<class AFPDC >
elen_t famouso::mw::afp::DefragmentationProcessorKeepEventSupport< AFPDC >::kept_get_event_length | ( | void * | event_handle | ) | [inline] |
Get length of kept event.
- Parameters:
-
event_handle Handle returned by keep_event().
- Returns:
- Data length
References famouso::mw::afp::defrag::Defragmenter< DCP >::get_event_length().
The documentation for this class was generated from the following file:
- include/mw/afp/Defragmentation.h