Package com.viam.service.shell.v1
Class ShellServiceGrpc.ShellServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<ShellServiceGrpc.ShellServiceFutureStub>
io.grpc.stub.AbstractFutureStub<ShellServiceGrpc.ShellServiceFutureStub>
com.viam.service.shell.v1.ShellServiceGrpc.ShellServiceFutureStub
- Enclosing class:
ShellServiceGrpc
public static final class ShellServiceGrpc.ShellServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ShellServiceGrpc.ShellServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ShellService.
A ShellService service allows access to an interactive shell experience, including utilities commonly found in tandem with other secure shells.
-
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 ShellServiceGrpc.ShellServiceFutureStubbuild(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<Common.GetStatusResponse> getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractFutureStub
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 ShellServiceGrpc.ShellServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ShellServiceGrpc.ShellServiceFutureStub>
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
getStatus
public com.google.common.util.concurrent.ListenableFuture<Common.GetStatusResponse> getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resource
-