Package pl.morgwai.base.grpc.utils
-
Interface Summary Interface Description DispatchingOnReadyHandler.ThrowingFunction<ParamT,ResultT> -
Class Summary Class Description BlockingResponseObserver<T> Response observer for a client side that blocks until response is completed with eitherBlockingResponseObserver.onCompleted()
orBlockingResponseObserver.onError(Throwable)
.ConcurrentRequestObserver<RequestT,ResponseT> A requestStreamObserver
for bi-di streaming methods that dispatch work to multiple threads and don't care about the order of responses.DispatchingOnReadyHandler<ResponseT> Handles streaming of messages to aCallStreamObserver
from multiple threads with respect to flow-control to ensure that no excessive buffering occurs.FakeResponseObserver<ResponseT> A fakeServerCallStreamObserver
testing helper class.FakeResponseObserver.LoggingExecutor Logs task scheduling and executions and scheduling rejections.GrpcServerFlow A very simplified overview of gRPC server flow.OrderedConcurrentRequestObserver<RequestT,ResponseT> AConcurrentRequestObserver
that usesOrderedConcurrentOutputBuffer
to automatically ensure that response messages are sent in order corresponding to request messages order. -
Exception Summary Exception Description BlockingResponseObserver.ErrorReportedException