| 
    Kodi Documentation 18.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <NetworkAndroid.h>
  
Public Member Functions | |
| CNetworkAndroid () | |
| ~CNetworkAndroid () | |
| virtual bool | GetHostName (std::string &hostname) override | 
| virtual std::vector< CNetworkInterface * > & | GetInterfaceList () override | 
| virtual CNetworkInterface * | GetFirstConnectedInterface () override | 
| virtual std::vector< std::string > | GetNameServers () override | 
| virtual void | SetNameServers (const std::vector< std::string > &nameServers) override | 
| virtual bool | PingHost (unsigned long remote_ip, unsigned int timeout_ms=2000) override | 
| bool | PingHost (unsigned long host, unsigned short port, unsigned int timeout_ms=2000, bool readability_check=false) | 
| virtual bool | PingHost (unsigned long host, unsigned int timeout_ms=2000)=0 | 
  Public Member Functions inherited from CNetworkBase | |
| CNetworkBase () | |
| virtual | ~CNetworkBase () | 
| CNetworkServices & | GetServices () | 
| CNetworkInterface * | GetInterfaceByName (const std::string &name) | 
| bool | HasInterfaceForIP (unsigned long address) | 
| bool | IsAvailable (void) | 
| bool | IsConnected (void) | 
| bool | WakeOnLan (const char *mac) | 
| bool | PingHost (unsigned long host, unsigned short port, unsigned int timeout_ms=2000, bool readability_check=false) | 
| void | NetworkMessage (EMESSAGE message, int param) | 
| void | StartServices () | 
| void | StopServices (bool bWait) | 
| bool | IsLocalHost (const std::string &hostname) | 
| void | WaitForNet () | 
Protected Member Functions | |
| void | RetrieveInterfaces () | 
Protected Attributes | |
| std::vector< CNetworkInterface * > | m_interfaces | 
| std::vector< CNetworkInterface * > | m_oldInterfaces | 
| CCriticalSection | m_refreshMutex | 
Friends | |
| class | CXBMCApp | 
Additional Inherited Members | |
  Public Types inherited from CNetworkBase | |
| enum | EMESSAGE { SERVICES_UP , SERVICES_DOWN } | 
  Static Public Member Functions inherited from CNetworkBase | |
| static int | ParseHex (char *str, unsigned char *addr) | 
| static std::string | GetIpStr (const sockaddr *sa) | 
| IPv6/IPv4 compatible conversion of host IP address.  More... | |
| static std::string | GetMaskByPrefixLength (uint8_t prefixLength) | 
| convert prefix length of IPv4 address to IP mask representation  More... | |
  Public Attributes inherited from CNetworkBase | |
| std::unique_ptr< CNetworkServices > | m_services | 
| CNetworkAndroid::CNetworkAndroid | ( | ) | 
| CNetworkAndroid::~CNetworkAndroid | ( | ) | 
      
  | 
  overridevirtual | 
Reimplemented from CNetworkBase.
      
  | 
  overridevirtual | 
Reimplemented from CNetworkBase.
      
  | 
  overridevirtual | 
Implements CNetworkBase.
      
  | 
  overridevirtual | 
Implements CNetworkBase.
      
  | 
  virtual | 
Implements CNetworkBase.
| bool CNetworkBase::PingHost | ( | unsigned long | host, | 
| unsigned short | port, | ||
| unsigned int | timeout_ms = 2000,  | 
        ||
| bool | readability_check = false  | 
        ||
| ) | 
      
  | 
  overridevirtual | 
Implements CNetworkBase.
      
  | 
  protected | 
      
  | 
  overridevirtual | 
Implements CNetworkBase.
      
  | 
  friend | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |