TSDuck v3.38-3707
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::TSDatagramOutputHandlerInterface Class Referenceabstract

Generic datagram handler interface. More...

#include <tsTSDatagramOutputHandlerInterface.h>

Inheritance diagram for ts::TSDatagramOutputHandlerInterface:

Public Member Functions

virtual bool sendDatagram (const void *address, size_t size, Report &report)=0
 Send a datagram message.
 

Detailed Description

Generic datagram handler interface.

This abstract interface must be implemented by classes which send datagrams of TS packets.

Member Function Documentation

◆ sendDatagram()

virtual bool ts::TSDatagramOutputHandlerInterface::sendDatagram ( const void *  address,
size_t  size,
Report report 
)
pure virtual

Send a datagram message.

Must be implemented by classes which are in charge of sending datagrams.

Parameters
[in]addressAddress of datagram.
[in]sizeSize in bytes of datagram.
[in,out]reportWhere to report errors.
Returns
True on success, false on error.

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