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

#include <libmythupnp/mmulticastsocketdevice.h>

Inheritance diagram for MMulticastSocketDevice:
[legend]
Collaboration diagram for MMulticastSocketDevice:
[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 48 of file mmulticastsocketdevice.h.

Constructor & Destructor Documentation

◆ MMulticastSocketDevice() [1/2]

MMulticastSocketDevice::MMulticastSocketDevice ( )
inline

Definition at line 51 of file mmulticastsocketdevice.h.

◆ MMulticastSocketDevice() [2/2]

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

Definition at line 42 of file mmulticastsocketdevice.cpp.

◆ ~MMulticastSocketDevice()

MMulticastSocketDevice::~MMulticastSocketDevice ( )
override

Definition at line 78 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 91 of file mmulticastsocketdevice.cpp.

◆ address()

QHostAddress MMulticastSocketDevice::address ( ) const
inlineoverride

Definition at line 62 of file mmulticastsocketdevice.h.

Referenced by writeBlock().

◆ port()

quint16 MMulticastSocketDevice::port ( ) const
inlineoverride

Definition at line 64 of file mmulticastsocketdevice.h.

Referenced by writeBlock().

Member Data Documentation

◆ m_localAddresses

QList<QHostAddress> MMulticastSocketDevice::m_localAddresses
private

Definition at line 68 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 70 of file mmulticastsocketdevice.h.

Referenced by MMulticastSocketDevice(), and port().


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