MULTI-INTERFACE CONNECTIVITY ON ANDROID - ConnectivityManager
2016-07-10 15:42
976 查看
http://varun-anand.com/publications/Thesis.pdf
2.1.1 Android Connection Management
The Network State Tracker is responsible for tracking any changes in the net- work state from the underlying kernel. This component maintains the state of an interface. Whenever an interface goes up or down, this component notifies the ConnectivityService module
which then takes appropriate action based on whether the interface got connected or disconnected.
Based on state change of a network interface, ConnectivityService module takes one of the following two actions:
handleConnect : This module manages the environment for the device to establish connectivity through the particular interface. It mainly takes care of updating DNS server entries (part of Android property system) and updates the kernel routing table with network
routes. It is also responsible for keeping only one interface active based on priority.
handleDisconnect: This module manages disconnection of network interfaces. It clears the kernel routing entries and DNS server entries from the Android property system.
2.1.1 Android Connection Management
The Network State Tracker is responsible for tracking any changes in the net- work state from the underlying kernel. This component maintains the state of an interface. Whenever an interface goes up or down, this component notifies the ConnectivityService module
which then takes appropriate action based on whether the interface got connected or disconnected.
Based on state change of a network interface, ConnectivityService module takes one of the following two actions:
handleConnect : This module manages the environment for the device to establish connectivity through the particular interface. It mainly takes care of updating DNS server entries (part of Android property system) and updates the kernel routing table with network
routes. It is also responsible for keeping only one interface active based on priority.
handleDisconnect: This module manages disconnection of network interfaces. It clears the kernel routing entries and DNS server entries from the Android property system.
相关文章推荐
- Android 计算器解析(二): 加入计算功能
- RecyclerView实现Item点击事件方法一
- Activity的生命周期详解(二)
- 深入探究Android中的Service的运行机制
- Android Studio常见问题解决
- Android之GJSON解析
- Android横竖屏切换总结
- android内存优化之三内存分析工具的使用
- Qt_Android_书
- Android PagerTabStrip和PagerTitleStrip的不同点
- Android开发中下拉刷新如何实现
- Android Support兼容包详解
- Android中Context详解 ---- 你所不知道的Context
- 学习Android开发之RecyclerView使用初探
- AndroidStudio插件
- Android Xfermode 实战 实现圆形、圆角图片(1)
- Android中AIDL实现进程通信(附源码下载)
- Android开发之ListView+EditText-要命的焦点和软键盘问题解决办法
- LinearLayout(线性布局)
- 关于android studio安装使用问题