Package Arp.Plc.Gds.Services.Grpc
Class IDataAccessServiceGrpc.IDataAccessServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<IDataAccessServiceGrpc.IDataAccessServiceStub>
io.grpc.stub.AbstractAsyncStub<IDataAccessServiceGrpc.IDataAccessServiceStub>
Arp.Plc.Gds.Services.Grpc.IDataAccessServiceGrpc.IDataAccessServiceStub
- Enclosing class:
IDataAccessServiceGrpc
public static final class IDataAccessServiceGrpc.IDataAccessServiceStub
extends io.grpc.stub.AbstractAsyncStub<IDataAccessServiceGrpc.IDataAccessServiceStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIDataAccessServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidread(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" />.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
IDataAccessServiceStub
private IDataAccessServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected IDataAccessServiceGrpc.IDataAccessServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IDataAccessServiceGrpc.IDataAccessServiceStub>
-
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>
-