mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/comms/PhysicalLinkMessageService.java
private Message isOpen(final PhysicalLinkNamespace physicalLinkMessage, final TerraHarvestMessage request, 
            final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsOpenRequestData isOpenRequest = IsOpenRequestData.parseFrom(physicalLinkMessage.getData());
        final UUID pLinkUuid = SharedMessageUtils.convertProtoUUIDtoUUID(isOpenRequest.getUuid());

        final String pLinkName = m_CommsService.getPhysicalLinkName(pLinkUuid);
        final IsOpenResponseData response = IsOpenResponseData.newBuilder().setIsOpen(
                m_CommsService.isPhysicalLinkOpen(pLinkName)).build();

        m_MessageFactory.createPhysicalLinkResponseMessage(request, PhysicalLinkMessageType.IsOpenResponse, 
                response).queue(channel);

        return isOpenRequest;
    }
/**
     * Check to see if the physical link that the user passed in with the message is opened or not.
     * @param physicalLinkMessage
     *      request message containing the specific physical link the user wants to see if it is open.
     * @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 if a protocol message being parsed is invalid in some way.
     */
Check to see if the physical link that the user passed in with the message is opened or not.
@param physicalLinkMessage
request message containing the specific physical link the user wants to see if it is open.
@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 if a protocol message being parsed is invalid in some way.
Check to see if the physical link that the user passed in with the message is opened or not . @param physicalLinkMessage request message containing the specific physical link the user wants to see if it is open . @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 if a protocol message being parsed is invalid in some way .
private Message isOpen(final PhysicalLinkNamespace physicalLinkMessage, final TerraHarvestMessage request, 
            final RemoteChannel channel) throws InvalidProtocolBufferException
    {
        final IsOpenRequestData isOpenRequest = IsOpenRequestData.parseFrom(physicalLinkMessage.getData());
        final UUID pLinkUuid = SharedMessageUtils.convertProtoUUIDtoUUID(isOpenRequest.getUuid());
        final String pLinkName = m_CommsService.getPhysicalLinkName(pLinkUuid);
        final IsOpenResponseData response = IsOpenResponseData.newBuilder().setIsOpen(
                m_CommsService.isPhysicalLinkOpen(pLinkName)).build();
        m_MessageFactory.createPhysicalLinkResponseMessage(request, PhysicalLinkMessageType.IsOpenResponse, 
                response).queue(channel);
        return isOpenRequest;
    }
private Message isOpen ( final PhysicalLinkNamespace physicalLinkMessage , final TerraHarvestMessage request , final RemoteChannel channel ) throws InvalidProtocolBufferException { final IsOpenRequestData isOpenRequest = IsOpenRequestData . parseFrom ( physicalLinkMessage . getData ( ) ) ; final UUID pLinkUuid = SharedMessageUtils . convertProtoUUIDtoUUID ( isOpenRequest . getUuid ( ) ) ; final String pLinkName = m_CommsService . getPhysicalLinkName ( pLinkUuid ) ; final IsOpenResponseData response = IsOpenResponseData . newBuilder ( ) . setIsOpen ( m_CommsService . isPhysicalLinkOpen ( pLinkName ) ) . build ( ) ; m_MessageFactory . createPhysicalLinkResponseMessage ( request , PhysicalLinkMessageType . IsOpenResponse , response ) . queue ( channel ) ; return isOpenRequest ; }
Check to see if the physical link that the user passed in with the message is opened or not.
Check to see if the physical link that the user passed in with the message is opened or not .