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