Class MessagingServiceGrpc.MessagingServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<MessagingServiceGrpc.MessagingServiceFutureStub>
io.grpc.stub.AbstractFutureStub<MessagingServiceGrpc.MessagingServiceFutureStub>
org.springframework.cloud.function.grpc.MessagingServiceGrpc.MessagingServiceFutureStub
- Enclosing class:
MessagingServiceGrpc
public static final class MessagingServiceGrpc.MessagingServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<MessagingServiceGrpc.MessagingServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MessagingService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<GrpcSpringMessage> requestReply(GrpcSpringMessage request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected MessagingServiceGrpc.MessagingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MessagingServiceGrpc.MessagingServiceFutureStub>
-
requestReply
public com.google.common.util.concurrent.ListenableFuture<GrpcSpringMessage> requestReply(GrpcSpringMessage request)
-