Interface DecoderService
-
public interface DecoderService
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARG_RESOURCE_PATH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecoderResult
decode(String inputData, com.cumulocity.model.idtype.GId deviceId, Map<String,String> args)
Decodes byte array data into DecoderResult object.
-
-
-
Field Detail
-
ARG_RESOURCE_PATH
static final String ARG_RESOURCE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 arraydeviceId
- device from which this data comes fromargs
- additional arguments that may be required by decoder- Returns:
- DecoderResult object
- Throws:
DecoderServiceException
- when decode failed
-
-