mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/mp/MissionProgrammingMessageService.java
private Message removeTemplate(final TerraHarvestMessage request, final MissionProgrammingNamespace message,
            final RemoteChannel channel) 
            throws IOException
    {
        final RemoveTemplateRequestData removeMessage = RemoveTemplateRequestData.parseFrom(message.getData());
        m_TemplateManager.removeTemplate(removeMessage.getNameOfTemplate());
        m_MessageFactory.createMissionProgrammingResponseMessage(request, 
                MissionProgrammingMessageType.RemoveTemplateResponse, null).queue(channel);
        
        return removeMessage;
    }
/**
     * Remove the {@link MissionProgramTemplate} with the specified name.
     * 
     * @param request
     *     full request message
     * @param message
     *    message that contains the name of the template to remove
     * @param channel
     *      channel to use for sending a response
     * @throws IOException
     *    thrown if an error occurs sending the response 
     * @return
     *      the data message for this request 
     */
Remove the  MissionProgramTemplate with the specified name.


Remove the MissionProgramTemplate with the specified name .
private Message removeTemplate(final TerraHarvestMessage request, final MissionProgrammingNamespace message,
            final RemoteChannel channel) 
            throws IOException
    {
        final RemoveTemplateRequestData removeMessage = RemoveTemplateRequestData.parseFrom(message.getData());
        m_TemplateManager.removeTemplate(removeMessage.getNameOfTemplate());
        m_MessageFactory.createMissionProgrammingResponseMessage(request, 
                MissionProgrammingMessageType.RemoveTemplateResponse, null).queue(channel);
        return removeMessage;
    }
private Message removeTemplate ( final TerraHarvestMessage request , final MissionProgrammingNamespace message , final RemoteChannel channel ) throws IOException { final RemoveTemplateRequestData removeMessage = RemoveTemplateRequestData . parseFrom ( message . getData ( ) ) ; m_TemplateManager . removeTemplate ( removeMessage . getNameOfTemplate ( ) ) ; m_MessageFactory . createMissionProgrammingResponseMessage ( request , MissionProgrammingMessageType . RemoveTemplateResponse , null ) . queue ( channel ) ; return removeMessage ; }
Remove the {@link MissionProgramTemplate} with the specified name.
Remove the { @link MissionProgramTemplate } with the specified name .