Class ServerReflectionGrpc.ServerReflectionStub
java.lang.Object
io.grpc.stub.AbstractStub<ServerReflectionGrpc.ServerReflectionStub>
io.grpc.stub.AbstractAsyncStub<ServerReflectionGrpc.ServerReflectionStub>
io.grpc.reflection.v1.ServerReflectionGrpc.ServerReflectionStub
- Enclosing class:
ServerReflectionGrpc
public static final class ServerReflectionGrpc.ServerReflectionStub
extends AbstractAsyncStub<ServerReflectionGrpc.ServerReflectionStub>
A stub to allow clients to do asynchronous rpc calls to service ServerReflection.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractStub
AbstractStub.StubFactory<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateServerReflectionStub(Channel channel, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver) The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.Methods inherited from class AbstractAsyncStub
newStub, newStub
-
Constructor Details
-
ServerReflectionStub
-
-
Method Details
-
build
Description copied from class:AbstractStubReturns a new stub with the given channel for the provided method configurations.- Specified by:
buildin classAbstractStub<ServerReflectionGrpc.ServerReflectionStub>- Parameters:
channel- the channel that this stub will use to do communicationscallOptions- the runtime call options to be applied to every call on this stub
-
serverReflectionInfo
public StreamObserver<ServerReflectionRequest> serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver) The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.
-