Class ErrorTelegramDeserializer

java.lang.Object
org.openwms.common.comm.osip.err.tcp.ErrorTelegramDeserializer
All Implemented Interfaces:
org.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>

@OSIPComponent class ErrorTelegramDeserializer extends Object implements org.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>
A ErrorTelegramDeserializer deserializes OSIP ERR telegram String into ErrorMessages.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • TELEGRAM_LOGGER

      private static final org.slf4j.Logger TELEGRAM_LOGGER
    • driver

      private final org.openwms.common.comm.config.Osip driver
    • lengthProvider

      private final org.openwms.common.comm.spi.FieldLengthProvider lengthProvider
  • Constructor Details

    • ErrorTelegramDeserializer

      ErrorTelegramDeserializer(org.openwms.common.comm.config.Osip driver, org.openwms.common.comm.spi.FieldLengthProvider lengthProvider)
  • Method Details

    • deserialize

      public org.springframework.messaging.Message<ErrorMessage> deserialize(String telegram, Map<String,Object> headers)
      Specified by:
      deserialize in interface org.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>
    • forType

      public String forType()
      Specified by:
      forType in interface org.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>