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


Public Member Functions | |
| FluteSessionId ()=default | |
| FluteSessionId (const IPAddress &source, const IPSocketAddress &destination, uint64_t tsi) | |
| void | clear () |
| bool | isValid () const |
| bool | match (const FluteSessionId &other) const |
| bool | nipAnnouncementChannel () const |
| bool | operator< (const FluteSessionId &other) const |
| bool | parseXML (const xml::Element *element, bool strict) |
| virtual UString | toString () const override |
Public Attributes | |
| IPSocketAddress | destination {} |
| Destination IP address and UDP port. | |
| IPAddress | source {} |
| Source IP address. | |
| uint64_t | tsi = INVALID_TSI |
| Transport Session Identifier. | |
Representation of a FLUTE session identification.
|
default |
Default constructor.
| ts::mcast::FluteSessionId::FluteSessionId | ( | const IPAddress & | source, |
| const IPSocketAddress & | destination, | ||
| uint64_t | tsi ) |
| bool ts::mcast::FluteSessionId::operator< | ( | const FluteSessionId & | other | ) | const |
Comparison operator for use as index in maps.
| [in] | other | Another instance to compare. |
| void ts::mcast::FluteSessionId::clear | ( | ) |
Clear the content of this object.
| bool ts::mcast::FluteSessionId::isValid | ( | ) | const |
Check if there is some valid session value.
| bool ts::mcast::FluteSessionId::match | ( | const FluteSessionId & | other | ) | const |
Check if this session id "matches" another one.
| [in] | other | Another instance to compare. |
| bool ts::mcast::FluteSessionId::nipAnnouncementChannel | ( | ) | const |
Check if this session is in the DVB-NIP Announcement Channel.
| bool ts::mcast::FluteSessionId::parseXML | ( | const xml::Element * | element, |
| bool | strict ) |
Reinitialize the structure from a XML element.
| [in] | element | Root XML element to analyze. |
| [in] | strict | Strict XML parsing, do not tolerate missing mandatory elements or attributes. |
|
overridevirtual |
Convert to a string object.
Implements ts::StringifyInterface.