Package io.sbp.grpc

Class ServiceGrpc.ServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
io.sbp.grpc.ServiceGrpc.ServiceStub
Enclosing class:
ServiceGrpc

public static final class ServiceGrpc.ServiceStub extends io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
A stub to allow clients to do asynchronous 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
    void
    addLatenciesRecord(MessageLatenciesRecord request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
     
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    closeClient(ClientID request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
     
    void
    getConfig(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<Config> responseObserver)
     
    void
    getVersion(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<Version> responseObserver)
     
    void
    isVersionSupported(Version request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver)
     
    void
    registerClient(Config request, io.grpc.stub.StreamObserver<ClientID> responseObserver)
     

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    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.ServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ServiceGrpc.ServiceStub>
    • getVersion

      public void getVersion(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<Version> responseObserver)
    • isVersionSupported

      public void isVersionSupported(Version request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver)
    • getConfig

      public void getConfig(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<Config> responseObserver)
    • registerClient

      public void registerClient(Config request, io.grpc.stub.StreamObserver<ClientID> responseObserver)
    • addLatenciesRecord

      public void addLatenciesRecord(MessageLatenciesRecord request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    • closeClient

      public void closeClient(ClientID request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)