Class ResourcePathSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.gan.protoserializers.resource.ResourcePathSerializer
- All Implemented Interfaces:
com.inductiveautomation.metro.api.ProtobufSerializable<ResourcePath,
ResourcePathProto.ResourcePathPB>
public class ResourcePathSerializer
extends Object
implements com.inductiveautomation.metro.api.ProtobufSerializable<ResourcePath,ResourcePathProto.ResourcePathPB>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResourcePathSerializer
public ResourcePathSerializer()
-
-
Method Details
-
getProtoMsgInstance
- Specified by:
getProtoMsgInstance
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<ResourcePath,
ResourcePathProto.ResourcePathPB>
-
toProtobufMessage
public ResourcePathProto.ResourcePathPB toProtobufMessage(ResourcePath path) throws ProtobufSerializationException - Specified by:
toProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<ResourcePath,
ResourcePathProto.ResourcePathPB> - Throws:
ProtobufSerializationException
-
fromProtobufMessage
public ResourcePath fromProtobufMessage(com.google.protobuf.Message theMessage) throws ProtobufDeserializationException - Specified by:
fromProtobufMessage
in interfacecom.inductiveautomation.metro.api.ProtobufSerializable<ResourcePath,
ResourcePathProto.ResourcePathPB> - Throws:
ProtobufDeserializationException
-