com.eurotech.framework.usb
Interface UsbService


public interface UsbService

OSGi interface for getting JSR-80 javax.usb.UsbServices currently available in the system.


Method Summary
 List<UsbBlockDevice> getUsbBlockDevices()
          Gets the USB block devices on the gateway
 List<? extends UsbDevice> getUsbDevices()
          Gets the USB devices on the gateway
 List<UsbNetDevice> getUsbNetDevices()
          Gets the USB network devices on the gateway
 UsbServices getUsbServices()
          Gets the UsbServices currently available as specified by JSR-80 in the javax.usb
 List<UsbTtyDevice> getUsbTtyDevices()
          Gets the USB TTY devices on the gateway
 

Method Detail

getUsbServices

UsbServices getUsbServices()
                           throws EsfException
Gets the UsbServices currently available as specified by JSR-80 in the javax.usb

Returns:
The currently available javax.usb.UsbServices
Throws:
EsfException

getUsbDevices

List<? extends UsbDevice> getUsbDevices()
Gets the USB devices on the gateway

Returns:
The currently attached USB devices

getUsbBlockDevices

List<UsbBlockDevice> getUsbBlockDevices()
Gets the USB block devices on the gateway

Returns:
The currently attached USB block devices

getUsbNetDevices

List<UsbNetDevice> getUsbNetDevices()
Gets the USB network devices on the gateway

Returns:
The currently attached USB network devices

getUsbTtyDevices

List<UsbTtyDevice> getUsbTtyDevices()
Gets the USB TTY devices on the gateway

Returns:
The currently attached USB TTY devices


Copyright © 2013. All Rights Reserved.