Package com.viam.service.discovery.v1
Class DiscoveryServiceGrpc.DiscoveryServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<DiscoveryServiceGrpc.DiscoveryServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<DiscoveryServiceGrpc.DiscoveryServiceBlockingStub>
com.viam.service.discovery.v1.DiscoveryServiceGrpc.DiscoveryServiceBlockingStub
- Enclosing class:
DiscoveryServiceGrpc
public static final class DiscoveryServiceGrpc.DiscoveryServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DiscoveryServiceGrpc.DiscoveryServiceBlockingStub>
A stub to allow clients to do limited synchronous 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) DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods 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 DiscoveryServiceGrpc.DiscoveryServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DiscoveryServiceGrpc.DiscoveryServiceBlockingStub>
-
discoverResources
public Discovery.DiscoverResourcesResponse discoverResources(Discovery.DiscoverResourcesRequest request) DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.
-
doCommand
DoCommand sends/receives arbitrary commands
-
getStatus
GetStatus returns the status of the resource
-