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