Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CNetworkInterfaceAndroid Class Reference

#include <NetworkAndroid.h>

Inheritance diagram for CNetworkInterfaceAndroid:
CNetworkInterface

Public Member Functions

 CNetworkInterfaceAndroid (const CJNINetwork &network, const CJNILinkProperties &lp, const CJNINetworkInterface &intf)
 
std::vector< std::string > GetNameServers ()
 
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_ip, std::string &mac) const override
 
std::string GetCurrentIPAddress () const override
 
std::string GetCurrentNetmask () const override
 
std::string GetCurrentDefaultGateway () const override
 
std::string GetHostName ()
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Protected Attributes

std::string m_name
 
CJNINetwork m_network
 
CJNILinkProperties m_lp
 
CJNINetworkInterface m_intf
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceAndroid()

CNetworkInterfaceAndroid::CNetworkInterfaceAndroid ( const CJNINetwork & network,
const CJNILinkProperties & lp,
const CJNINetworkInterface & intf )

Member Function Documentation

◆ GetCurrentDefaultGateway()

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

Implements CNetworkInterface.

◆ GetCurrentIPAddress()

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

Implements CNetworkInterface.

◆ GetCurrentNetmask()

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

Implements CNetworkInterface.

◆ GetHostMacAddress()

bool CNetworkInterfaceAndroid::GetHostMacAddress ( unsigned long host_ip,
std::string & mac ) const
overridevirtual

Implements CNetworkInterface.

◆ GetHostName()

std::string CNetworkInterfaceAndroid::GetHostName ( )

◆ GetMacAddress()

std::string CNetworkInterfaceAndroid::GetMacAddress ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ GetMacAddressRaw()

void CNetworkInterfaceAndroid::GetMacAddressRaw ( char rawMac[6]) const
overridevirtual

Implements CNetworkInterface.

◆ GetNameServers()

std::vector< std::string > CNetworkInterfaceAndroid::GetNameServers ( )

◆ IsConnected()

bool CNetworkInterfaceAndroid::IsConnected ( void ) const
overridevirtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceAndroid::IsEnabled ( void ) const
overridevirtual

Implements CNetworkInterface.

Member Data Documentation

◆ m_intf

CJNINetworkInterface CNetworkInterfaceAndroid::m_intf
protected

◆ m_lp

CJNILinkProperties CNetworkInterfaceAndroid::m_lp
protected

◆ m_name

std::string CNetworkInterfaceAndroid::m_name
protected

◆ m_network

CJNINetwork CNetworkInterfaceAndroid::m_network
protected

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