Package com.viam.component.button.v1
Class ButtonServiceGrpc.ButtonServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<ButtonServiceGrpc.ButtonServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<ButtonServiceGrpc.ButtonServiceBlockingV2Stub>
com.viam.component.button.v1.ButtonServiceGrpc.ButtonServiceBlockingV2Stub
- Enclosing class:
ButtonServiceGrpc
public static final class ButtonServiceGrpc.ButtonServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ButtonServiceGrpc.ButtonServiceBlockingV2Stub>
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, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ButtonServiceGrpc.ButtonServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ButtonServiceGrpc.ButtonServiceBlockingV2Stub>
-
push
Pushes a button
- Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-