com.esf.device.usb.manager.service
Interface IUsbManagerService


public interface IUsbManagerService

Author:
chad.kienle

Field Summary
static java.lang.String DEVICE_ATTACHED_TOPIC
           
static java.lang.String DEVICE_DETACHED_TOPIC
           
static java.lang.String SERVICE_NAME
          Reports the class name representing this interface.
 
Method Summary
 UsbDeviceContainer getDevice(java.lang.String id)
          Returns a UsbDeviceContainer object representing an attached USB device that matches the supplied ID.
 java.util.ArrayList getDevices()
          Returns an ArrayList of Strings representing the connected devices.
 

Field Detail

DEVICE_ATTACHED_TOPIC

public static final java.lang.String DEVICE_ATTACHED_TOPIC
See Also:
Constant Field Values

DEVICE_DETACHED_TOPIC

public static final java.lang.String DEVICE_DETACHED_TOPIC
See Also:
Constant Field Values

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
Reports the class name representing this interface.

Method Detail

getDevice

public UsbDeviceContainer getDevice(java.lang.String id)
Returns a UsbDeviceContainer object representing an attached USB device that matches the supplied ID.

Parameters:
id - A String representing the ID of the attached USB device
Returns:
A UsbDeviceContainer object representing the attached USB device

getDevices

public java.util.ArrayList getDevices()
Returns an ArrayList of Strings representing the connected devices. The list of returned Strings can be used to get a USB device in the getDevice(String id) method

Returns:
An ArrayList of the Device IDs of connected devices.


Copyright © 2009 Eurotech Inc. All rights reserved.