com.eurotech.framework.emulator.usb
Class UsbServiceImpl

java.lang.Object
  extended by com.eurotech.framework.emulator.usb.UsbServiceImpl
All Implemented Interfaces:
UsbService

public class UsbServiceImpl
extends Object
implements UsbService


Constructor Summary
UsbServiceImpl()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext componentContext)
           
protected  void deactivate(org.osgi.service.component.ComponentContext componentContext)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsbServiceImpl

public UsbServiceImpl()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext componentContext)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext componentContext)

getUsbServices

public UsbServices getUsbServices()
                           throws EsfException
Description copied from interface: UsbService
Gets the UsbServices currently available as specified by JSR-80 in the javax.usb

Specified by:
getUsbServices in interface UsbService
Returns:
The currently available javax.usb.UsbServices
Throws:
EsfException

getUsbDevices

public List<? extends UsbDevice> getUsbDevices()
Description copied from interface: UsbService
Gets the USB devices on the gateway

Specified by:
getUsbDevices in interface UsbService
Returns:
The currently attached USB devices

getUsbBlockDevices

public List<UsbBlockDevice> getUsbBlockDevices()
Description copied from interface: UsbService
Gets the USB block devices on the gateway

Specified by:
getUsbBlockDevices in interface UsbService
Returns:
The currently attached USB block devices

getUsbNetDevices

public List<UsbNetDevice> getUsbNetDevices()
Description copied from interface: UsbService
Gets the USB network devices on the gateway

Specified by:
getUsbNetDevices in interface UsbService
Returns:
The currently attached USB network devices

getUsbTtyDevices

public List<UsbTtyDevice> getUsbTtyDevices()
Description copied from interface: UsbService
Gets the USB TTY devices on the gateway

Specified by:
getUsbTtyDevices in interface UsbService
Returns:
The currently attached USB TTY devices


Copyright © 2013. All Rights Reserved.