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>
  • 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:
      build in class io.grpc.stub.AbstractStub<IDataAccessServiceGrpc.IDataAccessServiceStub>
    • readSingle

      / <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

      / <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

      / <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>