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