Package com.viam.service.discovery.v1
Class DiscoveryServiceGrpc.DiscoveryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<DiscoveryServiceGrpc.DiscoveryServiceFutureStub>
io.grpc.stub.AbstractFutureStub<DiscoveryServiceGrpc.DiscoveryServiceFutureStub>
com.viam.service.discovery.v1.DiscoveryServiceGrpc.DiscoveryServiceFutureStub
- Enclosing class:
DiscoveryServiceGrpc
public static final class DiscoveryServiceGrpc.DiscoveryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<DiscoveryServiceGrpc.DiscoveryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DiscoveryService.
-
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<Discovery.DiscoverResourcesResponse> DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.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 DiscoveryServiceGrpc.DiscoveryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DiscoveryServiceGrpc.DiscoveryServiceFutureStub>
-
discoverResources
public com.google.common.util.concurrent.ListenableFuture<Discovery.DiscoverResourcesResponse> discoverResources(Discovery.DiscoverResourcesRequest request) DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.
-
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
-