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:
getProtoMsgInstancein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<StatMetric,StatMetricProto.StatMetricPB>
-
toProtobufMessage
public StatMetricProto.StatMetricPB toProtobufMessage(StatMetric statMetric) throws ProtobufSerializationException - Specified by:
toProtobufMessagein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<StatMetric,StatMetricProto.StatMetricPB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public StatMetric fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessagein interfacecom.inductiveautomation.metro.api.ProtobufSerializable<StatMetric,StatMetricProto.StatMetricPB> - Throws:
ProtobufDeserializationException
-