public interface CallStreamObserver<T>
extends org.apache.dubbo.common.stream.StreamObserver<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
disableAutoFlowControl()
Swaps to manual flow control where no message will be delivered to
StreamObserver.onNext(Object) unless it is request()ed. |
void |
request(int count)
Requests the peer to produce
count more messages to be delivered to the 'inbound'
StreamObserver. |
void |
setCompression(String compression)
Sets the compression algorithm to use for the call
For stream set compression needs to determine whether the metadata has been sent, and carry
on corresponding processing
|
void request(int count)
count more messages to be delivered to the 'inbound'
StreamObserver.
This method is safe to call from multiple threads without external synchronization.
count - more messagesvoid setCompression(String compression)
For stream set compression needs to determine whether the metadata has been sent, and carry on corresponding processing
compression - Compressorvoid disableAutoFlowControl()
StreamObserver.onNext(Object) unless it is request()ed. Since request() may not be called before the call is started, a number of initial requests may be
specified.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.