Class DeviceServiceGrpc.DeviceServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<DeviceServiceGrpc.DeviceServiceFutureStub>
io.grpc.stub.AbstractFutureStub<DeviceServiceGrpc.DeviceServiceFutureStub>
org.episteme.server.server.proto.DeviceServiceGrpc.DeviceServiceFutureStub
- Enclosing class:
DeviceServiceGrpc
public static final class DeviceServiceGrpc.DeviceServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<DeviceServiceGrpc.DeviceServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DeviceService.
Service for controlling remote scientific instruments
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DeviceConnectionStatus> connect(DeviceIdentifier request) Connect/Disconnectcom.google.common.util.concurrent.ListenableFuture<DeviceConnectionStatus> disconnect(DeviceIdentifier request) com.google.common.util.concurrent.ListenableFuture<DeviceList> listDevices(Empty request) Discover available devicescom.google.common.util.concurrent.ListenableFuture<CommandResponse> sendCommand(DeviceCommand request) Send a control commandMethods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected DeviceServiceGrpc.DeviceServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DeviceServiceGrpc.DeviceServiceFutureStub>
-
listDevices
Discover available devices
-
connect
public com.google.common.util.concurrent.ListenableFuture<DeviceConnectionStatus> connect(DeviceIdentifier request) Connect/Disconnect
-
disconnect
public com.google.common.util.concurrent.ListenableFuture<DeviceConnectionStatus> disconnect(DeviceIdentifier request) -
sendCommand
public com.google.common.util.concurrent.ListenableFuture<CommandResponse> sendCommand(DeviceCommand request) Send a control command
-