![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
#include <tsmcastGatewayConfiguration.h>


Public Member Functions | |
| GatewayConfiguration ()=default | |
| GatewayConfiguration (Report &report, const FluteFile &file, bool strict) | |
| ByteBlock & | content () |
| const ByteBlock & | content () const |
| const ByteBlockPtr | contentPointer () const |
| const UString & | fullType () const |
| bool | isValid () const |
| const UString & | name () const |
| const FluteSessionId & | sessionId () const |
| size_t | size () const |
| uint64_t | toi () const |
| UString | toText () const |
| UString | toXML () const |
| const UString & | type () const |
Public Attributes | |
| std::list< MulticastSession > | multicast_sessions {} |
| Elements <MulticastSession>. | |
| std::list< ReportingLocator > | reporting_locators {} |
| Elements <ReportingLocator> in <MulticastGatewaySessionReporting>. | |
| uint32_t | schema_version = 0 |
| Attribute schemaVersion. | |
| std::list< GatewayConfigurationTransportSession > | transport_sessions {} |
| Elements <GatewayConfigurationTransportSession>. | |
| Time | valid_until {} |
| Attribute validUntil (Time::Epoch if absent). | |
| ISOTime | validity_period {} |
| Attribute validityPeriod. | |
Protected Member Functions | |
| bool | parseXML (xml::Document &xml_doc, const UChar *expected_root=nullptr, bool ignore_namespace=false) |
Protected Attributes | |
| bool | _valid = true |
| The validity field can be updated by subclasses. | |
Representation of a MulticastGatewayConfiguration (Multicast ABR).
|
default |
Default constructor.
| ts::mcast::GatewayConfiguration::GatewayConfiguration | ( | Report & | report, |
| const FluteFile & | file, | ||
| bool | strict ) |
Constructor.
| [in,out] | report | Where to report errors. |
| [in] | file | Received file from FLUTE demux. |
| [in] | strict | Strict XML parsing, do not tolerate missing mandatory elements or attributes. |
|
inlineinherited |
Check if the file is valid (for instance is XML content was successfully parsed).
|
inlineinherited |
Get the session id of the file.
|
inlineinherited |
|
inlineinherited |
Get the name or URN of the file.
|
inlineinherited |
Get the base MIME type of the file, excluding qualification such as "charset=utf-8".
|
inlineinherited |
Get the original full MIME type of the file.
|
inlineinherited |
Get the size of the file.
|
inlineinherited |
Access the content of the file (modifiable version).
|
inlineinherited |
Access the content of the file (constant version).
|
inlineinherited |
Get a shared pointer (std::shared_ptr) to the content of the file. This allow to keep the content for some time, even after the FluteFile object is deleted.
|
inherited |
Get a character string version of the file, if it is a text file.
|
inherited |
Get an indented XML character string version of the file, if it is a text file.
|
protectedinherited |
Parse the document using XML format.
| [in,out] | xml_doc | XML document to parse. |
| [in] | expected_root | Expected root name in XML text. Ignored if null or empty. |
| [in] | ignore_namespace | Specify if XML namespace is ignored by default in this document. |