|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.linux.usb.UsbServiceImpl
public class UsbServiceImpl
Constructor Summary | |
---|---|
UsbServiceImpl()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
|
void |
attached(UsbDevice device)
Callback for notifications of new UsbDevice ATTACH events |
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
void |
detached(UsbDevice device)
Callback for notifications of new UsbDevice DETACH events |
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 |
void |
setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
|
void |
unsetEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsbServiceImpl()
Method Detail |
---|
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
public void unsetEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
public UsbServices getUsbServices() throws EsfException
UsbService
getUsbServices
in interface UsbService
EsfException
public List<? extends UsbDevice> getUsbDevices()
UsbService
getUsbDevices
in interface UsbService
public List<UsbBlockDevice> getUsbBlockDevices()
UsbService
getUsbBlockDevices
in interface UsbService
public List<UsbNetDevice> getUsbNetDevices()
UsbService
getUsbNetDevices
in interface UsbService
public List<UsbTtyDevice> getUsbTtyDevices()
UsbService
getUsbTtyDevices
in interface UsbService
public void attached(UsbDevice device)
LinuxUdevListener
attached
in interface LinuxUdevListener
device
- The UsbDevice that was just attachedpublic void detached(UsbDevice device)
LinuxUdevListener
detached
in interface LinuxUdevListener
device
- The UsbDevice that was just detached
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |