Package org.openwms.common.comm.osip.res
Class ResponseMessageSerializer
java.lang.Object
org.openwms.common.comm.osip.OSIPSerializer<ResponseMessage>
org.openwms.common.comm.osip.res.ResponseMessageSerializer
A ResponseMessageSerializer.
- Author:
- Heiko Scherrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
convert
(ResponseMessage message) Subclasses have to return an unique, case-sensitive message identifier.serialize
(ResponseMessage obj) Serialize the given objectobj
into a String.Methods inherited from class org.openwms.common.comm.osip.OSIPSerializer
getDriver
-
Constructor Details
-
ResponseMessageSerializer
public ResponseMessageSerializer(org.openwms.common.comm.config.Osip driver)
-
-
Method Details
-
getMessageIdentifier
Subclasses have to return an unique, case-sensitive message identifier.- Specified by:
getMessageIdentifier
in classOSIPSerializer<ResponseMessage>
- Returns:
- The message TYPE field (see OSIP specification)
-
serialize
Serialize the given objectobj
into a String.- Overrides:
serialize
in classOSIPSerializer<ResponseMessage>
- Parameters:
obj
- The message object to serialize- Returns:
- The telegram String
-
convert
- Specified by:
convert
in classOSIPSerializer<ResponseMessage>
-