Class IDeviceControlServiceGrpc.IDeviceControlServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<IDeviceControlServiceGrpc.IDeviceControlServiceStub>
io.grpc.stub.AbstractAsyncStub<IDeviceControlServiceGrpc.IDeviceControlServiceStub>
Arp.Device.Interface.Services.Grpc.IDeviceControlServiceGrpc.IDeviceControlServiceStub
- Enclosing class:
IDeviceControlServiceGrpc
public static final class IDeviceControlServiceGrpc.IDeviceControlServiceStub
extends io.grpc.stub.AbstractAsyncStub<IDeviceControlServiceGrpc.IDeviceControlServiceStub>
-
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
ConstructorsModifierConstructorDescriptionprivateIDeviceControlServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidresetToFactoryDefaults(IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsRequest request, io.grpc.stub.StreamObserver<IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsResponse> responseObserver) / <summary> / Reset device configuration / </summary> / <param name="resetType"> / <c>1</c> Reset device configuration to factory default, <c>2</c> Downgrade FW to factory version and reset configuration</param> / <returns>Result of start execute <see cref="Arp.Device.Interface.Services.AccessErrorCode" /></returns> / <remarks> / After successfull start the PLC will stop and than reboot.voidrestartDevice(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Reboot the device / </summary>voidstartFirmwareUpdate(IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateRequest request, io.grpc.stub.StreamObserver<IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateResponse> responseObserver) / <summary> / Start FW update / </summary> / <param name="updateType">Reserved for extentions, must be <c>0</c> in this version.</param> / <returns>Result of start execute <see cref="Arp.Device.Interface.Services.AccessErrorCode" /></returns> / <remarks> / Before you can start an update a raucb-container must be copied to path "/opt/plcnext".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
-
IDeviceControlServiceStub
private IDeviceControlServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected IDeviceControlServiceGrpc.IDeviceControlServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IDeviceControlServiceGrpc.IDeviceControlServiceStub>
-
restartDevice
public void restartDevice(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) / <summary> / Reboot the device / </summary>
-
resetToFactoryDefaults
public void resetToFactoryDefaults(IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsRequest request, io.grpc.stub.StreamObserver<IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsResponse> responseObserver) / <summary> / Reset device configuration / </summary> / <param name="resetType"> / <c>1</c> Reset device configuration to factory default, <c>2</c> Downgrade FW to factory version and reset configuration</param> / <returns>Result of start execute <see cref="Arp.Device.Interface.Services.AccessErrorCode" /></returns> / <remarks> / After successfull start the PLC will stop and than reboot. While the reboot the requested defaults will be set. / </remarks>
-
startFirmwareUpdate
public void startFirmwareUpdate(IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateRequest request, io.grpc.stub.StreamObserver<IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateResponse> responseObserver) / <summary> / Start FW update / </summary> / <param name="updateType">Reserved for extentions, must be <c>0</c> in this version.</param> / <returns>Result of start execute <see cref="Arp.Device.Interface.Services.AccessErrorCode" /></returns> / <remarks> / Before you can start an update a raucb-container must be copied to path "/opt/plcnext". / After successfull start an update the PLC will stop, execute the update and than reboot. / </remarks>
-