Package viam.module.v1
Class ModuleServiceGrpc.ModuleServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ModuleServiceGrpc.ModuleServiceStub>
viam.module.v1.ModuleServiceGrpc.ModuleServiceStub
- Enclosing class:
- ModuleServiceGrpc
public static final class ModuleServiceGrpc.ModuleServiceStub
extends io.grpc.stub.AbstractAsyncStub<ModuleServiceGrpc.ModuleServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ModuleService.
ModuleService deals with modular resource registration
-
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>>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(Module.AddResourceRequest request, io.grpc.stub.StreamObserver<Module.AddResourceResponse> responseObserver) AddResource tells a module about a new resource to handleprotected ModuleServiceGrpc.ModuleServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
ready
(Module.ReadyRequest request, io.grpc.stub.StreamObserver<Module.ReadyResponse> responseObserver) Ready determines if the server is started and ready to recieve resource configurations.void
reconfigureResource
(Module.ReconfigureResourceRequest request, io.grpc.stub.StreamObserver<Module.ReconfigureResourceResponse> responseObserver) ReconfigureResource tells a module to reconfigure an existing resourcevoid
removeResource
(Module.RemoveResourceRequest request, io.grpc.stub.StreamObserver<Module.RemoveResourceResponse> responseObserver) RemoveResource tells a module to close/stop a component/service and remove itvoid
validateConfig
(Module.ValidateConfigRequest request, io.grpc.stub.StreamObserver<Module.ValidateConfigResponse> responseObserver) ValidateConfig determines whether the given config is valid and registers/returns implicit dependencies.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ModuleServiceGrpc.ModuleServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ModuleServiceGrpc.ModuleServiceStub>
-
addResource
public void addResource(Module.AddResourceRequest request, io.grpc.stub.StreamObserver<Module.AddResourceResponse> responseObserver) AddResource tells a module about a new resource to handle
-
reconfigureResource
public void reconfigureResource(Module.ReconfigureResourceRequest request, io.grpc.stub.StreamObserver<Module.ReconfigureResourceResponse> responseObserver) ReconfigureResource tells a module to reconfigure an existing resource
-
removeResource
public void removeResource(Module.RemoveResourceRequest request, io.grpc.stub.StreamObserver<Module.RemoveResourceResponse> responseObserver) RemoveResource tells a module to close/stop a component/service and remove it
-
ready
public void ready(Module.ReadyRequest request, io.grpc.stub.StreamObserver<Module.ReadyResponse> responseObserver) Ready determines if the server is started and ready to recieve resource configurations.
-
validateConfig
public void validateConfig(Module.ValidateConfigRequest request, io.grpc.stub.StreamObserver<Module.ValidateConfigResponse> responseObserver) ValidateConfig determines whether the given config is valid and registers/returns implicit dependencies.
-