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