Package io.sbp.grpc

Class ServiceGrpc.ServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<ServiceGrpc.ServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<ServiceGrpc.ServiceBlockingStub>
io.sbp.grpc.ServiceGrpc.ServiceBlockingStub
Enclosing class:
ServiceGrpc

public static final class ServiceGrpc.ServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ServiceGrpc.ServiceBlockingStub>
A stub to allow clients to do limited synchronous 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.protobuf.Empty
     
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.protobuf.Empty
     
    getConfig(com.google.protobuf.Empty request)
     
    getVersion(com.google.protobuf.Empty request)
     
    com.google.protobuf.BoolValue
     
     

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, 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.ServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ServiceGrpc.ServiceBlockingStub>
    • getVersion

      public Version getVersion(com.google.protobuf.Empty request)
    • isVersionSupported

      public com.google.protobuf.BoolValue isVersionSupported(Version request)
    • getConfig

      public Config getConfig(com.google.protobuf.Empty request)
    • registerClient

      public ClientID registerClient(Config request)
    • addLatenciesRecord

      public com.google.protobuf.Empty addLatenciesRecord(MessageLatenciesRecord request)
    • closeClient

      public com.google.protobuf.Empty closeClient(ClientID request)