Package com.viam.sdk.core.module
Class ModuleRPCService
java.lang.Object
viam.module.v1.ModuleServiceGrpc.ModuleServiceImplBase
com.viam.sdk.core.module.ModuleRPCService
- All Implemented Interfaces:
io.grpc.BindableService
,ModuleServiceGrpc.AsyncService
-
Constructor Summary
-
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 handlevoid
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 viam.module.v1.ModuleServiceGrpc.ModuleServiceImplBase
bindService
-
Constructor Details
-
ModuleRPCService
-
-
Method Details
-
addResource
public void addResource(Module.AddResourceRequest request, io.grpc.stub.StreamObserver<Module.AddResourceResponse> responseObserver) Description copied from interface:ModuleServiceGrpc.AsyncService
AddResource tells a module about a new resource to handle
-
reconfigureResource
public void reconfigureResource(Module.ReconfigureResourceRequest request, io.grpc.stub.StreamObserver<Module.ReconfigureResourceResponse> responseObserver) Description copied from interface:ModuleServiceGrpc.AsyncService
ReconfigureResource tells a module to reconfigure an existing resource
-
removeResource
public void removeResource(Module.RemoveResourceRequest request, io.grpc.stub.StreamObserver<Module.RemoveResourceResponse> responseObserver) Description copied from interface:ModuleServiceGrpc.AsyncService
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) Description copied from interface:ModuleServiceGrpc.AsyncService
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) Description copied from interface:ModuleServiceGrpc.AsyncService
ValidateConfig determines whether the given config is valid and registers/returns implicit dependencies.
-