kodi
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
CNetworkAndroid Class Reference
Inheritance diagram for CNetworkAndroid:
Inheritance graph
[legend]
Collaboration diagram for CNetworkAndroid:
Collaboration graph
[legend]

Public Member Functions

bool GetHostName (std::string &hostname) override
 
std::vector< CNetworkInterface * > & GetInterfaceList () override
 
CNetworkInterfaceGetFirstConnectedInterface () override
 
std::vector< std::string > GetNameServers () override
 
bool PingHost (unsigned long remote_ip, unsigned int timeout_ms=2000) override
 
void onAvailable (const CJNINetwork network) override
 
void onLost (const CJNINetwork network) override
 
- Public Member Functions inherited from CNetworkBase
CNetworkServicesGetServices ()
 
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)
 
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
 
std::unique_ptr< CNetworkInterfacem_defaultInterface
 

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 std::unique_ptr< CNetworkBaseGetNetwork ()
 
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...
 
- Static Public Member Functions inherited from jni::CJNIXBMCConnectivityManagerNetworkCallback
static void RegisterNatives (JNIEnv *env)
 
- Public Attributes inherited from CNetworkBase
std::unique_ptr< CNetworkServicesm_services
 
- Static Protected Member Functions inherited from jni::CJNIXBMCConnectivityManagerNetworkCallback
static void _onAvailable (JNIEnv *env, jobject thiz, jobject network)
 
static void _onLost (JNIEnv *env, jobject thiz, jobject network)
 

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