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 Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
     
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
     
    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>
     
    com.google.common.util.concurrent.ListenableFuture<ClientID>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ServiceGrpc.ServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public com.google.common.util.concurrent.ListenableFuture<ClientID> registerClient(Config request)
    • 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)