首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > hal4java

hal4java

  • 资源大小:707.09 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: java linux dbus hal plugandplay

资 源 简 介

A Java library to read DBUS messages fired from the LINUX HAL subsystem. While the Java code is OS agnostic, the DBUS interface requires a small native library, so presently this only runs on LINUX. (Library source is included if you wish to cross-compile.) HAL is the Linux hardware abstraction layer. It provides an abstraction layer between the kernel and applications, enabling hardware plug-and-play support. Java applications typically cannot directly query the hardware layer. This package provides a method to listen for HAL events. It enables plug-and-play actions in Java. For example: when a particular USB device is plugged into the system, a JAVA-based listener is alerted with a "deviceAdded" event and can take appropriate action ... like reading or writing to/from the device. Another example is ad-hoc networking, where network interfaces may be created and destroyed by the LINUX kernel depending upon network availability (cable plugged in, wirel

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP