Class ApplicationThreadDeframerListener

java.lang.Object
io.grpc.internal.ApplicationThreadDeframerListener
All Implemented Interfaces:
MessageDeframer.Listener

final class ApplicationThreadDeframerListener extends Object implements MessageDeframer.Listener
Listener for when deframing on the application thread, which calls the real listener on the transport thread. May only be called on the application thread.

Does not call the delegate's messagesAvailable(). It's expected that messageReadQueuePoll() is called on the application thread from within a message producer managed elsewhere.