|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.device.modem.service.CellularModem
public class CellularModem
Defines CellularModem class
Field Summary |
---|
Fields inherited from interface com.esf.device.modem.service.IBasicCellularModemService |
---|
SERVICE_NAME |
Constructor Summary | |
---|---|
CellularModem()
|
Method Summary | |
---|---|
void |
allowConnect(boolean status)
Allows modem to establish PPP connection if status is true. |
void |
disable()
disables modem |
void |
enable()
enables modem |
java.lang.String |
getManufacturer()
Returns modem's manufacturer identification |
java.lang.String |
getModel()
Reports modem's model |
java.lang.String[] |
getRevisionID()
Reports modem's revision identification |
java.lang.String |
getSerialNumber()
Answers modem's serial number |
boolean |
isConnectAllowed()
Reports if connection is allowed by the application. |
boolean |
isEnabled()
Answers if cellular modem is enabled by application default value is set to true |
boolean |
isOn()
Answers if modem is on |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CellularModem()
Method Detail |
---|
public boolean isOn()
IBasicCellularModemService
isOn
in interface IBasicCellularModemService
public void enable()
IBasicCellularModemService
enable
in interface IBasicCellularModemService
public void disable()
IBasicCellularModemService
disable
in interface IBasicCellularModemService
public boolean isEnabled()
IBasicCellularModemService
true
isEnabled
in interface IBasicCellularModemService
public java.lang.String getModel()
IBasicCellularModemService
getModel
in interface IBasicCellularModemService
public java.lang.String getManufacturer()
IBasicCellularModemService
getManufacturer
in interface IBasicCellularModemService
public java.lang.String getSerialNumber()
IBasicCellularModemService
getSerialNumber
in interface IBasicCellularModemService
public java.lang.String[] getRevisionID()
IBasicCellularModemService
getRevisionID
in interface IBasicCellularModemService
public void allowConnect(boolean status)
IBasicCellularModemService
allowConnect
in interface IBasicCellularModemService
status
- - enable/disable as boolean
public boolean isConnectAllowed()
IBasicCellularModemService
isConnectAllowed
in interface IBasicCellularModemService
boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |