Interface DecoderService


public interface DecoderService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String inputData, com.cumulocity.model.idtype.GId deviceId, Map<String,String> args)
    Decodes byte array data into DecoderResult object.
  • Field Details

  • Method Details

    • decode

      DecoderResult decode(String inputData, com.cumulocity.model.idtype.GId deviceId, Map<String,String> args) throws DecoderServiceException
      Decodes byte array data into DecoderResult object.
      Parameters:
      inputData - Hex encoded input byte array
      deviceId - device from which this data comes from
      args - additional arguments that may be required by decoder
      Returns:
      DecoderResult object
      Throws:
      DecoderServiceException - when decode failed