mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/TransportLayerMessageService.java
private Message removeTransportLayer(final TransportLayerNamespace transMessage, final TerraHarvestMessage request,
            final RemoteChannel channel) throws IOException
    {
        final DeleteRequestData removeTransportLayer = DeleteRequestData.parseFrom(transMessage.getData());

        final TransportLayer tLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService, 
                removeTransportLayer.getTransportLayerUuid());  
        tLayer.delete();
        
        m_MessageFactory.createTransportLayerResponseMessage(request, 
                TransportLayerMessageType.DeleteResponse, null).queue(channel);

        
        return removeTransportLayer;
    }
/**
     * Method to remove a {@link TransportLayer}, given a UUID from the ccommsMessage.
     * @param transMessage
     *      request message containing the UUID of the transport layer to remove.
     * @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 remove a  TransportLayer, given a UUID from the ccommsMessage.
@param transMessage
request message containing the UUID of the transport layer to remove.
@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 remove a TransportLayer given a UUID from the ccommsMessage . @param transMessage request message containing the UUID of the transport layer to remove . @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 removeTransportLayer(final TransportLayerNamespace transMessage, final TerraHarvestMessage request,
            final RemoteChannel channel) throws IOException
    {
        final DeleteRequestData removeTransportLayer = DeleteRequestData.parseFrom(transMessage.getData());
        final TransportLayer tLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService, 
                removeTransportLayer.getTransportLayerUuid());  
        tLayer.delete();
        m_MessageFactory.createTransportLayerResponseMessage(request, 
                TransportLayerMessageType.DeleteResponse, null).queue(channel);
        return removeTransportLayer;
    }
private Message removeTransportLayer ( final TransportLayerNamespace transMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws IOException { final DeleteRequestData removeTransportLayer = DeleteRequestData . parseFrom ( transMessage . getData ( ) ) ; final TransportLayer tLayer = CustomCommUtility . getTransportLayerByUuid ( m_CommsService , removeTransportLayer . getTransportLayerUuid ( ) ) ; tLayer . delete ( ) ; m_MessageFactory . createTransportLayerResponseMessage ( request , TransportLayerMessageType . DeleteResponse , null ) . queue ( channel ) ; return removeTransportLayer ; }
Method to remove a {@link TransportLayer}, given a UUID from the ccommsMessage.
Method to remove a { @link TransportLayer } given a UUID from the ccommsMessage .