Class UpdateTelegramDeserializer

java.lang.Object
org.openwms.common.comm.osip.upd.tcp.UpdateTelegramDeserializer
All Implemented Interfaces:
org.openwms.common.comm.tcp.TelegramDeserializer<UpdateMessage>

@OSIPComponent class UpdateTelegramDeserializer extends Object implements org.openwms.common.comm.tcp.TelegramDeserializer<UpdateMessage>
A UpdateTelegramDeserializer deserializes OSIP UPD telegram String into UpdateMessages.
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
    • provider

      private final UpdateFieldLengthProvider provider
    • driver

      private final org.openwms.common.comm.config.Osip driver
  • Constructor Details

    • UpdateTelegramDeserializer

      UpdateTelegramDeserializer(UpdateFieldLengthProvider provider, org.openwms.common.comm.config.Osip driver)
  • Method Details

    • deserialize

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

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