|
||||||||||
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 |
ADD_DEFAULT_ROUTE
|
static java.lang.String |
ALLOW_BSD_COMP
|
static java.lang.String |
ALLOW_DEFLATE_COMP
|
static java.lang.String |
ALLOW_MAGIC
|
static java.lang.String |
ALLOW_PROXY_ARPS
|
static java.lang.String |
ALLOW_VJ_CONNID_COMP
|
static java.lang.String |
ALLOW_VJ_TCPIP_HDR_COMP
|
static java.lang.String |
APN
|
static java.lang.String |
AUTH_TYPE
|
static java.lang.String |
BAUDRATE
|
static java.lang.String |
CONNECT_DELAY
|
static java.lang.String |
DEBUG_ENABLE
|
static java.lang.String |
DIALSTRING
|
static java.lang.String |
ENABLED
|
static java.lang.String |
IPCP_ACCEPT_LOCAL
|
static java.lang.String |
IPCP_ACCEPT_REMOTE
|
static java.lang.String |
LCP_ECHO_FAILURE
|
static java.lang.String |
LCP_ECHO_INTERVAL
|
static java.lang.String |
LOCK_SERIAL_DEVICE
|
static java.lang.String |
LOGFILE
|
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 |
PEER_MUST_AUTHENTICATE_ITSELF
|
static java.lang.String |
PEER_SUPPLIES_LOCAL_IP
|
static java.lang.String |
PERSISTENCE
|
static java.lang.String |
PPP_UNIT_NUMBER
|
static java.lang.String |
PRODUCT_ID
|
static java.lang.String |
SERIAL_MODEM_TYPE
|
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 |
USE_MODEM_CTRL_LINES
|
static java.lang.String |
USE_PEER_DNS
|
static java.lang.String |
USE_RTS_CTS_FLOWCTRL
|
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 SERIAL_MODEM_TYPE
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
public static final java.lang.String LOGFILE
public static final java.lang.String BAUDRATE
public static final java.lang.String DEBUG_ENABLE
public static final java.lang.String USE_RTS_CTS_FLOWCTRL
public static final java.lang.String LOCK_SERIAL_DEVICE
public static final java.lang.String PEER_MUST_AUTHENTICATE_ITSELF
public static final java.lang.String ADD_DEFAULT_ROUTE
public static final java.lang.String USE_PEER_DNS
public static final java.lang.String ALLOW_PROXY_ARPS
public static final java.lang.String ALLOW_VJ_TCPIP_HDR_COMP
public static final java.lang.String ALLOW_VJ_CONNID_COMP
public static final java.lang.String ALLOW_BSD_COMP
public static final java.lang.String ALLOW_DEFLATE_COMP
public static final java.lang.String ALLOW_MAGIC
public static final java.lang.String CONNECT_DELAY
public static final java.lang.String LCP_ECHO_FAILURE
public static final java.lang.String LCP_ECHO_INTERVAL
public static final java.lang.String USE_MODEM_CTRL_LINES
public static final java.lang.String PEER_SUPPLIES_LOCAL_IP
public static final java.lang.String IPCP_ACCEPT_LOCAL
public static final java.lang.String IPCP_ACCEPT_REMOTE
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 |