Class PropertySetSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.PropertySetSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<PropertySet,
PropertySetProto.PropertySetPB>
public class PropertySetSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<PropertySet,PropertySetProto.PropertySetPB>
A wrapper around different types of PropertySets that can be Protobuf serialized
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromProtobufMessage
(com.google.protobuf.Message theMessage) toProtobufMessage
(PropertySet propertySet)
-
Constructor Details
-
PropertySetSerializer
public PropertySetSerializer()
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstance
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<PropertySet,
PropertySetProto.PropertySetPB>
-
toProtobufMessage
public PropertySetProto.PropertySetPB toProtobufMessage(PropertySet propertySet) throws ProtobufSerializationException - Specified by:
toProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<PropertySet,
PropertySetProto.PropertySetPB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public PropertySet fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<PropertySet,
PropertySetProto.PropertySetPB> - Throws:
ProtobufDeserializationException
-