Package Arp.Plc.Gds.Services.Grpc
Class IDataAccessServiceGrpc.IDataAccessServiceImplBase
java.lang.Object
Arp.Plc.Gds.Services.Grpc.IDataAccessServiceGrpc.IDataAccessServiceImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
IDataAccessServiceGrpc
public abstract static class IDataAccessServiceGrpc.IDataAccessServiceImplBase
extends Object
implements io.grpc.BindableService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionvoidread(IDataAccessServiceOuterClass.IDataAccessServiceReadRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceReadResponse> responseObserver) / <summary> / Reads the value of the variable directly from the / given variable name.voidreadSingle(IDataAccessServiceOuterClass.IDataAccessServiceReadSingleRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceReadSingleResponse> responseObserver) / <summary> / Reads the value of the variable directly from the / given variable name.voidwrite(IDataAccessServiceOuterClass.IDataAccessServiceWriteRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceWriteResponse> responseObserver) / <summary> / Writes the given value to the given variable name / containing in the given <see cref="Arp.Device.Interface.Services.WriteItem" />.voidwriteSingle(IDataAccessServiceOuterClass.IDataAccessServiceWriteSingleRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceWriteSingleResponse> responseObserver) / <summary> / Writes the given value to the given variable name / containing in the given <see cref="Arp.Device.Interface.Services.WriteItem" />.
-
Constructor Details
-
IDataAccessServiceImplBase
public IDataAccessServiceImplBase()
-
-
Method Details
-
readSingle
public void readSingle(IDataAccessServiceOuterClass.IDataAccessServiceReadSingleRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceReadSingleResponse> responseObserver) / <summary> / Reads the value of the variable directly from the / given variable name. / </summary> / <remarks> / Copies the value of the variable, given by the variable name, / to the <see cref="Arp.Device.Interface.Services.ReadItem" /> object, which will be returned. / ReadSingle can only read one single variable, so if you want / to read multiple variables simultaneously, an array or a / range of an array, you have to use the / <see cref="Arp.Device.Interface.Services.IDataAccessService.Read" /> service instead. / Be aware, this copy process isn't task consistent and the / data could be corrupted. / </remarks> / <param name="portName"> / Full variable name uri. / </param> / <returns> / Returns <see cref="Arp.Device.Interface.Services.ReadItem" />. / </returns>
-
read
public void read(IDataAccessServiceOuterClass.IDataAccessServiceReadRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceReadResponse> responseObserver) / <summary> / Reads the value of the variable directly from the / given variable name. / </summary> / <remarks> / Copies the value of the variable, given by the variable name, / to the <see cref="Arp.Device.Interface.Services.ReadItem" /> object, which will be returned. / ReadSingle can only read one single variable, so if you want / to read multiple variables simultaneously, an array or a / range of an array, you have to use the / <see cref="Arp.Device.Interface.Services.IDataAccessService.Read" /> service instead. / Be aware, this copy process isn't task consistent and the / data could be corrupted. / </remarks> / <param name="portName"> / Full variable name uri. / </param> / <returns> / Returns <see cref="Arp.Device.Interface.Services.ReadItem" />. / </returns>
-
writeSingle
public void writeSingle(IDataAccessServiceOuterClass.IDataAccessServiceWriteSingleRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceWriteSingleResponse> responseObserver) / <summary> / Writes the given value to the given variable name / containing in the given <see cref="Arp.Device.Interface.Services.WriteItem" />. / </summary> / <remarks> / Writes the given value to the given variable containing / in the given <see cref="Arp.Device.Interface.Services.WriteItem" /> object. WriteSingle / can only write one single value, so if you want to write to / multiple variables simultaneously, to an array or to a range / of an array, you have to use the <see cref="Arp.Device.Interface.Services.IDataAccessService.Write" /> / service instead. Be aware, this write process isn't task / consistent and the data could be corrupted. / </remarks> / <param name="data"> / Variable data which contains the variable name and the / value to be written. / </param> / <returns> / Returns <see cref="Arp.Device.Interface.Services.DataAccessError.None" /> on success. / </returns>
-
write
public void write(IDataAccessServiceOuterClass.IDataAccessServiceWriteRequest request, io.grpc.stub.StreamObserver<IDataAccessServiceOuterClass.IDataAccessServiceWriteResponse> responseObserver) / <summary> / Writes the given value to the given variable name / containing in the given <see cref="Arp.Device.Interface.Services.WriteItem" />. / </summary> / <remarks> / Writes the given value to the given variable containing / in the given <see cref="Arp.Device.Interface.Services.WriteItem" /> object. WriteSingle / can only write one single value, so if you want to write to / multiple variables simultaneously, to an array or to a range / of an array, you have to use the <see cref="Arp.Device.Interface.Services.IDataAccessService.Write" /> / service instead. Be aware, this write process isn't task / consistent and the data could be corrupted. / </remarks> / <param name="data"> / Variable data which contains the variable name and the / value to be written. / </param> / <returns> / Returns <see cref="Arp.Device.Interface.Services.DataAccessError.None" /> on success. / </returns>
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-