Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CNetworkInterfaceIOS Class Reference

#include <NetworkIOS.h>

Inheritance diagram for CNetworkInterfaceIOS:
CNetworkInterface

Public Member Functions

 CNetworkInterfaceIOS (CNetworkIOS *network, std::string interfaceName)
 
 ~CNetworkInterfaceIOS () override
 
bool IsEnabled () const override
 
bool IsConnected () const override
 
std::string GetMacAddress () const override
 
void GetMacAddressRaw (char rawMac[6]) const override
 
bool GetHostMacAddress (unsigned long host, std::string &mac) const override
 
std::string GetCurrentIPAddress () const override
 
std::string GetCurrentNetmask () const override
 
std::string GetCurrentDefaultGateway () const override
 
std::string GetInterfaceName () const
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceIOS()

CNetworkInterfaceIOS::CNetworkInterfaceIOS ( CNetworkIOS network,
std::string  interfaceName 
)

◆ ~CNetworkInterfaceIOS()

CNetworkInterfaceIOS::~CNetworkInterfaceIOS ( )
overridedefault

Member Function Documentation

◆ GetCurrentDefaultGateway()

std::string CNetworkInterfaceIOS::GetCurrentDefaultGateway ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentIPAddress()

std::string CNetworkInterfaceIOS::GetCurrentIPAddress ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentNetmask()

std::string CNetworkInterfaceIOS::GetCurrentNetmask ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetHostMacAddress()

bool CNetworkInterfaceIOS::GetHostMacAddress ( unsigned long  host,
std::string &  mac 
) const
overridevirtual
Todo:
Unable to retrieve MAC address of an interface/ARP table from ios11 onwards.

Implements CNetworkInterface.

◆ GetInterfaceName()

std::string CNetworkInterfaceIOS::GetInterfaceName ( ) const

◆ GetMacAddress()

std::string CNetworkInterfaceIOS::GetMacAddress ( void  ) const
overridevirtual
Todo:
Unable to retrieve MAC address of an interface/ARP table from ios11 onwards.

Implements CNetworkInterface.

◆ GetMacAddressRaw()

void CNetworkInterfaceIOS::GetMacAddressRaw ( char  rawMac[6]) const
overridevirtual
Todo:
Unable to retrieve MAC address of an interface/ARP table from ios11 onwards.

Implements CNetworkInterface.

◆ IsConnected()

bool CNetworkInterfaceIOS::IsConnected ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceIOS::IsEnabled ( void  ) const
overridevirtual

Implements CNetworkInterface.


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