Class RequestTelegramDeserializer

java.lang.Object
org.openwms.common.comm.osip.req.tcp.RequestTelegramDeserializer
All Implemented Interfaces:
org.openwms.common.comm.tcp.TelegramDeserializer<RequestMessage>

@OSIPComponent class RequestTelegramDeserializer extends Object implements org.openwms.common.comm.tcp.TelegramDeserializer<RequestMessage>
A RequestTelegramDeserializer deserializes OSIP RES telegram String into RequestMessages.
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 org.openwms.common.comm.spi.FieldLengthProvider provider
    • driver

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

    • RequestTelegramDeserializer

      RequestTelegramDeserializer(@Autowired(required=false) org.openwms.common.comm.spi.FieldLengthProvider provider, org.openwms.common.comm.config.Osip driver)
  • Method Details

    • deserialize

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

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