Package com.viam.component.gantry.v1
Class GantryServiceGrpc.GantryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GantryServiceGrpc.GantryServiceFutureStub>
com.viam.component.gantry.v1.GantryServiceGrpc.GantryServiceFutureStub
- Enclosing class:
- GantryServiceGrpc
public static final class GantryServiceGrpc.GantryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<GantryServiceGrpc.GantryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service GantryService.
An GantryService services all gantries 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<Gantry.GetLengthsResponse>
getLengths
(Gantry.GetLengthsRequest request) GetLengths gets the lengths of a gantry of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Gantry.GetPositionResponse>
getPosition
(Gantry.GetPositionRequest request) GetPosition gets the current position of a gantry of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Gantry.HomeResponse>
home
(Gantry.HomeRequest request) Home runs the homing sequence of a gantry and returns true once it's completed.com.google.common.util.concurrent.ListenableFuture<Gantry.IsMovingResponse>
isMoving
(Gantry.IsMovingRequest request) IsMoving reports if a component is in motioncom.google.common.util.concurrent.ListenableFuture<Gantry.MoveToPositionResponse>
MoveToPosition moves a gantry of the underlying robot to the requested position.com.google.common.util.concurrent.ListenableFuture<Gantry.StopResponse>
stop
(Gantry.StopRequest request) Stop stops a robot's gantryMethods 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 GantryServiceGrpc.GantryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<GantryServiceGrpc.GantryServiceFutureStub>
-
getPosition
public com.google.common.util.concurrent.ListenableFuture<Gantry.GetPositionResponse> getPosition(Gantry.GetPositionRequest request) GetPosition gets the current position of a gantry of the underlying robot.
-
moveToPosition
public com.google.common.util.concurrent.ListenableFuture<Gantry.MoveToPositionResponse> moveToPosition(Gantry.MoveToPositionRequest request) MoveToPosition moves a gantry of the underlying robot to the requested position.
-
home
public com.google.common.util.concurrent.ListenableFuture<Gantry.HomeResponse> home(Gantry.HomeRequest request) Home runs the homing sequence of a gantry and returns true once it's completed.
-
getLengths
public com.google.common.util.concurrent.ListenableFuture<Gantry.GetLengthsResponse> getLengths(Gantry.GetLengthsRequest request) GetLengths gets the lengths of a gantry of the underlying robot.
-
stop
public com.google.common.util.concurrent.ListenableFuture<Gantry.StopResponse> stop(Gantry.StopRequest request) Stop stops a robot's gantry
-
isMoving
public com.google.common.util.concurrent.ListenableFuture<Gantry.IsMovingResponse> isMoving(Gantry.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
-