Package io.sbp.grpc
Class ServiceGrpc.ServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ServiceGrpc.ServiceFutureStub>
io.sbp.grpc.ServiceGrpc.ServiceFutureStub
- Enclosing class:
- ServiceGrpc
public static final class ServiceGrpc.ServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ServiceGrpc.ServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Service.
-
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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
addLatenciesRecord
(MessageLatenciesRecord request) protected ServiceGrpc.ServiceFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
closeClient
(ClientID request) com.google.common.util.concurrent.ListenableFuture<Config>
getConfig
(com.google.protobuf.Empty request) com.google.common.util.concurrent.ListenableFuture<Version>
getVersion
(com.google.protobuf.Empty request) com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.BoolValue>
isVersionSupported
(Version request) com.google.common.util.concurrent.ListenableFuture<ClientID>
registerClient
(Config request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected ServiceGrpc.ServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ServiceGrpc.ServiceFutureStub>
-
getVersion
public com.google.common.util.concurrent.ListenableFuture<Version> getVersion(com.google.protobuf.Empty request) -
isVersionSupported
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.BoolValue> isVersionSupported(Version request) -
getConfig
public com.google.common.util.concurrent.ListenableFuture<Config> getConfig(com.google.protobuf.Empty request) -
registerClient
-
addLatenciesRecord
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> addLatenciesRecord(MessageLatenciesRecord request) -
closeClient
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> closeClient(ClientID request)
-