Package com.viam.component.button.v1
Class ButtonServiceGrpc.ButtonServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ButtonServiceGrpc.ButtonServiceFutureStub>
com.viam.component.button.v1.ButtonServiceGrpc.ButtonServiceFutureStub
- Enclosing class:
- ButtonServiceGrpc
public static final class ButtonServiceGrpc.ButtonServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ButtonServiceGrpc.ButtonServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ButtonService.
A ButtonService services buttons associated with a machine
-
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<Button.PushResponse>
push
(Button.PushRequest request) Pushes a buttonMethods 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 ButtonServiceGrpc.ButtonServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ButtonServiceGrpc.ButtonServiceFutureStub>
-
push
public com.google.common.util.concurrent.ListenableFuture<Button.PushResponse> push(Button.PushRequest request) Pushes a button
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-