mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/encryption/EncryptInfoMessageService.java
private void sendEncryptionTypeResponse(final TerraHarvestMessage request, final RemoteChannel channel)
    {       
        final EncryptType encryptionType = 
                EnumConverter.convertEncryptionModeToEncryptType(m_RemoteSettings.getEncryptionMode());
        final GetEncryptionTypeResponseData response = 
                GetEncryptionTypeResponseData.newBuilder().setType(encryptionType).build();
        m_MessageFactory.createEncryptionInfoResponseMessage(request, 
                EncryptionInfoMessageType.GetEncryptionTypeResponse, response).queue(channel);
    }
/**
     * Method that is responsible for responding with the encryption level of the system.
     * 
     * @param request
     *      entire remote message for the request
     * @param channel
     *    the channel that was used to send request 
     */
Method that is responsible for responding with the encryption level of the system.

@param request
entire remote message for the request
@param channel
the channel that was used to send request
Method that is responsible for responding with the encryption level of the system . @param request entire remote message for the request @param channel the channel that was used to send request
private void sendEncryptionTypeResponse(final TerraHarvestMessage request, final RemoteChannel channel)
    {       
        final EncryptType encryptionType = 
                EnumConverter.convertEncryptionModeToEncryptType(m_RemoteSettings.getEncryptionMode());
        final GetEncryptionTypeResponseData response = 
                GetEncryptionTypeResponseData.newBuilder().setType(encryptionType).build();
        m_MessageFactory.createEncryptionInfoResponseMessage(request, 
                EncryptionInfoMessageType.GetEncryptionTypeResponse, response).queue(channel);
    }
private void sendEncryptionTypeResponse ( final TerraHarvestMessage request , final RemoteChannel channel ) { final EncryptType encryptionType = EnumConverter . convertEncryptionModeToEncryptType ( m_RemoteSettings . getEncryptionMode ( ) ) ; final GetEncryptionTypeResponseData response = GetEncryptionTypeResponseData . newBuilder ( ) . setType ( encryptionType ) . build ( ) ; m_MessageFactory . createEncryptionInfoResponseMessage ( request , EncryptionInfoMessageType . GetEncryptionTypeResponse , response ) . queue ( channel ) ; }
Method that is responsible for responding with the encryption level of the system.
Method that is responsible for responding with the encryption level of the system .