com.esf.device.modem.service
Class UsbModem
java.lang.Object
com.esf.device.modem.service.CellularModem
com.esf.device.modem.service.UsbModem
- All Implemented Interfaces:
- ICellularModemService, IUsbModemService
- public class UsbModem
- extends CellularModem
- implements IUsbModemService
Defines USB Modem class
- Author:
- ilya.binshtok
Constructor Summary |
UsbModem(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts,
IEsfLoggerService loggerService)
UsbModem constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsbModem
public UsbModem(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts,
IEsfLoggerService loggerService)
- UsbModem constructor
- Parameters:
vendorID
- - vendor ID as String
productID
- - product ID as String
usbPortAddress
- - address of the USB port as String
getVendorID
public java.lang.String getVendorID()
- Description copied from interface:
IUsbModemService
- Reports modem's vendorID
- Specified by:
getVendorID
in interface IUsbModemService
- Returns:
- modem's vendor ID as
String
getProductID
public java.lang.String getProductID()
- Description copied from interface:
IUsbModemService
- Reports modem's product ID
- Specified by:
getProductID
in interface IUsbModemService
- Returns:
- modem's product ID as
String
getUsbPortAddress
public java.lang.String getUsbPortAddress()
- Description copied from interface:
IUsbModemService
- Reports USB address of the modem
- Specified by:
getUsbPortAddress
in interface IUsbModemService
- Returns:
- modem's ID
Copyright © 2009 Eurotech Inc. All rights reserved.