Implementation for IModemManager. Start point for interact with Modem Manager More...

Inheritance diagram for ModemManager:

Public Member Functions

 ModemManager (string ip)
 
 ModemManager (ModemDeepsyClientDealerConfiguration dealer, ModemDeepsySubscriberConfiguration subscriber)
 
 ModemManager (int routePort, int publishPort)
 
void AddApn (string imsiGroup, ApnInformation apn)
 Add APN to the list More...
 
void ChangeApn (string imsiGroup, ApnInformation apn)
 Replace /modify one imsi group configuration More...
 
ApnInformation GetForcedApn ()
 Get Global Forced APN More...
 
void SetForcedApn (ApnInformation apn)
 Set Global Forced APN More...
 
void StopForcedApn ()
 Stop Global Forced APN More...
 
ApnInformation GetApnByImsi (string imsi)
 Get APN by its imsi group More...
 
IEnumerable< IModemGetModems ()
 Gets list available modems. More...
 
void RemoveApn (string imsiGroup)
 Remove imsi Group from the list More...
 
override void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

EventHandler< IModemListEventModemListEvent
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 
- Events inherited from IModemListNotifier
EventHandler< IModemListEventModemListEvent
 

Detailed Description

Member Function Documentation

void AddApn ( string  imsiGroup,
ApnInformation  apn 
)
Parameters
imsiGroupstring imsi Group
apnAPN Information
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

void ChangeApn ( string  imsiGroup,
ApnInformation  apn 
)
Parameters
imsiGroupstring imsi Group
apnAPN Information
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

ApnInformation GetApnByImsi ( string  imsi)
Returns
IApnInformation Object
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

ApnInformation GetForcedApn ( )
Returns
IApnInformation Object
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

IEnumerable<IModem> GetModems ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

void RemoveApn ( string  imsiGroup)
Parameters
imsiGroupstring imsi group to remove
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

void SetForcedApn ( ApnInformation  apn)
Parameters
apnAPN Information
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.

void StopForcedApn ( )
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IModemManager.