| 84 | |
| 85 | |
| 86 | L3MMMessage* GSM::L3MMFactory(L3MMMessage::MessageType MTI) |
| 87 | { |
| 88 | switch (MTI) { |
| 89 | case L3MMMessage::LocationUpdatingRequest: return new L3LocationUpdatingRequest; |
| 90 | case L3MMMessage::IMSIDetachIndication: return new L3IMSIDetachIndication; |
| 91 | case L3MMMessage::CMServiceAbort: return new L3CMServiceAbort; |
| 92 | case L3MMMessage::CMServiceRequest: return new L3CMServiceRequest; |
| 93 | // Since we don't support re-establishment, don't bother parsing this. |
| 94 | //case L3MMMessage::CMReestablishmentRequest: return new L3CMReestablishmentRequest; |
| 95 | case L3MMMessage::MMStatus: return new L3MMStatus; |
| 96 | case L3MMMessage::IdentityResponse: return new L3IdentityResponse; |
| 97 | case L3MMMessage::AuthenticationResponse: return new L3AuthenticationResponse; |
| 98 | case L3MMMessage::TMSIReallocationComplete: return new L3TMSIReallocationComplete; |
| 99 | default: |
| 100 | LOG(WARNING) << "no L3 MM factory support for message " << MTI; |
| 101 | return NULL; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | L3MMMessage * GSM::parseL3MM(const L3Frame& source) |
| 106 | { |
nothing calls this directly
no outgoing calls
no test coverage detected