anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | |
| 2 | /* |
| 3 | * Copyright 2019-present, Infosys Limited. |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /************************************** |
| 18 | * |
| 19 | * This is an auto generated file. |
| 20 | * Please do not edit this file. |
| 21 | * All edits to be made through template source file |
| 22 | * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/actionHandlers.h.tt> |
| 23 | **************************************/ |
| 24 | #ifndef ACTIONHANDLERS_H_ |
| 25 | #define ACTIONHANDLERS_H_ |
| 26 | |
| 27 | #include "smTypes.h" |
| 28 | |
| 29 | namespace mme |
| 30 | { |
| 31 | class ActionHandlers |
| 32 | { |
| 33 | |
| 34 | /*************************************** |
| 35 | * Constructor |
| 36 | ****************************************/ |
| 37 | ActionHandlers() |
| 38 | { |
| 39 | } |
| 40 | |
| 41 | /*************************************** |
| 42 | * Destructor |
| 43 | ****************************************/ |
| 44 | ~ActionHandlers() |
| 45 | { |
| 46 | } |
| 47 | |
| 48 | public: |
| 49 | |
| 50 | /********************************************** |
| 51 | * Action handler : attach_done |
| 52 | ***********************************************/ |
| 53 | static SM::ActStatus attach_done(SM::ControlBlock& cb); |
| 54 | |
| 55 | /********************************************** |
| 56 | * Action handler : auth_req_to_ue |
| 57 | ***********************************************/ |
| 58 | static SM::ActStatus auth_req_to_ue(SM::ControlBlock& cb); |
| 59 | |
| 60 | /********************************************** |
| 61 | * Action handler : auth_response_validate |
| 62 | ***********************************************/ |
| 63 | static SM::ActStatus auth_response_validate(SM::ControlBlock& cb); |
| 64 | |
| 65 | /********************************************** |
| 66 | * Action handler : check_esm_info_req_required |
| 67 | ***********************************************/ |
| 68 | static SM::ActStatus check_esm_info_req_required(SM::ControlBlock& cb); |
| 69 | |
| 70 | /********************************************** |
| 71 | * Action handler : cs_req_to_sgw |
| 72 | ***********************************************/ |
| 73 | static SM::ActStatus cs_req_to_sgw(SM::ControlBlock& cb); |
| 74 | |
| 75 | /********************************************** |
| 76 | * Action handler : default_attach_req_handler |
| 77 | ***********************************************/ |
| 78 | static SM::ActStatus default_attach_req_handler(SM::ControlBlock& cb); |
| 79 | |
| 80 | /********************************************** |
| 81 | * Action handler : default_cancel_loc_req_handler |
| 82 | ***********************************************/ |
| 83 | static SM::ActStatus default_cancel_loc_req_handler(SM::ControlBlock& cb); |
| 84 | |
| 85 | /********************************************** |
| 86 | * Action handler : default_ddn_handler |
| 87 | ***********************************************/ |
| 88 | static SM::ActStatus default_ddn_handler(SM::ControlBlock& cb); |
| 89 | |
| 90 | /********************************************** |
| 91 | * Action handler : default_detach_req_handler |
| 92 | ***********************************************/ |
| 93 | static SM::ActStatus default_detach_req_handler(SM::ControlBlock& cb); |
| 94 | |
| 95 | /********************************************** |
| 96 | * Action handler : default_s1_release_req_handler |
| 97 | ***********************************************/ |
| 98 | static SM::ActStatus default_s1_release_req_handler(SM::ControlBlock& cb); |
| 99 | |
| 100 | /********************************************** |
| 101 | * Action handler : default_service_req_handler |
| 102 | ***********************************************/ |
| 103 | static SM::ActStatus default_service_req_handler(SM::ControlBlock& cb); |
| 104 | |
| 105 | /********************************************** |
| 106 | * Action handler : default_tau_req_handler |
| 107 | ***********************************************/ |
| 108 | static SM::ActStatus default_tau_req_handler(SM::ControlBlock& cb); |
| 109 | |
| 110 | /********************************************** |
| 111 | * Action handler : del_session_req |
| 112 | ***********************************************/ |
| 113 | static SM::ActStatus del_session_req(SM::ControlBlock& cb); |
| 114 | |
| 115 | /********************************************** |
| 116 | * Action handler : detach_accept_to_ue |
| 117 | ***********************************************/ |
| 118 | static SM::ActStatus detach_accept_to_ue(SM::ControlBlock& cb); |
| 119 | |
| 120 | /********************************************** |
| 121 | * Action handler : ni_detach_req_to_ue |
| 122 | ***********************************************/ |
| 123 | static SM::ActStatus ni_detach_req_to_ue(SM::ControlBlock& cb); |
| 124 | |
| 125 | /********************************************** |
| 126 | * Action handler : perform_auth_and_sec_check |
| 127 | ***********************************************/ |
| 128 | static SM::ActStatus perform_auth_and_sec_check(SM::ControlBlock& cb); |
| 129 | |
| 130 | /********************************************** |
| 131 | * Action handler : process_aia |
| 132 | ***********************************************/ |
| 133 | static SM::ActStatus process_aia(SM::ControlBlock& cb); |
| 134 | |
| 135 | /********************************************** |
| 136 | * Action handler : process_attach_cmp_from_ue |
| 137 | ***********************************************/ |
| 138 | static SM::ActStatus process_attach_cmp_from_ue(SM::ControlBlock& cb); |
| 139 | |
| 140 | /********************************************** |
| 141 | * Action handler : process_cs_resp |
| 142 | ***********************************************/ |
| 143 | static SM::ActStatus process_cs_resp(SM::ControlBlock& cb); |
| 144 | |
| 145 | /********************************************** |
| 146 | * Action handler : process_del_session_resp |
| 147 | ***********************************************/ |
| 148 | static SM::ActStatus process_del_session_resp(SM::ControlBlock& cb); |
| 149 | |
| 150 | /********************************************** |
| 151 | * Action handler : process_detach_accept_from_ue |
| 152 | ***********************************************/ |
| 153 | static SM::ActStatus process_detach_accept_from_ue(SM::ControlBlock& cb); |
| 154 | |
| 155 | /********************************************** |
| 156 | * Action handler : process_esm_info_resp |
| 157 | ***********************************************/ |
| 158 | static SM::ActStatus process_esm_info_resp(SM::ControlBlock& cb); |
| 159 | |
| 160 | /********************************************** |
| 161 | * Action handler : process_identity_response |
| 162 | ***********************************************/ |
| 163 | static SM::ActStatus process_identity_response(SM::ControlBlock& cb); |
| 164 | |
| 165 | /********************************************** |
| 166 | * Action handler : process_init_ctxt_resp |
| 167 | ***********************************************/ |
| 168 | static SM::ActStatus process_init_ctxt_resp(SM::ControlBlock& cb); |
| 169 | |
| 170 | /********************************************** |
| 171 | * Action handler : process_init_ctxt_resp_svc_req |
| 172 | ***********************************************/ |
| 173 | static SM::ActStatus process_init_ctxt_resp_svc_req(SM::ControlBlock& cb); |
| 174 | |
| 175 | /********************************************** |
| 176 | * Action handler : process_mb_resp |
| 177 | ***********************************************/ |
| 178 | static SM::ActStatus process_mb_resp(SM::ControlBlock& cb); |
| 179 | |
| 180 | /********************************************** |
| 181 | * Action handler : process_mb_resp_svc_req |
| 182 | ***********************************************/ |
| 183 | static SM::ActStatus process_mb_resp_svc_req(SM::ControlBlock& cb); |
| 184 | |
| 185 | /********************************************** |
| 186 | * Action handler : process_rel_ab_resp_from_sgw |
| 187 | ***********************************************/ |
| 188 | static SM::ActStatus process_rel_ab_resp_from_sgw(SM::ControlBlock& cb); |
| 189 | |
| 190 | /********************************************** |
| 191 | * Action handler : process_sec_mode_resp |
| 192 | ***********************************************/ |
| 193 | static SM::ActStatus process_sec_mode_resp(SM::ControlBlock& cb); |
| 194 | |
| 195 | /********************************************** |
| 196 | * Action handler : process_service_request |
| 197 | ***********************************************/ |
| 198 | static SM::ActStatus process_service_request(SM::ControlBlock& cb); |
| 199 | |
| 200 | /********************************************** |
| 201 | * Action handler : process_ue_ctxt_rel_comp |
| 202 | ***********************************************/ |
| 203 | static SM::ActStatus process_ue_ctxt_rel_comp(SM::ControlBlock& cb); |
| 204 | |
| 205 | /********************************************** |
| 206 | * Action handler : process_ue_ctxt_rel_comp_for_detach |
| 207 | ***********************************************/ |
| 208 | static SM::ActStatus process_ue_ctxt_rel_comp_for_detach(SM::ControlBlock& cb); |
| 209 | |
| 210 | /********************************************** |
| 211 | * Action handler : process_ula |
| 212 | ***********************************************/ |
| 213 | static SM::ActStatus process_ula(SM::ControlBlock& cb); |
| 214 | |
| 215 | /********************************************** |
| 216 | * Action handler : sec_mode_cmd_to_ue |
| 217 | ***********************************************/ |
| 218 | static SM::ActStatus sec_mode_cmd_to_ue(SM::ControlBlock& cb); |
| 219 | |
| 220 | /********************************************** |
| 221 | * Action handler : send_air_to_hss |
| 222 | ***********************************************/ |
| 223 | static SM::ActStatus send_air_to_hss(SM::ControlBlock& cb); |
| 224 | |
| 225 | /********************************************** |
| 226 | * Action handler : send_auth_reject |
| 227 | ***********************************************/ |
| 228 | static SM::ActStatus send_auth_reject(SM::ControlBlock& cb); |
| 229 | |
| 230 | /********************************************** |
| 231 | * Action handler : send_ddn_ack_to_sgw |
| 232 | ***********************************************/ |
| 233 | static SM::ActStatus send_ddn_ack_to_sgw(SM::ControlBlock& cb); |
| 234 | |
| 235 | /********************************************** |
| 236 | * Action handler : send_esm_info_req_to_ue |
| 237 | ***********************************************/ |
| 238 | static SM::ActStatus send_esm_info_req_to_ue(SM::ControlBlock& cb); |
| 239 | |
| 240 | /********************************************** |
| 241 | * Action handler : send_identity_request_to_ue |
| 242 | ***********************************************/ |
| 243 | static SM::ActStatus send_identity_request_to_ue(SM::ControlBlock& cb); |
| 244 | |
| 245 | /********************************************** |
| 246 | * Action handler : send_init_ctxt_req_to_ue |
| 247 | ***********************************************/ |
| 248 | static SM::ActStatus send_init_ctxt_req_to_ue(SM::ControlBlock& cb); |
| 249 | |
| 250 | /********************************************** |
| 251 | * Action handler : send_init_ctxt_req_to_ue_svc_req |
| 252 | ***********************************************/ |
| 253 | static SM::ActStatus send_init_ctxt_req_to_ue_svc_req(SM::ControlBlock& cb); |
| 254 | |
| 255 | /********************************************** |
| 256 | * Action handler : send_mb_req_to_sgw |
| 257 | ***********************************************/ |
| 258 | static SM::ActStatus send_mb_req_to_sgw(SM::ControlBlock& cb); |
| 259 | |
| 260 | /********************************************** |
| 261 | * Action handler : send_mb_req_to_sgw_svc_req |
| 262 | ***********************************************/ |
| 263 | static SM::ActStatus send_mb_req_to_sgw_svc_req(SM::ControlBlock& cb); |
| 264 | |
| 265 | /********************************************** |
| 266 | * Action handler : send_paging_req_to_ue |
| 267 | ***********************************************/ |
| 268 | static SM::ActStatus send_paging_req_to_ue(SM::ControlBlock& cb); |
| 269 | |
| 270 | /********************************************** |
| 271 | * Action handler : send_rel_ab_req_to_sgw |
| 272 | ***********************************************/ |
| 273 | static SM::ActStatus send_rel_ab_req_to_sgw(SM::ControlBlock& cb); |
| 274 | |
| 275 | /********************************************** |
| 276 | * Action handler : send_s1_rel_cmd_to_ue |
| 277 | ***********************************************/ |
| 278 | static SM::ActStatus send_s1_rel_cmd_to_ue(SM::ControlBlock& cb); |
| 279 | |
| 280 | /********************************************** |
| 281 | * Action handler : send_s1_rel_cmd_to_ue_for_detach |
| 282 | ***********************************************/ |
| 283 | static SM::ActStatus send_s1_rel_cmd_to_ue_for_detach(SM::ControlBlock& cb); |
| 284 | |
| 285 | /********************************************** |
| 286 | * Action handler : send_tau_response_to_ue |
| 287 | ***********************************************/ |
| 288 | static SM::ActStatus send_tau_response_to_ue(SM::ControlBlock& cb); |
| 289 | |
| 290 | /********************************************** |
| 291 | * Action handler : send_ulr_to_hss |
| 292 | ***********************************************/ |
| 293 | static SM::ActStatus send_ulr_to_hss(SM::ControlBlock& cb); |
| 294 | |
| 295 | /********************************************** |
| 296 | * Action handler : validate_imsi_in_ue_context |
| 297 | ***********************************************/ |
| 298 | static SM::ActStatus validate_imsi_in_ue_context(SM::ControlBlock& cb); |
| 299 | };//ActionHandlers |
| 300 | };//mme |
| 301 | |
| 302 | #endif /* ACTIONHANDLERS_H_ */ |