Class CameraRPCService
java.lang.Object
com.viam.component.camera.v1.CameraServiceGrpc.CameraServiceImplBase
com.viam.sdk.core.component.camera.CameraRPCService
- All Implemented Interfaces:
CameraServiceGrpc.AsyncService
,ResourceRPCService<Camera>
,io.grpc.BindableService
public class CameraRPCService
extends CameraServiceGrpc.CameraServiceImplBase
implements ResourceRPCService<Camera>
gRPC Service for a Camera 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 configurationvoid
getImage
(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) GetImage returns a frame from a camera of the underlying robot.void
getImages
(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) Methods inherited from class com.viam.component.camera.v1.CameraServiceGrpc.CameraServiceImplBase
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.component.camera.v1.CameraServiceGrpc.AsyncService
getPointCloud, getProperties, renderFrame
Methods inherited from interface com.viam.sdk.core.resource.ResourceRPCService
getResource
-
Constructor Details
-
CameraRPCService
-
-
Method Details
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) Description copied from interface:CameraServiceGrpc.AsyncService
DoCommand sends/receives arbitrary commands
- Specified by:
doCommand
in interfaceCameraServiceGrpc.AsyncService
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) Description copied from interface:CameraServiceGrpc.AsyncService
GetGeometries returns the geometries of the component in their current configuration
- Specified by:
getGeometries
in interfaceCameraServiceGrpc.AsyncService
-
getImage
public void getImage(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) Description copied from interface:CameraServiceGrpc.AsyncService
GetImage returns a frame from a camera of the underlying robot. A specific MIME type can be requested but may not necessarily be the same one returned.
- Specified by:
getImage
in interfaceCameraServiceGrpc.AsyncService
-
getImages
public void getImages(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) - Specified by:
getImages
in interfaceCameraServiceGrpc.AsyncService
-
getResourceClass
- Specified by:
getResourceClass
in interfaceResourceRPCService<Camera>
-
getManager
- Specified by:
getManager
in interfaceResourceRPCService<Camera>
-