Package com.viam.component.servo.v1
Class ServoServiceGrpc
java.lang.Object
com.viam.component.servo.v1.ServoServiceGrpc
A ServoService maintains all servos associated with a robot
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A ServoService maintains all servos associated with a robotstatic final class
A stub to allow clients to do synchronous rpc calls to service ServoService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service ServoService.static class
Base class for the server implementation of the service ServoService.static final class
A stub to allow clients to do asynchronous rpc calls to service ServoService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
bindService
(ServoServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<Common.DoCommandRequest,
Common.DoCommandResponse> static io.grpc.MethodDescriptor<Common.GetGeometriesRequest,
Common.GetGeometriesResponse> static io.grpc.MethodDescriptor<Servo.GetPositionRequest,
Servo.GetPositionResponse> static io.grpc.MethodDescriptor<Servo.IsMovingRequest,
Servo.IsMovingResponse> static io.grpc.MethodDescriptor<Servo.MoveRequest,
Servo.MoveResponse> static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<Servo.StopRequest,
Servo.StopResponse> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getMoveMethod
-
getGetPositionMethod
public static io.grpc.MethodDescriptor<Servo.GetPositionRequest,Servo.GetPositionResponse> getGetPositionMethod() -
getStopMethod
-
getIsMovingMethod
public static io.grpc.MethodDescriptor<Servo.IsMovingRequest,Servo.IsMovingResponse> getIsMovingMethod() -
getDoCommandMethod
public static io.grpc.MethodDescriptor<Common.DoCommandRequest,Common.DoCommandResponse> getDoCommandMethod() -
getGetGeometriesMethod
public static io.grpc.MethodDescriptor<Common.GetGeometriesRequest,Common.GetGeometriesResponse> getGetGeometriesMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ServoServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-