|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModemFactoryService
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
service name of this interface for the bundle activator (com.esf.device.modem.factory.service.IModemFactoryService) |
static int |
TYPE_3G
Type of Modem Factory - 3G |
static int |
TYPE_BASIC
Basic modem service |
static int |
TYPE_EVDO
Type of Modem Factory - EVDO |
Method Summary | |
---|---|
java.util.Hashtable |
getModemServices()
Reports modem services available |
int |
getType()
Reports type of modem service |
I3gModemService |
obtain3gModemService(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts)
Obtains 3G modem service |
IEvdoModemService |
obtainEvdoModemService(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts)
Obtains EVDO modem service |
IModemService |
obtainModemService(java.lang.String vendorID,
java.lang.String productID,
java.lang.String usbPortAddress,
java.util.Hashtable modemPorts)
Obtains generic modem service |
void |
releaseModemService(java.lang.String usbPortAddress)
Releases modem service specified by its USB address |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
static final int TYPE_BASIC
static final int TYPE_EVDO
static final int TYPE_3G
Method Detail |
---|
IModemService obtainModemService(java.lang.String vendorID, java.lang.String productID, java.lang.String usbPortAddress, java.util.Hashtable modemPorts) throws java.lang.Exception
vendorID
- - vendor ID as String
productID
- - product IDs as String
usbPortAddress
- - USB port address as String
modemPorts
- - modem's ttyUSB ports as Hashtable
IModemService
java.lang.Exception
IEvdoModemService obtainEvdoModemService(java.lang.String vendorID, java.lang.String productID, java.lang.String usbPortAddress, java.util.Hashtable modemPorts) throws java.lang.Exception
vendorID
- - vendor ID as String
productID
- - product IDs as String
usbPortAddress
- - USB port address as String
modemPorts
- - modem's ttyUSB ports as Hashtable
IEvdoModemService
java.lang.Exception
I3gModemService obtain3gModemService(java.lang.String vendorID, java.lang.String productID, java.lang.String usbPortAddress, java.util.Hashtable modemPorts) throws java.lang.Exception
vendorID
- - vendor ID as String
productID
- - product ID as String
usbPortAddress
- - USB port address as String
modemPorts
- - modem's ttyUSB ports as Hashtable
I3gModemService
java.lang.Exception
java.util.Hashtable getModemServices()
Hashtable
void releaseModemService(java.lang.String usbPortAddress)
usbPortAddress
- int getType()
int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |