|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.device.modem.configuration.ModemConfiguration
public class ModemConfiguration
Defines modem configuration object that each modem will return in the provideConfiguration() method. This object will be piked up by the CellularConnectionManager.
Field Summary | |
---|---|
static java.lang.String |
APN
|
static java.lang.String |
AUTH_TYPE
|
static java.lang.String |
DIALSTRING
|
static java.lang.String |
ENABLED
|
static java.lang.String |
MODEL
|
static java.lang.String |
NETWORK_TECHNOLOGY
|
static java.lang.String |
NUMBER_OF_MODEMS
|
static java.lang.String |
PASSWORD
|
static java.lang.String |
PERSISTENCE
|
static java.lang.String |
PPP_UNIT_NUMBER
|
static java.lang.String |
PRODUCT_ID
|
static java.lang.String |
SERIAL_NUMBER
|
static java.lang.String |
SERVICE_PROVIDER
|
static java.lang.String |
USB_PORT_ADDRESS
|
static java.lang.String |
USE_DEFAULT_PEER_PARAM
|
static java.lang.String |
USERNAME
|
static java.lang.String |
VENDOR_ID
|
Constructor Summary | |
---|---|
ModemConfiguration()
ModemConfiguration constructor |
|
ModemConfiguration(java.util.Properties configProps)
ModemConfiguration constructor |
Method Summary | |
---|---|
java.lang.String |
getApn()
Reports APN |
java.lang.String |
getAuthenticationType()
Reports authentication type |
java.util.Properties |
getConfigProps()
Reports configuration properties attached |
java.lang.String |
getDialString()
Reports dialstring |
java.lang.String |
getPassword()
Reports password |
int |
getPppUnitNumber()
Reports PPP unit number (e.g. |
java.lang.String |
getProvider()
Reports service provider |
java.lang.String |
getUsername()
Reports username |
boolean |
isEnabled()
Reports if modem is enabled in configuration |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENABLED
public static final java.lang.String NUMBER_OF_MODEMS
public static final java.lang.String PPP_UNIT_NUMBER
public static final java.lang.String USB_PORT_ADDRESS
public static final java.lang.String VENDOR_ID
public static final java.lang.String PRODUCT_ID
public static final java.lang.String USE_DEFAULT_PEER_PARAM
public static final java.lang.String SERVICE_PROVIDER
public static final java.lang.String DIALSTRING
public static final java.lang.String PERSISTENCE
public static final java.lang.String APN
public static final java.lang.String AUTH_TYPE
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String MODEL
public static final java.lang.String SERIAL_NUMBER
public static final java.lang.String NETWORK_TECHNOLOGY
Constructor Detail |
---|
public ModemConfiguration()
public ModemConfiguration(java.util.Properties configProps)
configProps
- - configuration properties as Properties
Method Detail |
---|
public java.util.Properties getConfigProps()
Properties
public boolean isEnabled()
boolean
public int getPppUnitNumber()
int
public java.lang.String getProvider()
String
public java.lang.String getDialString()
String
public java.lang.String getApn()
String
public java.lang.String getAuthenticationType()
String
public java.lang.String getUsername()
String
public java.lang.String getPassword()
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |