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