Package Arp.Plc.Gds.Services.Grpc
Class IForceServiceGrpc.IForceServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<IForceServiceGrpc.IForceServiceStub>
io.grpc.stub.AbstractAsyncStub<IForceServiceGrpc.IForceServiceStub>
Arp.Plc.Gds.Services.Grpc.IForceServiceGrpc.IForceServiceStub
- Enclosing class:
IForceServiceGrpc
public static final class IForceServiceGrpc.IForceServiceStub
extends io.grpc.stub.AbstractAsyncStub<IForceServiceGrpc.IForceServiceStub>
-
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
ConstructorsModifierConstructorDescriptionprivateIForceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(IForceServiceOuterClass.IForceServiceAddVariableRequest request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceAddVariableResponse> responseObserver) / <summary> / Adds a new variable and value for forcing.protected IForceServiceGrpc.IForceServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetVariables(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceGetVariablesResponse> responseObserver) / <summary> / Gets a list of all forced variables.voidisActive(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceIsActiveResponse> responseObserver) / <summary> / Tests whether force mode is active.voidisForcable(IForceServiceOuterClass.IForceServiceIsForcableRequest request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceIsForcableResponse> responseObserver) / <summary> / Tests whether variable is forcable.voidremoveVariable(IForceServiceOuterClass.IForceServiceRemoveVariableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Resets forced variable.voidreset(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Resets the force list.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
-
IForceServiceStub
private IForceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected IForceServiceGrpc.IForceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IForceServiceGrpc.IForceServiceStub>
-
addVariable
public void addVariable(IForceServiceOuterClass.IForceServiceAddVariableRequest request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceAddVariableResponse> responseObserver) / <summary> / Adds a new variable and value for forcing. Enables force mode. / </summary> / <remarks> / The enabled force mode is signalized by notification and by the / activated 'PlcState.Forcing' / </remarks> / <param name="item"> / Force item <see cref="Arp.System.Commons.Services.Io.ForceItem" />, which contains the the name / of the variable with the full instance path and the force value. / The data type of the force value must be equal with the data type / of the target variable. / </param> / <returns> / Returns <see cref="Arp.System.Commons.Services.Io.DataAccessError.None" /> on success. / </returns>
-
removeVariable
public void removeVariable(IForceServiceOuterClass.IForceServiceRemoveVariableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Resets forced variable. Disables force mode after force list is empty. / </summary> / <param name="variableName"> / Instance path of the variable. / </param>
-
getVariables
public void getVariables(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceGetVariablesResponse> responseObserver) / <summary> / Gets a list of all forced variables. / </summary> / <returns> / Returns a list with all existing <see cref="Arp.System.Commons.Services.Io.ForceItem" /> objects. / </returns>
-
reset
public void reset(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Resets the force list. Disables force mode. / </summary> / <remarks> / The disabled force mode is signalized by notification and by the / deactivated PlcState. / </remarks>
-
isForcable
public void isForcable(IForceServiceOuterClass.IForceServiceIsForcableRequest request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceIsForcableResponse> responseObserver) / <summary> / Tests whether variable is forcable. / </summary> / <remarks> / The variable has to meet the following requirements to be forcable: / 1. The kind of variable should be an In- or an Out-port of a program / (IEC, C ++, Simulink ...) or a variable that is connected to I/O data. / 2. The data type of the variable has to be supported. / </remarks> / <returns> / <b>true</b>if the variable is forcable.</returns>
-
isActive
public void isActive(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<IForceServiceOuterClass.IForceServiceIsActiveResponse> responseObserver) / <summary> / Tests whether force mode is active. / </summary> / <returns> / <b>true</b>if the force mode is active.</returns>
-