LibS1AP_Steps.ttcn 88.8 KB
Newer Older
garciay's avatar
garciay committed
                repeat;
            }
            [] S1_MMEeNB_P.receive (S1AP_PDU:?) -> value vc_recvS1AP_PDUDefault {
                if (vc_serverStop==false) {
                    f_selfOrClientSyncAndVerdict("error", e_error);
                }
                else {
                    stop;
                }
            }
            [] S1_MMEeNB_P.receive {
                if (vc_serverStop==false) {
                    f_selfOrClientSyncAndVerdict("error", e_error);
                }
                else {
                    stop;
                }
            }
            [] a_shutdown() {
                // Process temination on error
                log("*** a_defaultS1AP() : Process temination on error ***");
                // Terminate component execution
                stop;
            }
garciay's avatar
garciay committed
        } // End of altstep a_defaultS1AP
        
        altstep a_defaultS1AP_MME()
garciay's avatar
garciay committed
        runs on S1APComponent {
            [] any timer.timeout {
                all timer.stop;
                if (vc_serverStop==false) {
                    f_selfOrClientSyncAndVerdict("error", e_timeout);
                }
                else {
                    stop;
                }
            }
garciay's avatar
garciay committed
            // Note: possible unscollicited messages should be filtered
garciay's avatar
garciay committed
        } // End of altstep a_defaultS1AP_MME
        
        altstep a_defaultS1AP_eNB()
garciay's avatar
garciay committed
        runs on S1APComponent {
            [] any timer.timeout {
                all timer.stop;
                if (vc_serverStop==false) {
                    f_selfOrClientSyncAndVerdict("error", e_timeout);
                }
                else {
                    stop;
                }
            }
garciay's avatar
garciay committed
            // Note: possible unscollicited messages should be filtered
garciay's avatar
garciay committed
        } // End of altstep a_defaultS1AP_eNB
        
garciay's avatar
garciay committed
    } // End of group defaultsTestStep
garciay's avatar
garciay committed
} // End of module LibS1AP_Steps