Class RedundancyMsgSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.RedundancyMsgSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<RedundancyMessage<?>,
RedundancyMessageProto.RedundancyMessagePB>
public class RedundancyMsgSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<RedundancyMessage<?>,RedundancyMessageProto.RedundancyMessagePB>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromProtobufMessage
(com.google.protobuf.Message theMessage) toProtobufMessage
(RedundancyMessage<?> msg)
-
Constructor Details
-
RedundancyMsgSerializer
public RedundancyMsgSerializer()
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstance
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<RedundancyMessage<?>,
RedundancyMessageProto.RedundancyMessagePB>
-
toProtobufMessage
public RedundancyMessageProto.RedundancyMessagePB toProtobufMessage(RedundancyMessage<?> msg) throws ProtobufSerializationException - Specified by:
toProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<RedundancyMessage<?>,
RedundancyMessageProto.RedundancyMessagePB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public RedundancyMessage<?> fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<RedundancyMessage<?>,
RedundancyMessageProto.RedundancyMessagePB> - Throws:
ProtobufDeserializationException
-