Package com.viam.component.gripper.v1
Class GripperServiceGrpc.GripperServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GripperServiceGrpc.GripperServiceFutureStub>
com.viam.component.gripper.v1.GripperServiceGrpc.GripperServiceFutureStub
- Enclosing class:
- GripperServiceGrpc
public static final class GripperServiceGrpc.GripperServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<GripperServiceGrpc.GripperServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse>
getGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationcom.google.common.util.concurrent.ListenableFuture<Gripper.GrabResponse>
grab
(Gripper.GrabRequest request) Grab requests a gripper of the underlying robot to grab.com.google.common.util.concurrent.ListenableFuture<Gripper.IsMovingResponse>
isMoving
(Gripper.IsMovingRequest request) IsMoving reports if a component is in motioncom.google.common.util.concurrent.ListenableFuture<Gripper.OpenResponse>
open
(Gripper.OpenRequest request) Open opens a gripper of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Gripper.StopResponse>
stop
(Gripper.StopRequest request) Stop stops a robot's gripperMethods inherited from class io.grpc.stub.AbstractFutureStub
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.GripperServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<GripperServiceGrpc.GripperServiceFutureStub>
-
open
public com.google.common.util.concurrent.ListenableFuture<Gripper.OpenResponse> open(Gripper.OpenRequest request) Open opens a gripper of the underlying robot.
-
grab
public com.google.common.util.concurrent.ListenableFuture<Gripper.GrabResponse> grab(Gripper.GrabRequest request) Grab requests a gripper of the underlying robot to grab.
-
stop
public com.google.common.util.concurrent.ListenableFuture<Gripper.StopResponse> stop(Gripper.StopRequest request) Stop stops a robot's gripper
-
isMoving
public com.google.common.util.concurrent.ListenableFuture<Gripper.IsMovingResponse> isMoving(Gripper.IsMovingRequest request) IsMoving reports if a component is in motion
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
getGeometries
public com.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse> getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configuration
-