<li><ahref="../../../it/ernytech/tdlib/Client.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../it/ernytech/tdlib/FatalErrorCallbackPtr.html"title="interface in it.ernytech.tdlib"><spanclass="typeNameLink">Next Class</span></a></li>
<thclass="colConstructorName"scope="row"><code><spanclass="memberNameLink"><ahref="../../../it/ernytech/tdlib/ClientActor.html#%3Cinit%3E(it.ernytech.tdlib.TdCallback)">ClientActor</a></span>​(<ahref="../../../it/ernytech/tdlib/TdCallback.html"title="class in it.ernytech.tdlib">TdCallback</a> tdCallback)</code></th>
<tdclass="colLast">
<divclass="block">Creates a ClientActor using the specified callback.</div>
</td>
</tr>
<trclass="rowColor">
<thclass="colConstructorName"scope="row"><code><spanclass="memberNameLink"><ahref="../../../it/ernytech/tdlib/ClientActor.html#%3Cinit%3E(it.ernytech.tdlib.TdCallback,int)">ClientActor</a></span>​(<ahref="../../../it/ernytech/tdlib/TdCallback.html"title="class in it.ernytech.tdlib">TdCallback</a> tdCallback,
int timeout)</code></th>
<tdclass="colLast">
<divclass="block">Creates a ClientActor using the specified callback</div>
<divclass="block">Destroys the ClientActor and the TDLib instance.</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../it/ernytech/tdlib/Response.html"title="class in it.ernytech.tdlib">Response</a></code></td>
<thclass="colSecond"scope="row"><code><spanclass="memberNameLink"><ahref="../../../it/ernytech/tdlib/ClientActor.html#execute(it.ernytech.tdlib.Request)">execute</a></span>​(<ahref="../../../it/ernytech/tdlib/Request.html"title="class in it.ernytech.tdlib">Request</a> request)</code></th>
<tdclass="colLast">
<divclass="block">Synchronously executes a TDLib request.</div>
</td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<thclass="colSecond"scope="row"><code><spanclass="memberNameLink"><ahref="../../../it/ernytech/tdlib/ClientActor.html#request(it.ernytech.tdlib.Request)">request</a></span>​(<ahref="../../../it/ernytech/tdlib/Request.html"title="class in it.ernytech.tdlib">Request</a> request)</code></th>
<tdclass="colLast">
<divclass="block">Sends one request to TDLib.</div>
<pre>public ClientActor​(<ahref="../../../it/ernytech/tdlib/TdCallback.html"title="class in it.ernytech.tdlib">TdCallback</a> tdCallback)</pre>
<divclass="block">Creates a ClientActor using the specified callback.</div>
<pre>public ClientActor​(<ahref="../../../it/ernytech/tdlib/TdCallback.html"title="class in it.ernytech.tdlib">TdCallback</a> tdCallback,
int timeout)</pre>
<divclass="block">Creates a ClientActor using the specified callback</div>
<dd><code>tdCallback</code> - Callback for outgoing notifications from TDLib.</dd>
<dd><code>timeout</code> - Maximum number of seconds allowed for this function to wait for new data, when the timeout ends, ClientActor requests a new update list.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<sectionrole="region">
<ulclass="blockList">
<liclass="blockList"><aid="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aid="request(it.ernytech.tdlib.Request)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>request</h4>
<pre>public void request​(<ahref="../../../it/ernytech/tdlib/Request.html"title="class in it.ernytech.tdlib">Request</a> request)</pre>
<divclass="block">Sends one request to TDLib. The answer will be received via callback.</div>
<pre>public <ahref="../../../it/ernytech/tdlib/Response.html"title="class in it.ernytech.tdlib">Response</a> execute​(<ahref="../../../it/ernytech/tdlib/Request.html"title="class in it.ernytech.tdlib">Request</a> request)</pre>
<divclass="block">Synchronously executes a TDLib request. Only a few requests can be executed synchronously. May be called from any thread.</div>
<li><ahref="../../../it/ernytech/tdlib/Client.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../it/ernytech/tdlib/FatalErrorCallbackPtr.html"title="interface in it.ernytech.tdlib"><spanclass="typeNameLink">Next Class</span></a></li>