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
ErrorMessage
s.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.openwms.common.comm.config.Osip
private final org.openwms.common.comm.spi.FieldLengthProvider
private static final org.slf4j.Logger
private static final org.slf4j.Logger
-
Constructor Summary
ConstructorsConstructorDescriptionErrorTelegramDeserializer
(org.openwms.common.comm.config.Osip driver, org.openwms.common.comm.spi.FieldLengthProvider lengthProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.Message
<ErrorMessage> deserialize
(String telegram, Map<String, Object> headers) forType()
-
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 interfaceorg.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>
-
forType
- Specified by:
forType
in interfaceorg.openwms.common.comm.tcp.TelegramDeserializer<ErrorMessage>
-