Package com.viam.component.button.v1
Class ButtonServiceGrpc.ButtonServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ButtonServiceGrpc.ButtonServiceBlockingStub>
com.viam.component.button.v1.ButtonServiceGrpc.ButtonServiceBlockingStub
- Enclosing class:
- ButtonServiceGrpc
public static final class ButtonServiceGrpc.ButtonServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ButtonServiceGrpc.ButtonServiceBlockingStub>
A stub to allow clients to do synchronous 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) doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandspush
(Button.PushRequest request) Pushes a buttonMethods inherited from class io.grpc.stub.AbstractBlockingStub
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.ButtonServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ButtonServiceGrpc.ButtonServiceBlockingStub>
-
push
Pushes a button
-
doCommand
DoCommand sends/receives arbitrary commands
-