public class UsbModem extends CellularModem implements IUsbModemService
Modifier and Type | Class and Description |
---|---|
class |
UsbModem.ModemConfigFileFilter
Defines modem configuration file filter.
|
SERVICE_NAME
SERVICE_NAME
Constructor and Description |
---|
UsbModem(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts,
IEsfLoggerService esfLoggerService)
UsbModem constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
isAttached()
Reports if USB device is attached.
|
allowConnect, disable, enable, getManufacturer, getModel, getRevisionID, getSerialNumber, isConnectAllowed, isEnabled, isOn
public UsbModem(java.lang.String vendorID, java.lang.String productID, java.lang.String usbPortAddress, java.util.Hashtable modemPorts, IEsfLoggerService esfLoggerService)
vendorID
- - vendor ID as String
productID
- - product ID as String
usbPortAddress
- - address of the USB port as String
public java.lang.String getVendorID()
IUsbModemService
getVendorID
in interface IUsbModemService
String
public java.lang.String getProductID()
IUsbModemService
getProductID
in interface IUsbModemService
String
public java.lang.String getUsbPortAddress()
IUsbModemService
getUsbPortAddress
in interface IUsbModemService
public boolean isAttached() throws java.lang.Exception
IUsbModemService
isAttached
in interface IUsbModemService
boolean
java.lang.Exception
Copyright © 2009 Eurotech Inc. All rights reserved.