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 () |
Public Member Functions inherited from Manager | |
String | getIp () |
String | getName () |
Boolean | isAlive () |
void | subscribe (ManagerObserver observer) throws CannotSubscribeException |
void | unSubscribe (ManagerObserver observer) throws ObserverNotSubscribedException |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
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