com.esf.device.modem.service
Class UsbModem

java.lang.Object
  extended bycom.esf.device.modem.service.CellularModem
      extended bycom.esf.device.modem.service.UsbModem
All Implemented Interfaces:
ICellularModemService, IUsbModemService

public class UsbModem
extends CellularModem
implements IUsbModemService

Defines USB Modem class

Author:
ilya.binshtok

Nested Class Summary
 class UsbModem.ModemConfigFileFilter
          Defines modem configuration file filter.
 
Field Summary
 
Fields inherited from interface com.esf.device.modem.service.IUsbModemService
SERVICE_NAME
 
Constructor Summary
UsbModem(java.lang.String vendorID, java.lang.String productID, java.lang.String usbPortAddress, java.util.Hashtable modemPorts, IEsfLoggerService loggerService)
          UsbModem constructor
 
Method Summary
 java.lang.String getProductID()
          Reports modem's product ID
 java.lang.String getUsbPortAddress()
          Reports USB address of the modem
 java.lang.String getVendorID()
          Reports modem's vendorID
 
Methods inherited from class com.esf.device.modem.service.CellularModem
disable, enable, getManufacturer, getModel, getRevisionID, getSerialNumber, isEnabled, isOn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.