public final class ClientCalls extends Object
| Modifier and Type | Method and Description |
|---|---|
static <TRequest,TResponse> |
manyToMany(reactor.core.publisher.Flux<TRequest> fluxSource,
Function<io.grpc.stub.StreamObserver<TResponse>,io.grpc.stub.StreamObserver<TRequest>> delegate,
io.grpc.CallOptions options)
Implements a bidirectional stream → stream call as
Flux → Flux, where both the client
and the server independently stream to each other. |
static <TRequest,TResponse> |
manyToOne(reactor.core.publisher.Flux<TRequest> fluxSource,
Function<io.grpc.stub.StreamObserver<TResponse>,io.grpc.stub.StreamObserver<TRequest>> delegate,
io.grpc.CallOptions options)
Implements a stream → unary call as
Flux → Mono, where the client transits a stream of
messages. |
static <TRequest,TResponse> |
oneToMany(reactor.core.publisher.Mono<TRequest> monoSource,
BiConsumer<TRequest,io.grpc.stub.StreamObserver<TResponse>> delegate,
io.grpc.CallOptions options)
Implements a unary → stream call as
Mono → Flux, where the server responds with a
stream of messages. |
static <TRequest,TResponse> |
oneToOne(reactor.core.publisher.Mono<TRequest> monoSource,
BiConsumer<TRequest,io.grpc.stub.StreamObserver<TResponse>> delegate,
io.grpc.CallOptions options)
Implements a unary → unary call using
Mono → Mono. |
public static <TRequest,TResponse> reactor.core.publisher.Mono<TResponse> oneToOne(reactor.core.publisher.Mono<TRequest> monoSource,
BiConsumer<TRequest,io.grpc.stub.StreamObserver<TResponse>> delegate,
io.grpc.CallOptions options)
Mono → Mono.public static <TRequest,TResponse> reactor.core.publisher.Flux<TResponse> oneToMany(reactor.core.publisher.Mono<TRequest> monoSource,
BiConsumer<TRequest,io.grpc.stub.StreamObserver<TResponse>> delegate,
io.grpc.CallOptions options)
Mono → Flux, where the server responds with a
stream of messages.public static <TRequest,TResponse> reactor.core.publisher.Mono<TResponse> manyToOne(reactor.core.publisher.Flux<TRequest> fluxSource,
Function<io.grpc.stub.StreamObserver<TResponse>,io.grpc.stub.StreamObserver<TRequest>> delegate,
io.grpc.CallOptions options)
Flux → Mono, where the client transits a stream of
messages.public static <TRequest,TResponse> reactor.core.publisher.Flux<TResponse> manyToMany(reactor.core.publisher.Flux<TRequest> fluxSource,
Function<io.grpc.stub.StreamObserver<TResponse>,io.grpc.stub.StreamObserver<TRequest>> delegate,
io.grpc.CallOptions options)
Flux → Flux, where both the client
and the server independently stream to each other.Copyright © 2021. All rights reserved.