mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/TransportLayerMessageService.java
private Message isReceiving(final TransportLayerNamespace transportLayerMessage, final TerraHarvestMessage request,
            final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsReceivingRequestData isReceivingRequest = IsReceivingRequestData.parseFrom(
                transportLayerMessage.getData());

        final TransportLayer requestedTransportLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService,
                isReceivingRequest.getUuid());

        final IsReceivingResponseData response = IsReceivingResponseData.newBuilder().setIsReceiving(
                requestedTransportLayer.isReceiving()).build();

        m_MessageFactory.createTransportLayerResponseMessage(request, TransportLayerMessageType.IsReceivingResponse,
                response).queue(channel);
        
        return isReceivingRequest;
    }
/**
     * Get whether or not the specified {@link TransportLayer} is receiving data.
     * @param transportLayerMessage
     *      request message containing the specific transport layer to see if it is transmitting.
     * @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 InvalidProtocolBufferException
     *      thrown when a message being parsed is invalid in some way 
     */
Get whether or not the specified  TransportLayer is receiving data.
@param transportLayerMessage
request message containing the specific transport layer to see if it is transmitting.
@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 InvalidProtocolBufferException
thrown when a message being parsed is invalid in some way
Get whether or not the specified TransportLayer is receiving data . @param transportLayerMessage request message containing the specific transport layer to see if it is transmitting . @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 InvalidProtocolBufferException thrown when a message being parsed is invalid in some way
private Message isReceiving(final TransportLayerNamespace transportLayerMessage, final TerraHarvestMessage request,
            final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsReceivingRequestData isReceivingRequest = IsReceivingRequestData.parseFrom(
                transportLayerMessage.getData());
        final TransportLayer requestedTransportLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService,
                isReceivingRequest.getUuid());
        final IsReceivingResponseData response = IsReceivingResponseData.newBuilder().setIsReceiving(
                requestedTransportLayer.isReceiving()).build();
        m_MessageFactory.createTransportLayerResponseMessage(request, TransportLayerMessageType.IsReceivingResponse,
                response).queue(channel);
        return isReceivingRequest;
    }
private Message isReceiving ( final TransportLayerNamespace transportLayerMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws InvalidProtocolBufferException { final IsReceivingRequestData isReceivingRequest = IsReceivingRequestData . parseFrom ( transportLayerMessage . getData ( ) ) ; final TransportLayer requestedTransportLayer = CustomCommUtility . getTransportLayerByUuid ( m_CommsService , isReceivingRequest . getUuid ( ) ) ; final IsReceivingResponseData response = IsReceivingResponseData . newBuilder ( ) . setIsReceiving ( requestedTransportLayer . isReceiving ( ) ) . build ( ) ; m_MessageFactory . createTransportLayerResponseMessage ( request , TransportLayerMessageType . IsReceivingResponse , response ) . queue ( channel ) ; return isReceivingRequest ; }
Get whether or not the specified {@link TransportLayer} is receiving data.
Get whether or not the specified { @link TransportLayer } is receiving data .