org.minetti.astrodevice.server.usb.jni
Class UsbLibrary

java.lang.Object
  extended by org.minetti.astrodevice.server.usb.jni.UsbLibrary

public final class UsbLibrary
extends Object

Object responsible for interfacing with the native library (usb.dll for MS Windows and usb.so for Linux and Mac OS X).

Author:
Jean-Philippe MINETTI

Constructor Summary
UsbLibrary()
           
 
Method Summary
 void loadDeviceTree(UsbDeviceTreeBuilder builder)
          Loads the device tree.
 void startPlugMonitoring()
          Starts the monitoring of connection/disconnection of devices.
 void stopPlugMonitoring()
          Stops the monitoring of connection/disconnection of devices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsbLibrary

public UsbLibrary()
Method Detail

startPlugMonitoring

public void startPlugMonitoring()
Starts the monitoring of connection/disconnection of devices.


stopPlugMonitoring

public void stopPlugMonitoring()
Stops the monitoring of connection/disconnection of devices.


loadDeviceTree

public void loadDeviceTree(UsbDeviceTreeBuilder builder)
Loads the device tree.

Parameters:
builder - Builder of device tree.


Copyright © 2012 astroDevice. All Rights Reserved.