MythTV  master
Classes | Public Member Functions | Private Attributes | List of all members
MMulticastSocketDevice Class Reference

#include <mmulticastsocketdevice.h>

Inheritance diagram for MMulticastSocketDevice:
Inheritance graph
[legend]
Collaboration diagram for MMulticastSocketDevice:
Collaboration graph
[legend]

Classes

struct  m_imr
 

Public Member Functions

 MMulticastSocketDevice ()
 
 MMulticastSocketDevice (const QString &sAddress, quint16 nPort, u_char ttl=0)
 
 ~MMulticastSocketDevice () override
 
qint64 writeBlock (const char *data, quint64 len, const QHostAddress &host, quint16 port) override
 
QHostAddress address () const override
 
quint16 port () const override
 

Private Attributes

QList< QHostAddress > m_localAddresses
 
QHostAddress m_address
 
quint16 m_port {0}
 

Detailed Description

Definition at line 47 of file mmulticastsocketdevice.h.

Constructor & Destructor Documentation

◆ MMulticastSocketDevice() [1/2]

MMulticastSocketDevice::MMulticastSocketDevice ( )
inline

Definition at line 50 of file mmulticastsocketdevice.h.

◆ MMulticastSocketDevice() [2/2]

MMulticastSocketDevice::MMulticastSocketDevice ( const QString &  sAddress,
quint16  nPort,
u_char  ttl = 0 
)

Definition at line 41 of file mmulticastsocketdevice.cpp.

◆ ~MMulticastSocketDevice()

MMulticastSocketDevice::~MMulticastSocketDevice ( )
override

Definition at line 77 of file mmulticastsocketdevice.cpp.

Member Function Documentation

◆ writeBlock()

qint64 MMulticastSocketDevice::writeBlock ( const char *  data,
quint64  len,
const QHostAddress &  host,
quint16  port 
)
override

Definition at line 90 of file mmulticastsocketdevice.cpp.

◆ address()

QHostAddress MMulticastSocketDevice::address ( ) const
inlineoverride

Definition at line 61 of file mmulticastsocketdevice.h.

Referenced by writeBlock().

◆ port()

quint16 MMulticastSocketDevice::port ( ) const
inlineoverride

Definition at line 63 of file mmulticastsocketdevice.h.

Referenced by writeBlock().

Member Data Documentation

◆ m_localAddresses

QList<QHostAddress> MMulticastSocketDevice::m_localAddresses
private

Definition at line 67 of file mmulticastsocketdevice.h.

Referenced by writeBlock().

◆ m_address

QHostAddress MMulticastSocketDevice::m_address
private

◆ m_port

quint16 MMulticastSocketDevice::m_port {0}
private

Definition at line 69 of file mmulticastsocketdevice.h.

Referenced by MMulticastSocketDevice(), and port().


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