Commit 08b2dafd authored by berge's avatar berge
Browse files

Added generic altstep a_shutdown()

parent 0814fc7f
Loading
Loading
Loading
Loading
+15 −2
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ module LibCommon_Sync {

    } // end group syncCompStateHandling

    group exampleShutDownAltstep {
    group shutDownAltsteps {

      /**
       * @desc   This is an example of a shutdown altstep which can be
@@ -559,7 +559,20 @@ module LibCommon_Sync {
          }
      } // end altstep a_dummyShutDown
      
    } // end group exampleShutDownAltstep
      /**
       * @desc Shutdown alstep in case the sync server is requesting shutdown. 
       * 
       * @remark User shall stop the component 
       */
      altstep a_shutdown() 
      runs on SelfSyncComp {
        []  syncPort.receive(m_syncServerStop){
            tc_sync.stop ;
            log("**** a_shutdown: Test component received STOP signal from MTC **** ");
          }              
      }

    } // end group shutDownAltsteps

  } // end group basicUserRelevantDefinitions