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