MME2 changes - Propped commits from openmme/paging branch. Added scripts
for code gen
Change-Id: Ie55032217232214ac8544ca76ea34335205329e4
diff --git a/include/mme-app/actionHandlers/actionHandlers.h b/include/mme-app/actionHandlers/actionHandlers.h
new file mode 100644
index 0000000..be57cf7
--- /dev/null
+++ b/include/mme-app/actionHandlers/actionHandlers.h
@@ -0,0 +1,302 @@
+
+/*
+ * Copyright 2019-present, Infosys Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**************************************
+ *
+ * This is an auto generated file.
+ * Please do not edit this file.
+ * All edits to be made through template source file
+ * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/actionHandlers.h.tt>
+ **************************************/
+#ifndef ACTIONHANDLERS_H_
+#define ACTIONHANDLERS_H_
+
+#include "smTypes.h"
+
+namespace mme
+{
+ class ActionHandlers
+ {
+
+ /***************************************
+ * Constructor
+ ****************************************/
+ ActionHandlers()
+ {
+ }
+
+ /***************************************
+ * Destructor
+ ****************************************/
+ ~ActionHandlers()
+ {
+ }
+
+ public:
+
+ /**********************************************
+ * Action handler : attach_done
+ ***********************************************/
+ static SM::ActStatus attach_done(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : auth_req_to_ue
+ ***********************************************/
+ static SM::ActStatus auth_req_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : auth_response_validate
+ ***********************************************/
+ static SM::ActStatus auth_response_validate(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : check_esm_info_req_required
+ ***********************************************/
+ static SM::ActStatus check_esm_info_req_required(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : cs_req_to_sgw
+ ***********************************************/
+ static SM::ActStatus cs_req_to_sgw(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_attach_req_handler
+ ***********************************************/
+ static SM::ActStatus default_attach_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_cancel_loc_req_handler
+ ***********************************************/
+ static SM::ActStatus default_cancel_loc_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_ddn_handler
+ ***********************************************/
+ static SM::ActStatus default_ddn_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_detach_req_handler
+ ***********************************************/
+ static SM::ActStatus default_detach_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_s1_release_req_handler
+ ***********************************************/
+ static SM::ActStatus default_s1_release_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_service_req_handler
+ ***********************************************/
+ static SM::ActStatus default_service_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : default_tau_req_handler
+ ***********************************************/
+ static SM::ActStatus default_tau_req_handler(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : del_session_req
+ ***********************************************/
+ static SM::ActStatus del_session_req(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : detach_accept_to_ue
+ ***********************************************/
+ static SM::ActStatus detach_accept_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : ni_detach_req_to_ue
+ ***********************************************/
+ static SM::ActStatus ni_detach_req_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : perform_auth_and_sec_check
+ ***********************************************/
+ static SM::ActStatus perform_auth_and_sec_check(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_aia
+ ***********************************************/
+ static SM::ActStatus process_aia(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_attach_cmp_from_ue
+ ***********************************************/
+ static SM::ActStatus process_attach_cmp_from_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_cs_resp
+ ***********************************************/
+ static SM::ActStatus process_cs_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_del_session_resp
+ ***********************************************/
+ static SM::ActStatus process_del_session_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_detach_accept_from_ue
+ ***********************************************/
+ static SM::ActStatus process_detach_accept_from_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_esm_info_resp
+ ***********************************************/
+ static SM::ActStatus process_esm_info_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_identity_response
+ ***********************************************/
+ static SM::ActStatus process_identity_response(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_init_ctxt_resp
+ ***********************************************/
+ static SM::ActStatus process_init_ctxt_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_init_ctxt_resp_svc_req
+ ***********************************************/
+ static SM::ActStatus process_init_ctxt_resp_svc_req(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_mb_resp
+ ***********************************************/
+ static SM::ActStatus process_mb_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_mb_resp_svc_req
+ ***********************************************/
+ static SM::ActStatus process_mb_resp_svc_req(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_rel_ab_resp_from_sgw
+ ***********************************************/
+ static SM::ActStatus process_rel_ab_resp_from_sgw(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_sec_mode_resp
+ ***********************************************/
+ static SM::ActStatus process_sec_mode_resp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_service_request
+ ***********************************************/
+ static SM::ActStatus process_service_request(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_ue_ctxt_rel_comp
+ ***********************************************/
+ static SM::ActStatus process_ue_ctxt_rel_comp(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_ue_ctxt_rel_comp_for_detach
+ ***********************************************/
+ static SM::ActStatus process_ue_ctxt_rel_comp_for_detach(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : process_ula
+ ***********************************************/
+ static SM::ActStatus process_ula(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : sec_mode_cmd_to_ue
+ ***********************************************/
+ static SM::ActStatus sec_mode_cmd_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_air_to_hss
+ ***********************************************/
+ static SM::ActStatus send_air_to_hss(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_auth_reject
+ ***********************************************/
+ static SM::ActStatus send_auth_reject(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_ddn_ack_to_sgw
+ ***********************************************/
+ static SM::ActStatus send_ddn_ack_to_sgw(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_esm_info_req_to_ue
+ ***********************************************/
+ static SM::ActStatus send_esm_info_req_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_identity_request_to_ue
+ ***********************************************/
+ static SM::ActStatus send_identity_request_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_init_ctxt_req_to_ue
+ ***********************************************/
+ static SM::ActStatus send_init_ctxt_req_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_init_ctxt_req_to_ue_svc_req
+ ***********************************************/
+ static SM::ActStatus send_init_ctxt_req_to_ue_svc_req(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_mb_req_to_sgw
+ ***********************************************/
+ static SM::ActStatus send_mb_req_to_sgw(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_mb_req_to_sgw_svc_req
+ ***********************************************/
+ static SM::ActStatus send_mb_req_to_sgw_svc_req(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_paging_req_to_ue
+ ***********************************************/
+ static SM::ActStatus send_paging_req_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_rel_ab_req_to_sgw
+ ***********************************************/
+ static SM::ActStatus send_rel_ab_req_to_sgw(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_s1_rel_cmd_to_ue
+ ***********************************************/
+ static SM::ActStatus send_s1_rel_cmd_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_s1_rel_cmd_to_ue_for_detach
+ ***********************************************/
+ static SM::ActStatus send_s1_rel_cmd_to_ue_for_detach(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_tau_response_to_ue
+ ***********************************************/
+ static SM::ActStatus send_tau_response_to_ue(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : send_ulr_to_hss
+ ***********************************************/
+ static SM::ActStatus send_ulr_to_hss(SM::ControlBlock& cb);
+
+ /**********************************************
+ * Action handler : validate_imsi_in_ue_context
+ ***********************************************/
+ static SM::ActStatus validate_imsi_in_ue_context(SM::ControlBlock& cb);
+ };//ActionHandlers
+};//mme
+
+#endif /* ACTIONHANDLERS_H_ */
\ No newline at end of file