

An IMSI (International Mobile Subscriber Identity) uniquely identifies a mobile phone user.
It is a 15 (sometime 14) digit number that consists of:
+ MCC, 3 digits: mobile country code + MNC, 2 or 3 digits: mobile network code + MSIN, 9 or 10 digits: mobile station identification number
Definition at line 73 of file imsiresource.h.
Constructor with optional object id.
| OSB_LIB::ImsiResource::ImsiResource | ( | const Number & | rn, | |
| const Id< Network > & | nw = Id< Network >() | |||
| ) | [explicit] |
Constructor with resource number and optional network.
| rn | The resource number, see class description for format. | |
| nw | The network of the IMSI resource. |
| OsbException | from validateNumber(). |
| bool OSB_LIB::ImsiResource::insert | ( | const OSB_DB::Session & | session | ) | [virtual] |
Insert the resource into the database.
| session | Database session to use. |
Implements OSB_LIB::Resource.
| bool OSB_LIB::ImsiResource::read | ( | const OSB_DB::Session & | session | ) | [virtual] |
Read the resource from the database.
| session | Database session to use. |
Implements OSB_LIB::Resource.
| bool OSB_LIB::ImsiResource::remove | ( | const OSB_DB::Session & | session | ) | [virtual] |
Delete the resource from the database.
| session | Database session to use. |
Implements OSB_LIB::Resource.
| Type OSB_LIB::ImsiResource::typeId | ( | ) | const [virtual] |
| void OSB_LIB::ImsiResource::updData | ( | const OSB_DB::Session & | session | ) | [virtual] |
Update the IMSI resource in the database.
| session | Database session to use. |
Implements OSB_LIB::Resource.
| static void OSB_LIB::ImsiResource::validateNumber | ( | const std::string & | number | ) | [static] |
Validate the number of an IMSI resource.
| number | Number to validate. |
| OsbException | if the length of number is not 14 or 15. | |
| OsbException | if number contains non-decimal digits. |
const Type OSB_LIB::ImsiResource::type_ = rtImsi [static] |
1.4.7