mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/TransportLayerMessageService.java
private Message isTransmitting(final TransportLayerNamespace transportLayerMessage, 
            final TerraHarvestMessage request, final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsTransmittingRequestData isTransmittingRequest = IsTransmittingRequestData.parseFrom(
                transportLayerMessage.getData());
        final TransportLayer requestedTransportLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService,
                isTransmittingRequest.getUuid());

        final IsTransmittingResponseData response = IsTransmittingResponseData.newBuilder().setIsTransmitting(
                requestedTransportLayer.isTransmitting()).build();

        m_MessageFactory.createTransportLayerResponseMessage(request, TransportLayerMessageType.IsTransmittingResponse,
                response).queue(channel);

        
        return isTransmittingRequest;
    }
/**
     * Get whether or not the specified {@link TransportLayer} is transmitting 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 transmitting 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 transmitting 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 isTransmitting(final TransportLayerNamespace transportLayerMessage, 
            final TerraHarvestMessage request, final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsTransmittingRequestData isTransmittingRequest = IsTransmittingRequestData.parseFrom(
                transportLayerMessage.getData());
        final TransportLayer requestedTransportLayer = CustomCommUtility.getTransportLayerByUuid(m_CommsService,
                isTransmittingRequest.getUuid());
        final IsTransmittingResponseData response = IsTransmittingResponseData.newBuilder().setIsTransmitting(
                requestedTransportLayer.isTransmitting()).build();
        m_MessageFactory.createTransportLayerResponseMessage(request, TransportLayerMessageType.IsTransmittingResponse,
                response).queue(channel);
        return isTransmittingRequest;
    }
private Message isTransmitting ( final TransportLayerNamespace transportLayerMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws InvalidProtocolBufferException { final IsTransmittingRequestData isTransmittingRequest = IsTransmittingRequestData . parseFrom ( transportLayerMessage . getData ( ) ) ; final TransportLayer requestedTransportLayer = CustomCommUtility . getTransportLayerByUuid ( m_CommsService , isTransmittingRequest . getUuid ( ) ) ; final IsTransmittingResponseData response = IsTransmittingResponseData . newBuilder ( ) . setIsTransmitting ( requestedTransportLayer . isTransmitting ( ) ) . build ( ) ; m_MessageFactory . createTransportLayerResponseMessage ( request , TransportLayerMessageType . IsTransmittingResponse , response ) . queue ( channel ) ; return isTransmittingRequest ; }
Get whether or not the specified {@link TransportLayer} is transmitting data.
Get whether or not the specified { @link TransportLayer } is transmitting data .