mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/LinkLayerMessageService.java
private Message deleteLinkLayer(final LinkLayerNamespace linkLayerMessage, final TerraHarvestMessage request,
        final RemoteChannel channel) throws IOException
    {
        final DeleteRequestData deleteLinkLayer = DeleteRequestData.parseFrom(
                linkLayerMessage.getData());
        
        final LinkLayer lLayer = CustomCommUtility.getLinkLayerByUuid(m_CommsService, 
                deleteLinkLayer.getLinkLayerUuid());
        lLayer.delete();
        
        m_MessageFactory.createLinkLayerResponseMessage(request, 
                LinkLayerMessageType.DeleteResponse, 
                null).queue(channel);
        return deleteLinkLayer;
    }
/**
     * Method to delete a {@link LinkLayer}, given a UUID.
     * @param linkLayerMessage
     *      request message containing the UUID of the link layer to delete.
     * @param request
     *      entire remote message for the request
     * @param channel
     *      channel to use for sending a response
     * @return
     *      the data message for this request
     * @throws IOException
     *      if message cannot be parsed or response message cannot be sent 
     */
Method to delete a  LinkLayer, given a UUID.
@param linkLayerMessage
request message containing the UUID of the link layer to delete.
@param request
entire remote message for the request
@param channel
channel to use for sending a response
@return
the data message for this request
@throws IOException
if message cannot be parsed or response message cannot be sent
Method to delete a LinkLayer given a UUID . @param linkLayerMessage request message containing the UUID of the link layer to delete . @param request entire remote message for the request @param channel channel to use for sending a response @return the data message for this request @throws IOException if message cannot be parsed or response message cannot be sent
private Message deleteLinkLayer(final LinkLayerNamespace linkLayerMessage, final TerraHarvestMessage request,
        final RemoteChannel channel) throws IOException
    {
        final DeleteRequestData deleteLinkLayer = DeleteRequestData.parseFrom(
                linkLayerMessage.getData());
        final LinkLayer lLayer = CustomCommUtility.getLinkLayerByUuid(m_CommsService, 
                deleteLinkLayer.getLinkLayerUuid());
        lLayer.delete();
        m_MessageFactory.createLinkLayerResponseMessage(request, 
                LinkLayerMessageType.DeleteResponse, 
                null).queue(channel);
        return deleteLinkLayer;
    }
private Message deleteLinkLayer ( final LinkLayerNamespace linkLayerMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws IOException { final DeleteRequestData deleteLinkLayer = DeleteRequestData . parseFrom ( linkLayerMessage . getData ( ) ) ; final LinkLayer lLayer = CustomCommUtility . getLinkLayerByUuid ( m_CommsService , deleteLinkLayer . getLinkLayerUuid ( ) ) ; lLayer . delete ( ) ; m_MessageFactory . createLinkLayerResponseMessage ( request , LinkLayerMessageType . DeleteResponse , null ) . queue ( channel ) ; return deleteLinkLayer ; }
Method to delete a {@link LinkLayer}, given a UUID.
Method to delete a { @link LinkLayer } given a UUID .