Package viam.module.v1
Class ModuleServiceGrpc.ModuleServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ModuleServiceGrpc.ModuleServiceFutureStub>
viam.module.v1.ModuleServiceGrpc.ModuleServiceFutureStub
- Enclosing class:
- ModuleServiceGrpc
public static final class ModuleServiceGrpc.ModuleServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ModuleServiceGrpc.ModuleServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Module.AddResourceResponse>
addResource
(Module.AddResourceRequest request) AddResource tells a module about a new resource to handlebuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Module.ReadyResponse>
ready
(Module.ReadyRequest request) Ready determines if the server is started and ready to recieve resource configurations.com.google.common.util.concurrent.ListenableFuture<Module.ReconfigureResourceResponse>
ReconfigureResource tells a module to reconfigure an existing resourcecom.google.common.util.concurrent.ListenableFuture<Module.RemoveResourceResponse>
RemoveResource tells a module to close/stop a component/service and remove itcom.google.common.util.concurrent.ListenableFuture<Module.ValidateConfigResponse>
ValidateConfig determines whether the given config is valid and registers/returns implicit dependencies.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.ModuleServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ModuleServiceGrpc.ModuleServiceFutureStub>
-
addResource
public com.google.common.util.concurrent.ListenableFuture<Module.AddResourceResponse> addResource(Module.AddResourceRequest request) AddResource tells a module about a new resource to handle
-
reconfigureResource
public com.google.common.util.concurrent.ListenableFuture<Module.ReconfigureResourceResponse> reconfigureResource(Module.ReconfigureResourceRequest request) ReconfigureResource tells a module to reconfigure an existing resource
-
removeResource
public com.google.common.util.concurrent.ListenableFuture<Module.RemoveResourceResponse> removeResource(Module.RemoveResourceRequest request) RemoveResource tells a module to close/stop a component/service and remove it
-
ready
public com.google.common.util.concurrent.ListenableFuture<Module.ReadyResponse> ready(Module.ReadyRequest request) Ready determines if the server is started and ready to recieve resource configurations.
-
validateConfig
public com.google.common.util.concurrent.ListenableFuture<Module.ValidateConfigResponse> validateConfig(Module.ValidateConfigRequest request) ValidateConfig determines whether the given config is valid and registers/returns implicit dependencies.
-