| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>ClientCallStreamObserver (grpc-all 1.74.0 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| <script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script> |
| <script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ClientCallStreamObserver (grpc-all 1.74.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":6,"i1":10,"i2":6,"i3":6,"i4":6,"i5":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClientCallStreamObserver.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">io.grpc.stub</a></div> |
| <h2 title="Class ClientCallStreamObserver" class="title">Class ClientCallStreamObserver<ReqT></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="CallStreamObserver.html" title="class in io.grpc.stub">io.grpc.stub.CallStreamObserver</a><ReqT></li> |
| <li> |
| <ul class="inheritance"> |
| <li>io.grpc.stub.ClientCallStreamObserver<ReqT></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="StreamObserver.html" title="interface in io.grpc.stub">StreamObserver</a><ReqT></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">ClientCallStreamObserver<ReqT></span> |
| extends <a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a><ReqT></pre> |
| <div class="block">A refinement of <a href="CallStreamObserver.html" title="class in io.grpc.stub"><code>CallStreamObserver</code></a> that allows for lower-level interaction with |
| client calls. An instance of this class is obtained via <a href="ClientResponseObserver.html" title="interface in io.grpc.stub"><code>ClientResponseObserver</code></a>, or by |
| manually casting the <code>StreamObserver</code> returned by a stub. |
| |
| <p>Like <code>StreamObserver</code>, implementations are not required to be thread-safe; if multiple |
| threads will be writing to an instance concurrently, the application must synchronize its calls. |
| |
| <p>DO NOT MOCK: The API is too complex to reliably mock. Use InProcessChannelBuilder to create |
| "real" RPCs suitable for testing and make a fake for the server-side.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ClientCallStreamObserver</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cancel(java.lang.String,java.lang.Throwable)">cancel</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> message, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a> cause)</code></th> |
| <td class="colLast"> |
| <div class="block">Prevent any further processing for this <code>ClientCallStreamObserver</code>.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disableAutoRequestWithInitial(int)">disableAutoRequestWithInitial</a></span>​(int request)</code></th> |
| <td class="colLast"> |
| <div class="block">Swaps to manual flow control where no message will be delivered to <a href="StreamObserver.html#onNext(V)"><code>StreamObserver.onNext(Object)</code></a> unless it is <a href="#request(int)"><code>request()</code></a>ed.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>abstract boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReady()">isReady</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">If <code>true</code>, indicates that the observer is capable of sending additional messages |
| without requiring excessive buffering internally.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#request(int)">request</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Requests the peer to produce <code>count</code> more messages to be delivered to the 'inbound' |
| <a href="StreamObserver.html" title="interface in io.grpc.stub"><code>StreamObserver</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMessageCompression(boolean)">setMessageCompression</a></span>​(boolean enable)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets message compression for subsequent calls to <a href="StreamObserver.html#onNext(V)"><code>StreamObserver.onNext(V)</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOnReadyHandler(java.lang.Runnable)">setOnReadyHandler</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Runnable</a> onReadyHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Set a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Runnable</code></a> that will be executed every time the stream <a href="#isReady()"><code>isReady()</code></a> state |
| changes from <code>false</code> to <code>true</code>.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.io.grpc.stub.CallStreamObserver"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class io.grpc.stub.<a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a></h3> |
| <code><a href="CallStreamObserver.html#disableAutoInboundFlowControl()">disableAutoInboundFlowControl</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.io.grpc.stub.StreamObserver"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface io.grpc.stub.<a href="StreamObserver.html" title="interface in io.grpc.stub">StreamObserver</a></h3> |
| <code><a href="StreamObserver.html#onCompleted()">onCompleted</a>, <a href="StreamObserver.html#onError(java.lang.Throwable)">onError</a>, <a href="StreamObserver.html#onNext(V)">onNext</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ClientCallStreamObserver</h4> |
| <pre>public ClientCallStreamObserver()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="cancel(java.lang.String,java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cancel</h4> |
| <pre class="methodSignature">public abstract void cancel​(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation" class="externalLink">@Nullable</a> |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> message, |
| <a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation" class="externalLink">@Nullable</a> |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a> cause)</pre> |
| <div class="block">Prevent any further processing for this <code>ClientCallStreamObserver</code>. No further messages |
| will be received. The server is informed of cancellations, but may not stop processing the |
| call. Cancelling an already |
| <code>cancel()</code>ed <code>ClientCallStreamObserver</code> has no effect. |
| |
| <p>No other methods on this class can be called after this method has been called. |
| |
| <p>It is recommended that at least one of the arguments to be non-<code>null</code>, to provide |
| useful debug information. Both argument being null may log warnings and result in suboptimal |
| performance. Also note that the provided information will not be sent to the server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>message</code> - if not <code>null</code>, will appear as the description of the CANCELLED status</dd> |
| <dd><code>cause</code> - if not <code>null</code>, will appear as the cause of the CANCELLED status</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="disableAutoRequestWithInitial(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disableAutoRequestWithInitial</h4> |
| <pre class="methodSignature">public void disableAutoRequestWithInitial​(int request)</pre> |
| <div class="block">Swaps to manual flow control where no message will be delivered to <a href="StreamObserver.html#onNext(V)"><code>StreamObserver.onNext(Object)</code></a> unless it is <a href="#request(int)"><code>request()</code></a>ed. Since <code> |
| request()</code> may not be called before the call is started, a number of initial requests may be |
| specified. |
| |
| <p>This method may only be called during <a href="ClientResponseObserver.html#beforeStart(io.grpc.stub.ClientCallStreamObserver)"><code>ClientResponseObserver.beforeStart()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="isReady()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReady</h4> |
| <pre class="methodSignature">public abstract boolean isReady()</pre> |
| <div class="block">If <code>true</code>, indicates that the observer is capable of sending additional messages |
| without requiring excessive buffering internally. This value is just a suggestion and the |
| application is free to ignore it, however doing so may result in excessive buffering within the |
| observer. |
| |
| <p>If <code>false</code>, the runnable passed to <a href="#setOnReadyHandler(java.lang.Runnable)"><code>setOnReadyHandler(java.lang.Runnable)</code></a> will be called after |
| <code>isReady()</code> transitions to <code>true</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="CallStreamObserver.html#isReady()">isReady</a></code> in class <code><a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a><<a href="ClientCallStreamObserver.html" title="type parameter in ClientCallStreamObserver">ReqT</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setOnReadyHandler(java.lang.Runnable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setOnReadyHandler</h4> |
| <pre class="methodSignature">public abstract void setOnReadyHandler​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Runnable</a> onReadyHandler)</pre> |
| <div class="block">Set a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Runnable</code></a> that will be executed every time the stream <a href="#isReady()"><code>isReady()</code></a> state |
| changes from <code>false</code> to <code>true</code>. While it is not guaranteed that the same |
| thread will always be used to execute the <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Runnable</code></a>, it is guaranteed that executions |
| are serialized with calls to the 'inbound' <a href="StreamObserver.html" title="interface in io.grpc.stub"><code>StreamObserver</code></a>. |
| |
| <p>May only be called during <a href="ClientResponseObserver.html#beforeStart(io.grpc.stub.ClientCallStreamObserver)"><code>ClientResponseObserver.beforeStart(io.grpc.stub.ClientCallStreamObserver<ReqT>)</code></a>. |
| |
| <p>Because there is a processing delay to deliver this notification, it is possible for |
| concurrent writes to cause <code>isReady() == false</code> within this callback. Handle "spurious" |
| notifications by checking <code>isReady()</code>'s current value instead of assuming it is now |
| <code>true</code>. If <code>isReady() == false</code> the normal expectations apply, so there would be |
| <em>another</em> <code>onReadyHandler</code> callback.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="CallStreamObserver.html#setOnReadyHandler(java.lang.Runnable)">setOnReadyHandler</a></code> in class <code><a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a><<a href="ClientCallStreamObserver.html" title="type parameter in ClientCallStreamObserver">ReqT</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>onReadyHandler</code> - to call when peer is ready to receive more messages.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="request(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>request</h4> |
| <pre class="methodSignature">public abstract void request​(int count)</pre> |
| <div class="block">Requests the peer to produce <code>count</code> more messages to be delivered to the 'inbound' |
| <a href="StreamObserver.html" title="interface in io.grpc.stub"><code>StreamObserver</code></a>. |
| |
| <p>This method is safe to call from multiple threads without external synchronization.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="CallStreamObserver.html#request(int)">request</a></code> in class <code><a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a><<a href="ClientCallStreamObserver.html" title="type parameter in ClientCallStreamObserver">ReqT</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - more messages</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setMessageCompression(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setMessageCompression</h4> |
| <pre class="methodSignature">public abstract void setMessageCompression​(boolean enable)</pre> |
| <div class="block">Sets message compression for subsequent calls to <a href="StreamObserver.html#onNext(V)"><code>StreamObserver.onNext(V)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="CallStreamObserver.html#setMessageCompression(boolean)">setMessageCompression</a></code> in class <code><a href="CallStreamObserver.html" title="class in io.grpc.stub">CallStreamObserver</a><<a href="ClientCallStreamObserver.html" title="type parameter in ClientCallStreamObserver">ReqT</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>enable</code> - whether to enable compression.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClientCallStreamObserver.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| </footer> |
| </body> |
| </html> |