Package io.sbp.grpc
Class ServiceGrpc.ServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<ServiceGrpc.ServiceStub>
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 TypeMethodDescriptionvoidaddLatenciesRecord(MessageLatenciesRecord request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) protected ServiceGrpc.ServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcloseClient(ClientID request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) voidvoidgetVersion(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<Version> responseObserver) voidisVersionSupported(Version request, io.grpc.stub.StreamObserver<com.google.protobuf.BoolValue> responseObserver) voidregisterClient(Config request, io.grpc.stub.StreamObserver<ClientID> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin 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)
-