Package com.viam.component.gripper.v1
Class GripperServiceGrpc.GripperServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<GripperServiceGrpc.GripperServiceStub>
com.viam.component.gripper.v1.GripperServiceGrpc.GripperServiceStub
- Enclosing class:
- GripperServiceGrpc
public static final class GripperServiceGrpc.GripperServiceStub
extends io.grpc.stub.AbstractAsyncStub<GripperServiceGrpc.GripperServiceStub>
A stub to allow clients to do asynchronous rpc calls to service GripperService.
An GripperService services all grippers associated with a robot
-
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 TypeMethodDescriptionprotected GripperServiceGrpc.GripperServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
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
grab
(Gripper.GrabRequest request, io.grpc.stub.StreamObserver<Gripper.GrabResponse> responseObserver) Grab requests a gripper of the underlying robot to grab.void
isMoving
(Gripper.IsMovingRequest request, io.grpc.stub.StreamObserver<Gripper.IsMovingResponse> responseObserver) IsMoving reports if a component is in motionvoid
open
(Gripper.OpenRequest request, io.grpc.stub.StreamObserver<Gripper.OpenResponse> responseObserver) Open opens a gripper of the underlying robot.void
stop
(Gripper.StopRequest request, io.grpc.stub.StreamObserver<Gripper.StopResponse> responseObserver) Stop stops a robot's gripperMethods inherited from class io.grpc.stub.AbstractAsyncStub
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 GripperServiceGrpc.GripperServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceStub>
-
open
public void open(Gripper.OpenRequest request, io.grpc.stub.StreamObserver<Gripper.OpenResponse> responseObserver) Open opens a gripper of the underlying robot.
-
grab
public void grab(Gripper.GrabRequest request, io.grpc.stub.StreamObserver<Gripper.GrabResponse> responseObserver) Grab requests a gripper of the underlying robot to grab.
-
stop
public void stop(Gripper.StopRequest request, io.grpc.stub.StreamObserver<Gripper.StopResponse> responseObserver) Stop stops a robot's gripper
-
isMoving
public void isMoving(Gripper.IsMovingRequest request, io.grpc.stub.StreamObserver<Gripper.IsMovingResponse> responseObserver) IsMoving reports if a component is in motion
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-