Class ResultSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.ResultSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<Result,
ResultProto.ResultPB>
public class ResultSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<Result,ResultProto.ResultPB>
-
Constructor Summary
ConstructorsConstructorDescriptionResultSerializer
(PathSerializer pathSerializer, QualifiedPathSerializer qualifiedPathSerializer) -
Method Summary
Modifier and TypeMethodDescriptionfromProtobufMessage
(com.google.protobuf.Message theMessage) toProtobufMessage
(Result result)
-
Constructor Details
-
ResultSerializer
public ResultSerializer(PathSerializer pathSerializer, QualifiedPathSerializer qualifiedPathSerializer)
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstance
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<Result,
ResultProto.ResultPB>
-
toProtobufMessage
- Specified by:
toProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<Result,
ResultProto.ResultPB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public Result fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<Result,
ResultProto.ResultPB> - Throws:
ProtobufDeserializationException
-