TSDuck v3.43-4519
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::mcast::NIPHandlerInterface Class Reference

DVB-NIP demux handler interface. More...

#include <tsmcastNIPHandlerInterface.h>

Inheritance diagram for ts::mcast::NIPHandlerInterface:
Collaboration diagram for ts::mcast::NIPHandlerInterface:

Public Member Functions

virtual void handleFluteFDT (const FluteFDT &fdt)
 This hook is invoked when a new File Delivery Table (FDT) is available.
 
virtual void handleFluteFile (const FluteFile &file)
 This hook is invoked when a new file is available.
 
virtual void handleFluteNACI (const NIPActualCarrierInformation &naci)
 This hook is invoked when a NIPActualCarrierInformation is found in a LCT header.
 
virtual void handleFluteStatus (const FluteSessionId &session, const UString &name, const UString &type, uint64_t toi, uint64_t total_length, uint64_t received_length)
 This hook is invoked by FluteDemux::getFilesStatus() for each file.
 
virtual void handleGatewayConfiguration (const GatewayConfiguration &mgc)
 This hook is invoked when a multicast gateway configuration is available (including DVB-NIP bootstrap).
 
virtual void handleNetworkInformationFile (const NetworkInformationFile &nif)
 This hook is invoked when a NetworkInformationFile (NIF) is available.
 
virtual void handleNewService (const NIPService &service)
 This hook is invoked when a new service is available.
 
virtual void handleServiceInformationFile (const ServiceInformationFile &sif)
 This hook is invoked when a ServiceInformationFile (SIF) is available.
 
virtual void handleServiceList (const ServiceList &service_list)
 This hook is invoked when a DVB-I or DVB-NIP Service List is available.
 
virtual void handleServiceListEntryPoints (const ServiceListEntryPoints &slep)
 This hook is invoked when a DVB-NIP Service List Entry Points (SLEP) is available.
 

Detailed Description

DVB-NIP demux handler interface.

This abstract interface must be implemented by classes which need to be notified about received files using a NIPDemux. All low-level events from the FLUTE layer are also available by inheriting from FluteHandlerInterface.

Member Function Documentation

◆ handleNetworkInformationFile()

virtual void ts::mcast::NIPHandlerInterface::handleNetworkInformationFile ( const NetworkInformationFile nif)
virtual

This hook is invoked when a NetworkInformationFile (NIF) is available.

The default implementation does nothing.

Parameters
[in]nifThe received file.

◆ handleServiceInformationFile()

virtual void ts::mcast::NIPHandlerInterface::handleServiceInformationFile ( const ServiceInformationFile sif)
virtual

This hook is invoked when a ServiceInformationFile (SIF) is available.

The default implementation does nothing.

Parameters
[in]sifThe received file.

◆ handleGatewayConfiguration()

virtual void ts::mcast::NIPHandlerInterface::handleGatewayConfiguration ( const GatewayConfiguration mgc)
virtual

This hook is invoked when a multicast gateway configuration is available (including DVB-NIP bootstrap).

The default implementation does nothing.

Parameters
[in]mgcMulticast gateway configuration.

◆ handleServiceListEntryPoints()

virtual void ts::mcast::NIPHandlerInterface::handleServiceListEntryPoints ( const ServiceListEntryPoints slep)
virtual

This hook is invoked when a DVB-NIP Service List Entry Points (SLEP) is available.

The default implementation does nothing.

Parameters
[in]slepService list entry points.

◆ handleServiceList()

virtual void ts::mcast::NIPHandlerInterface::handleServiceList ( const ServiceList service_list)
virtual

This hook is invoked when a DVB-I or DVB-NIP Service List is available.

The default implementation does nothing.

Parameters
[in]service_listService list.

◆ handleNewService()

virtual void ts::mcast::NIPHandlerInterface::handleNewService ( const NIPService service)
virtual

This hook is invoked when a new service is available.

The default implementation does nothing.

Parameters
[in]serviceNew service.

◆ handleFluteFile()

virtual void ts::mcast::FluteHandlerInterface::handleFluteFile ( const FluteFile file)
virtualinherited

This hook is invoked when a new file is available.

The default implementation does nothing.

Parameters
[in]fileThe received file.

◆ handleFluteFDT()

virtual void ts::mcast::FluteHandlerInterface::handleFluteFDT ( const FluteFDT fdt)
virtualinherited

This hook is invoked when a new File Delivery Table (FDT) is available.

The default implementation does nothing.

Parameters
[in]fdtThe received FDT.

◆ handleFluteNACI()

virtual void ts::mcast::FluteHandlerInterface::handleFluteNACI ( const NIPActualCarrierInformation naci)
virtualinherited

This hook is invoked when a NIPActualCarrierInformation is found in a LCT header.

The default implementation does nothing.

Parameters
[in]naciThe received NIPActualCarrierInformation.

◆ handleFluteStatus()

virtual void ts::mcast::FluteHandlerInterface::handleFluteStatus ( const FluteSessionId session,
const UString name,
const UString type,
uint64_t  toi,
uint64_t  total_length,
uint64_t  received_length 
)
virtualinherited

This hook is invoked by FluteDemux::getFilesStatus() for each file.

The default implementation does nothing.

Parameters
[in]sessionSession identification.
[in]nameFile name. May be empty if partially transfered and not referenced yet in FDT.
[in]typeFile type. May be empty as well.
[in]toiTransport object identifier.
[in]total_lengthTotal announced file size in bytes.
[in]received_lengthNumber of received bytes so far.

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