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