Class IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub>
Arp.Device.Interface.Services.Grpc.IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub
- Enclosing class:
IDeviceControlServiceGrpc
public static final class IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub>
-
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
ConstructorsModifierConstructorDescriptionprivateIDeviceControlServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) resetToFactoryDefaults(IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsRequest request) / <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.com.google.protobuf.EmptyrestartDevice(com.google.protobuf.Empty request) / <summary> / Reboot the device / </summary>startFirmwareUpdate(IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateRequest request) / <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.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Constructor Details
-
IDeviceControlServiceBlockingStub
private IDeviceControlServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IDeviceControlServiceGrpc.IDeviceControlServiceBlockingStub>
-
restartDevice
public com.google.protobuf.Empty restartDevice(com.google.protobuf.Empty request) / <summary> / Reboot the device / </summary>
-
resetToFactoryDefaults
public IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsResponse resetToFactoryDefaults(IDeviceControlServiceOuterClass.IDeviceControlServiceResetToFactoryDefaultsRequest request) / <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 IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateResponse startFirmwareUpdate(IDeviceControlServiceOuterClass.IDeviceControlServiceStartFirmwareUpdateRequest request) / <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>
-