mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/CurrentMissionMgrImpl.java
private synchronized void eventHandleGetProgramInformationResponse(final Message data, final int systemId)
    {
        final GetProgramInformationResponseData response = (GetProgramInformationResponseData)data;
        
        final List<ProgramInfo> missions = response.getMissionInfoList();
        
        for (ProgramInfo info : missions)
        {
            final ProgramStatus status = ProgramStatus.valueOf(info.getMissionStatus().toString());
            
            final CurrentMissionModel model = new CurrentMissionModel(info.getMissionName(), status,
                    info.getTemplateName(), info.getMissionSchedule().getStartInterval(), 
                    info.getMissionSchedule().getStopInterval());
            
            tryAddProgramInfo(model, systemId);
        }
        
        postMissionUpdateEvent();
        
    }
/**
     * Function to appropriately handle response for GetProgramInformationResponse.
     * 
     * @param systemId
     *  the id of the system from which this message originated
     * @param data
     *  the message data that was received
     */
Function to appropriately handle response for GetProgramInformationResponse.

@param systemId
the id of the system from which this message originated
@param data
the message data that was received
Function to appropriately handle response for GetProgramInformationResponse . @param systemId the id of the system from which this message originated @param data the message data that was received
private synchronized void eventHandleGetProgramInformationResponse(final Message data, final int systemId)
    {
        final GetProgramInformationResponseData response = (GetProgramInformationResponseData)data;
        final List<ProgramInfo> missions = response.getMissionInfoList();
        for (ProgramInfo info : missions)
        {
            final ProgramStatus status = ProgramStatus.valueOf(info.getMissionStatus().toString());
            final CurrentMissionModel model = new CurrentMissionModel(info.getMissionName(), status,
                    info.getTemplateName(), info.getMissionSchedule().getStartInterval(), 
                    info.getMissionSchedule().getStopInterval());
            tryAddProgramInfo(model, systemId);
        }
        postMissionUpdateEvent();
    }
private synchronized void eventHandleGetProgramInformationResponse ( final Message data , final int systemId ) { final GetProgramInformationResponseData response = ( GetProgramInformationResponseData ) data ; final List < ProgramInfo > missions = response . getMissionInfoList ( ) ; for ( ProgramInfo info : missions ) { final ProgramStatus status = ProgramStatus . valueOf ( info . getMissionStatus ( ) . toString ( ) ) ; final CurrentMissionModel model = new CurrentMissionModel ( info . getMissionName ( ) , status , info . getTemplateName ( ) , info . getMissionSchedule ( ) . getStartInterval ( ) , info . getMissionSchedule ( ) . getStopInterval ( ) ) ; tryAddProgramInfo ( model , systemId ) ; } postMissionUpdateEvent ( ) ; }
Function to appropriately handle response for GetProgramInformationResponse.
Function to appropriately handle response for GetProgramInformationResponse .