|
95 | 95 | <tr class="memitem:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <a class="el" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *options)</td></tr>
|
96 | 96 | <tr class="memdesc:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="mdescLeft"> </td><td class="mdescRight">Connects to a <code>NATS Server</code> using the provided options. <a href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">More...</a><br /></td></tr>
|
97 | 97 | <tr class="separator:ga740be1ba16a8570eb98ef6755ebf52ce"><td class="memSeparator" colspan="2"> </td></tr>
|
| 98 | +<tr class="memitem:gab189a6974024f58944cdaa5612d4587e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">natsConnection_Reconnect</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr> |
| 99 | +<tr class="memdesc:gab189a6974024f58944cdaa5612d4587e"><td class="mdescLeft"> </td><td class="mdescRight">Causes the client to drop the connection to the current server and perform standard reconnection process. <a href="group__conn_mgt_group.html#gab189a6974024f58944cdaa5612d4587e">More...</a><br /></td></tr> |
| 100 | +<tr class="separator:gab189a6974024f58944cdaa5612d4587e"><td class="memSeparator" colspan="2"> </td></tr> |
98 | 101 | <tr class="memitem:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a> (<a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc)</td></tr>
|
99 | 102 | <tr class="memdesc:gaa89c06e30e19ff361125bfc9114d89a8"><td class="mdescLeft"> </td><td class="mdescRight">Process a read event when using external event loop. <a href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">More...</a><br /></td></tr>
|
100 | 103 | <tr class="separator:gaa89c06e30e19ff361125bfc9114d89a8"><td class="memSeparator" colspan="2"> </td></tr>
|
@@ -218,6 +221,31 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga740be1ba16a8570eb98ef67
|
218 | 221 | </dd>
|
219 | 222 | </dl>
|
220 | 223 |
|
| 224 | +</div> |
| 225 | +</div> |
| 226 | +<a id="gab189a6974024f58944cdaa5612d4587e"></a> |
| 227 | +<h2 class="memtitle"><span class="permalink"><a href="#gab189a6974024f58944cdaa5612d4587e">◆ </a></span>natsConnection_Reconnect()</h2> |
| 228 | + |
| 229 | +<div class="memitem"> |
| 230 | +<div class="memproto"> |
| 231 | + <table class="memname"> |
| 232 | + <tr> |
| 233 | + <td class="memname"><a class="el" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> natsConnection_Reconnect </td> |
| 234 | + <td>(</td> |
| 235 | + <td class="paramtype"><a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> * </td> |
| 236 | + <td class="paramname"><em>nc</em></td><td>)</td> |
| 237 | + <td></td> |
| 238 | + </tr> |
| 239 | + </table> |
| 240 | +</div><div class="memdoc"> |
| 241 | +<p>This means that all subscriptions and consumers should be resubscribed and their work resumed after successful reconnect where all reconnect options are respected.</p> |
| 242 | +<dl class="params"><dt>Parameters</dt><dd> |
| 243 | + <table class="params"> |
| 244 | + <tr><td class="paramname">nc</td><td>the pointer to the <a class="el" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec" title="A connection to a NATS Server.">natsConnection</a> object. </td></tr> |
| 245 | + </table> |
| 246 | + </dd> |
| 247 | +</dl> |
| 248 | + |
221 | 249 | </div>
|
222 | 250 | </div>
|
223 | 251 | <a id="gaa89c06e30e19ff361125bfc9114d89a8"></a>
|
|
0 commit comments