Class GenericRPCService
java.lang.Object
com.viam.component.generic.v1.GenericServiceGrpc.GenericServiceImplBase
com.viam.sdk.core.component.generic.GenericRPCService
- All Implemented Interfaces:
GenericServiceGrpc.AsyncService
,ResourceRPCService<Generic>
,io.grpc.BindableService
public class GenericRPCService
extends GenericServiceGrpc.GenericServiceImplBase
implements ResourceRPCService<Generic>
gRPC Service for a Generic component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoid
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationMethods inherited from class com.viam.component.generic.v1.GenericServiceGrpc.GenericServiceImplBase
bindService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.grpc.BindableService
bindService
Methods inherited from interface com.viam.sdk.core.resource.ResourceRPCService
getResource
-
Constructor Details
-
GenericRPCService
-
-
Method Details
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) Description copied from interface:GenericServiceGrpc.AsyncService
DoCommand sends/receives arbitrary commands
- Specified by:
doCommand
in interfaceGenericServiceGrpc.AsyncService
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) Description copied from interface:GenericServiceGrpc.AsyncService
GetGeometries returns the geometries of the component in their current configuration
- Specified by:
getGeometries
in interfaceGenericServiceGrpc.AsyncService
-
getResourceClass
- Specified by:
getResourceClass
in interfaceResourceRPCService<Generic>
-
getManager
- Specified by:
getManager
in interfaceResourceRPCService<Generic>
-