Class ErrorMessageSerializer
java.lang.Object
org.openwms.common.comm.osip.OSIPSerializer<ErrorMessage>
org.openwms.common.comm.osip.err.tcp.ErrorMessageSerializer
A ErrorMessageSerializer.
- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionErrorMessageSerializer
(org.openwms.common.comm.config.Osip driver, org.openwms.common.comm.TimeProvider timeProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
convert
(ErrorMessage message) Subclasses have to return an unique, case-sensitive message identifier.Methods inherited from class org.openwms.common.comm.osip.OSIPSerializer
getDriver, serialize
-
Field Details
-
timeProvider
private final org.openwms.common.comm.TimeProvider timeProvider
-
-
Constructor Details
-
ErrorMessageSerializer
public ErrorMessageSerializer(org.openwms.common.comm.config.Osip driver, org.openwms.common.comm.TimeProvider timeProvider)
-
-
Method Details
-
getMessageIdentifier
Subclasses have to return an unique, case-sensitive message identifier.- Specified by:
getMessageIdentifier
in classOSIPSerializer<ErrorMessage>
- Returns:
- The message TYPE field (see OSIP specification)
-
convert
- Specified by:
convert
in classOSIPSerializer<ErrorMessage>
-