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 TypeMethodDescriptionvoid
addLatenciesRecord
(MessageLatenciesRecord request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) protected ServiceGrpc.ServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
closeClient
(ClientID request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) void
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
-
Method Details
-
build
- Specified by:
build
in classio.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
-
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)
-