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