mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/PhysicalLinkMessageService.java
private Message isPhysicalLinkInUse(final PhysicalLinkNamespace physicalLinkMessage, 
            final TerraHarvestMessage request, final RemoteChannel channel) throws IOException
    {
        final IsInUseRequestData isPhysicalLinkInUse = IsInUseRequestData.parseFrom(physicalLinkMessage.getData());
        
        final UUID physicalUuid = SharedMessageUtils.convertProtoUUIDtoUUID(
                isPhysicalLinkInUse.getPhysicalLinkUuid());
        
        final IsInUseResponseData response = IsInUseResponseData.newBuilder().
                setIsInUse(m_CommsService.isPhysicalLinkInUse(
                        m_CommsService.getPhysicalLinkName(physicalUuid))).build();
        
        m_MessageFactory.createPhysicalLinkResponseMessage(request, PhysicalLinkMessageType.IsInUseResponse, 
                response).queue(channel);
        
        return isPhysicalLinkInUse;
    }
/**
     * Method to see if a {@link mil.dod.th.core.ccomm.physical.PhysicalLink} is in use or not.
     * @param physicalLinkMessage
     *      request message containing the UUID of the physical link to find if it is in use.
     * @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 see if a  mil.dod.th.core.ccomm.physical.PhysicalLink is in use or not.
@param physicalLinkMessage
request message containing the UUID of the physical link to find if it is in use.
@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 see if a mil . dod . th . core . ccomm . physical . PhysicalLink is in use or not . @param physicalLinkMessage request message containing the UUID of the physical link to find if it is in use . @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 isPhysicalLinkInUse(final PhysicalLinkNamespace physicalLinkMessage, 
            final TerraHarvestMessage request, final RemoteChannel channel) throws IOException
    {
        final IsInUseRequestData isPhysicalLinkInUse = IsInUseRequestData.parseFrom(physicalLinkMessage.getData());
        final UUID physicalUuid = SharedMessageUtils.convertProtoUUIDtoUUID(
                isPhysicalLinkInUse.getPhysicalLinkUuid());
        final IsInUseResponseData response = IsInUseResponseData.newBuilder().
                setIsInUse(m_CommsService.isPhysicalLinkInUse(
                        m_CommsService.getPhysicalLinkName(physicalUuid))).build();
        m_MessageFactory.createPhysicalLinkResponseMessage(request, PhysicalLinkMessageType.IsInUseResponse, 
                response).queue(channel);
        return isPhysicalLinkInUse;
    }
private Message isPhysicalLinkInUse ( final PhysicalLinkNamespace physicalLinkMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws IOException { final IsInUseRequestData isPhysicalLinkInUse = IsInUseRequestData . parseFrom ( physicalLinkMessage . getData ( ) ) ; final UUID physicalUuid = SharedMessageUtils . convertProtoUUIDtoUUID ( isPhysicalLinkInUse . getPhysicalLinkUuid ( ) ) ; final IsInUseResponseData response = IsInUseResponseData . newBuilder ( ) . setIsInUse ( m_CommsService . isPhysicalLinkInUse ( m_CommsService . getPhysicalLinkName ( physicalUuid ) ) ) . build ( ) ; m_MessageFactory . createPhysicalLinkResponseMessage ( request , PhysicalLinkMessageType . IsInUseResponse , response ) . queue ( channel ) ; return isPhysicalLinkInUse ; }
Method to see if a {@link mil.dod.th.core.ccomm.physical.PhysicalLink} is in use or not.
Method to see if a { @link mil . dod . th . core . ccomm . physical . PhysicalLink } is in use or not .