mirror of https://github.com/grpc/grpc-java.git
Exposing AbstractBufferingHandler so it can be used by custom protocol negotiators.
This commit is contained in:
parent
74490d5f6b
commit
ae2b5bfda7
|
|
@ -181,7 +181,7 @@ public final class ProtocolNegotiators {
|
||||||
* write to a {@link Channel} before we are allowed to write to it officially i.e.
|
* write to a {@link Channel} before we are allowed to write to it officially i.e.
|
||||||
* before it's active or the TLS Handshake is complete.
|
* before it's active or the TLS Handshake is complete.
|
||||||
*/
|
*/
|
||||||
private abstract static class AbstractBufferingHandler extends ChannelDuplexHandler {
|
public abstract static class AbstractBufferingHandler extends ChannelDuplexHandler {
|
||||||
|
|
||||||
private ChannelHandler[] handlers;
|
private ChannelHandler[] handlers;
|
||||||
private Queue<ChannelWrite> bufferedWrites = new ArrayDeque<ChannelWrite>();
|
private Queue<ChannelWrite> bufferedWrites = new ArrayDeque<ChannelWrite>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue