Class IDeviceControlServiceGrpc.IDeviceControlServiceImplBase

java.lang.Object
Arp.Device.Interface.Services.Grpc.IDeviceControlServiceGrpc.IDeviceControlServiceImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
IDeviceControlServiceGrpc

public abstract static class IDeviceControlServiceGrpc.IDeviceControlServiceImplBase extends Object implements io.grpc.BindableService
  • Constructor Details

    • IDeviceControlServiceImplBase

      public IDeviceControlServiceImplBase()
  • Method Details

    • restartDevice

      public void restartDevice(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
      / <summary>
       / Reboot the device
       / </summary>
       
    • resetToFactoryDefaults

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

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

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService