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