ModemManager Interface Reference
Modem manager.
Inheritance diagram for ModemManager:

Public Member Functions | |
List< Modem > | getModems () throws ModemNotAvailableException, ModemLowLevelException |
Gets list available modems. More... | |
void | addApn (String imsiGroup, ApnInformation apn) throws ModemNotAvailableException, ModemLowLevelException |
void | removeApn (String imsiGroup) throws ModemNotAvailableException, ModemLowLevelException |
void | changeApn (String imsiGroup, ApnInformation apn) throws ModemNotAvailableException, ModemLowLevelException |
ApnInformation | getApnByImsi (String imsiGroup) throws ModemNotAvailableException, ModemLowLevelException |
void | close () |
![]() | |
String | getIp () |
String | getName () |
Boolean | isAlive () |
void | subscribe (ManagerObserver observer) throws CannotSubscribeException |
void | unSubscribe (ManagerObserver observer) throws ObserverNotSubscribedException |
![]() | |
void | subscribe (T observer) throws CannotSubscribeException |
void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Member Function Documentation
void addApn | ( | String | imsiGroup, |
ApnInformation | apn | ||
) | throws ModemNotAvailableException, ModemLowLevelException |
- Parameters
-
imsiGroup apn
void changeApn | ( | String | imsiGroup, |
ApnInformation | apn | ||
) | throws ModemNotAvailableException, ModemLowLevelException |
- Parameters
-
imsiGroup apn
- Exceptions
-
ModemNotAvailableException ModemLowLevelException
void close | ( | ) |
Closes the modem manager. Recommended to finish properly
ApnInformation getApnByImsi | ( | String | imsiGroup | ) | throws ModemNotAvailableException, ModemLowLevelException |
- Parameters
-
imsiGroup
- Returns
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
List<Modem> getModems | ( | ) | throws ModemNotAvailableException, ModemLowLevelException |
- Returns
- modem list
- Exceptions
-
ModemNotAvailableException ModemLowLevelException
void removeApn | ( | String | imsiGroup | ) | throws ModemNotAvailableException, ModemLowLevelException |
- Parameters
-
imsiGroup
- Exceptions
-
ModemNotAvailableException ModemLowLevelException