Class QualityCodeSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.QualityCodeSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<QualityCode,QualityCodeProto.QualityCodePB>
public class QualityCodeSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<QualityCode,QualityCodeProto.QualityCodePB>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromProtobufMessage(com.google.protobuf.Message theMessage) toProtobufMessage(QualityCode qualityCode)
-
Constructor Details
-
QualityCodeSerializer
public QualityCodeSerializer()
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstancein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<QualityCode,QualityCodeProto.QualityCodePB>
-
toProtobufMessage
public QualityCodeProto.QualityCodePB toProtobufMessage(QualityCode qualityCode) throws ProtobufSerializationException - Specified by:
toProtobufMessagein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<QualityCode,QualityCodeProto.QualityCodePB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public QualityCode fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessagein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<QualityCode,QualityCodeProto.QualityCodePB> - Throws:
ProtobufDeserializationException
-