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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoidgetGeometries(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
bindServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.grpc.BindableService
bindServiceMethods 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.AsyncServiceDoCommand sends/receives arbitrary commands
- Specified by:
doCommandin interfaceGenericServiceGrpc.AsyncService
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) Description copied from interface:GenericServiceGrpc.AsyncServiceGetGeometries returns the geometries of the component in their current configuration
- Specified by:
getGeometriesin interfaceGenericServiceGrpc.AsyncService
-
getResourceClass
- Specified by:
getResourceClassin interfaceResourceRPCService<Generic>
-
getManager
- Specified by:
getManagerin interfaceResourceRPCService<Generic>
-