diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-05 08:18:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-05 08:18:21 -0700 |
commit | 68f4e0f6abc6bb99ff334542d5b5003edc3e651e (patch) | |
tree | 320e1f4aa189f06af9dbccce9f709c9c36c3bb6c /doc/ref/core.internal/html/subchannel_8c.html | |
parent | 3bbacf1b5ece50a8f9a945c88e2f81d3f8594e47 (diff) |
Initial Doxygen import for core, c++
Diffstat (limited to 'doc/ref/core.internal/html/subchannel_8c.html')
-rw-r--r-- | doc/ref/core.internal/html/subchannel_8c.html | 789 |
1 files changed, 789 insertions, 0 deletions
diff --git a/doc/ref/core.internal/html/subchannel_8c.html b/doc/ref/core.internal/html/subchannel_8c.html new file mode 100644 index 0000000000..67e1432e13 --- /dev/null +++ b/doc/ref/core.internal/html/subchannel_8c.html @@ -0,0 +1,789 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.6"/> +<title>GRPC Core: src/core/client_config/subchannel.c File Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td style="padding-left: 0.5em;"> + <div id="projectname">GRPC Core +  <span id="projectnumber">0.10.0.0</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.6 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Data Structures</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_d6c86f4345f838817939dd561d8a016c.html">client_config</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Data Structures</a> | +<a href="#define-members">Macros</a> | +<a href="#typedef-members">Typedefs</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">subchannel.c File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="subchannel_8h_source.html">src/core/client_config/subchannel.h</a>"</code><br/> +<code>#include <<a class="el" href="string_8h_source.html">string.h</a>></code><br/> +<code>#include <<a class="el" href="alloc_8h_source.html">grpc/support/alloc.h</a>></code><br/> +<code>#include "<a class="el" href="channel__args_8h_source.html">src/core/channel/channel_args.h</a>"</code><br/> +<code>#include "<a class="el" href="client__channel_8h_source.html">src/core/channel/client_channel.h</a>"</code><br/> +<code>#include "<a class="el" href="connected__channel_8h_source.html">src/core/channel/connected_channel.h</a>"</code><br/> +<code>#include "<a class="el" href="alarm_8h_source.html">src/core/iomgr/alarm.h</a>"</code><br/> +<code>#include "<a class="el" href="connectivity__state_8h_source.html">src/core/transport/connectivity_state.h</a>"</code><br/> +<code>#include "<a class="el" href="channel_8h_source.html">src/core/surface/channel.h</a>"</code><br/> +</div><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Data Structures</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structconnection.html">connection</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structstate__watcher.html">state_watcher</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwaiting__for__connect.html">waiting_for_connect</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:a4a297a5d3477460e802c804a945cfb4e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a4a297a5d3477460e802c804a945cfb4e">GRPC_SUBCHANNEL_MIN_CONNECT_TIMEOUT_SECONDS</a>   20</td></tr> +<tr class="separator:a4a297a5d3477460e802c804a945cfb4e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab2916ffabb6e97931795c0cb17d5b1a0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ab2916ffabb6e97931795c0cb17d5b1a0">GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS</a>   1</td></tr> +<tr class="separator:ab2916ffabb6e97931795c0cb17d5b1a0"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad1761b478eb46b24379e6d5a9edd30af"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ad1761b478eb46b24379e6d5a9edd30af">GRPC_SUBCHANNEL_RECONNECT_BACKOFF_MULTIPLIER</a>   1.6</td></tr> +<tr class="separator:ad1761b478eb46b24379e6d5a9edd30af"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad021f6795743d8163fff68703ffb663b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ad021f6795743d8163fff68703ffb663b">GRPC_SUBCHANNEL_RECONNECT_MAX_BACKOFF_SECONDS</a>   120</td></tr> +<tr class="separator:ad021f6795743d8163fff68703ffb663b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9775a74d61f54cd0537630b9b7118802"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a9775a74d61f54cd0537630b9b7118802">GRPC_SUBCHANNEL_RECONNECT_JITTER</a>   0.2</td></tr> +<tr class="separator:a9775a74d61f54cd0537630b9b7118802"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6f8f2e93f13638c3344bed1c0a810a90"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a6f8f2e93f13638c3344bed1c0a810a90">SUBCHANNEL_CALL_TO_CALL_STACK</a>(call)   ((<a class="el" href="structgrpc__call__stack.html">grpc_call_stack</a> *)((call) + 1))</td></tr> +<tr class="separator:a6f8f2e93f13638c3344bed1c0a810a90"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a004980d48eea483363d061723e95834e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a004980d48eea483363d061723e95834e">CHANNEL_STACK_FROM_CONNECTION</a>(con)   ((<a class="el" href="structgrpc__channel__stack.html">grpc_channel_stack</a> *)((con) + 1))</td></tr> +<tr class="separator:a004980d48eea483363d061723e95834e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad1c3bb13282f81c8384752ae3e2d74ad"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ad1c3bb13282f81c8384752ae3e2d74ad">SUBCHANNEL_REF_LOCKED</a>(p, r)   subchannel_ref_locked((p))</td></tr> +<tr class="separator:ad1c3bb13282f81c8384752ae3e2d74ad"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac827935703a637a3a74cb54936a49f25"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ac827935703a637a3a74cb54936a49f25">SUBCHANNEL_UNREF_LOCKED</a>(p, r)   subchannel_unref_locked((p))</td></tr> +<tr class="separator:ac827935703a637a3a74cb54936a49f25"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5a6df9d57aa14df8c30325f7b403a6ba"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a5a6df9d57aa14df8c30325f7b403a6ba">CONNECTION_REF_LOCKED</a>(p, r)   connection_ref_locked((p))</td></tr> +<tr class="separator:a5a6df9d57aa14df8c30325f7b403a6ba"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7511e39882d77270a0e73a6ea6bdbf22"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a7511e39882d77270a0e73a6ea6bdbf22">CONNECTION_UNREF_LOCKED</a>(p, r)   connection_unref_locked((p))</td></tr> +<tr class="separator:a7511e39882d77270a0e73a6ea6bdbf22"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8b6e7b7a1e9f2434b354c7bae2760ab0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a8b6e7b7a1e9f2434b354c7bae2760ab0">REF_PASS_ARGS</a></td></tr> +<tr class="separator:a8b6e7b7a1e9f2434b354c7bae2760ab0"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a12a25b2a728caf10ef93487e8a41896c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a12a25b2a728caf10ef93487e8a41896c">REF_LOG</a>(name, p)</td></tr> +<tr class="separator:a12a25b2a728caf10ef93487e8a41896c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a113001b9e3c0ff95ddc62508d3abddaa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a113001b9e3c0ff95ddc62508d3abddaa">UNREF_LOG</a>(name, p)</td></tr> +<tr class="separator:a113001b9e3c0ff95ddc62508d3abddaa"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> +Typedefs</h2></td></tr> +<tr class="memitem:a5c5a0a02a82c51b4df27922770a17516"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structwaiting__for__connect.html">waiting_for_connect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a5c5a0a02a82c51b4df27922770a17516">waiting_for_connect</a></td></tr> +<tr class="separator:a5c5a0a02a82c51b4df27922770a17516"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a5c7cfbbc599fe46465b5f0c9952af323"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a5c7cfbbc599fe46465b5f0c9952af323">grpc_subchannel_ref</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c <a class="el" href="subchannel_8h.html#aabb025f64b5de653dc110d17add28e74">GRPC_SUBCHANNEL_REF_EXTRA_ARGS</a>)</td></tr> +<tr class="separator:a5c7cfbbc599fe46465b5f0c9952af323"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0afd3a137c42f46e285b7c7d0b7b657f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a0afd3a137c42f46e285b7c7d0b7b657f">grpc_subchannel_unref</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c <a class="el" href="subchannel_8h.html#aabb025f64b5de653dc110d17add28e74">GRPC_SUBCHANNEL_REF_EXTRA_ARGS</a>)</td></tr> +<tr class="separator:a0afd3a137c42f46e285b7c7d0b7b657f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad64aa215ea81487204c6598b4f1572ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ad64aa215ea81487204c6598b4f1572ae">grpc_subchannel_add_interested_party</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c, <a class="el" href="structgrpc__pollset.html">grpc_pollset</a> *pollset)</td></tr> +<tr class="separator:ad64aa215ea81487204c6598b4f1572ae"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a72bfe59d8ad11465896034281729279b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a72bfe59d8ad11465896034281729279b">grpc_subchannel_del_interested_party</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c, <a class="el" href="structgrpc__pollset.html">grpc_pollset</a> *pollset)</td></tr> +<tr class="separator:a72bfe59d8ad11465896034281729279b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5220a721bb5ad91bffbddd12045efff8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a5220a721bb5ad91bffbddd12045efff8">grpc_subchannel_create</a> (<a class="el" href="structgrpc__connector.html">grpc_connector</a> *<a class="el" href="structconnector.html">connector</a>, <a class="el" href="structgrpc__subchannel__args.html">grpc_subchannel_args</a> *args)</td></tr> +<tr class="memdesc:a5220a721bb5ad91bffbddd12045efff8"><td class="mdescLeft"> </td><td class="mdescRight">create a subchannel given a connector <a href="#a5220a721bb5ad91bffbddd12045efff8">More...</a><br/></td></tr> +<tr class="separator:a5220a721bb5ad91bffbddd12045efff8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa6b5c676351c4f7f33b903549edab3b7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#aa6b5c676351c4f7f33b903549edab3b7">grpc_subchannel_create_call</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c, <a class="el" href="structgrpc__pollset.html">grpc_pollset</a> *pollset, <a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> **target, <a class="el" href="structgrpc__iomgr__closure.html">grpc_iomgr_closure</a> *notify)</td></tr> +<tr class="memdesc:aa6b5c676351c4f7f33b903549edab3b7"><td class="mdescLeft"> </td><td class="mdescRight">construct a call (possibly asynchronously) <a href="#aa6b5c676351c4f7f33b903549edab3b7">More...</a><br/></td></tr> +<tr class="separator:aa6b5c676351c4f7f33b903549edab3b7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a92711f9b7c8df9415249685a9c91f2c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="grpc_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a92711f9b7c8df9415249685a9c91f2c9">grpc_subchannel_check_connectivity</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c)</td></tr> +<tr class="memdesc:a92711f9b7c8df9415249685a9c91f2c9"><td class="mdescLeft"> </td><td class="mdescRight">poll the current connectivity state of a channel <a href="#a92711f9b7c8df9415249685a9c91f2c9">More...</a><br/></td></tr> +<tr class="separator:a92711f9b7c8df9415249685a9c91f2c9"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac2e59a5c3a44ba0827b27ccba866389b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#ac2e59a5c3a44ba0827b27ccba866389b">grpc_subchannel_notify_on_state_change</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c, <a class="el" href="grpc_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> *state, <a class="el" href="structgrpc__iomgr__closure.html">grpc_iomgr_closure</a> *notify)</td></tr> +<tr class="memdesc:ac2e59a5c3a44ba0827b27ccba866389b"><td class="mdescLeft"> </td><td class="mdescRight">call notify when the connectivity state of a channel changes from *state. <a href="#ac2e59a5c3a44ba0827b27ccba866389b">More...</a><br/></td></tr> +<tr class="separator:ac2e59a5c3a44ba0827b27ccba866389b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9b95251da4779ae913c33f380a1c33c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a9b95251da4779ae913c33f380a1c33c4">grpc_subchannel_process_transport_op</a> (<a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c, <a class="el" href="structgrpc__transport__op.html">grpc_transport_op</a> *op)</td></tr> +<tr class="memdesc:a9b95251da4779ae913c33f380a1c33c4"><td class="mdescLeft"> </td><td class="mdescRight">process a transport level op <a href="#a9b95251da4779ae913c33f380a1c33c4">More...</a><br/></td></tr> +<tr class="separator:a9b95251da4779ae913c33f380a1c33c4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abb8369d0ae5d3be4e25e9c300ef50067"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#abb8369d0ae5d3be4e25e9c300ef50067">grpc_subchannel_call_ref</a> (<a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *c <a class="el" href="subchannel_8h.html#aabb025f64b5de653dc110d17add28e74">GRPC_SUBCHANNEL_REF_EXTRA_ARGS</a>)</td></tr> +<tr class="separator:abb8369d0ae5d3be4e25e9c300ef50067"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a179d2915801ed037ca90a4de0f7ce060"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a179d2915801ed037ca90a4de0f7ce060">grpc_subchannel_call_unref</a> (<a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *c <a class="el" href="subchannel_8h.html#aabb025f64b5de653dc110d17add28e74">GRPC_SUBCHANNEL_REF_EXTRA_ARGS</a>)</td></tr> +<tr class="separator:a179d2915801ed037ca90a4de0f7ce060"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a552e894b75a9a67f00e4ae312a94cc00"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a552e894b75a9a67f00e4ae312a94cc00">grpc_subchannel_call_get_peer</a> (<a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *call)</td></tr> +<tr class="memdesc:a552e894b75a9a67f00e4ae312a94cc00"><td class="mdescLeft"> </td><td class="mdescRight">continue querying for peer <a href="#a552e894b75a9a67f00e4ae312a94cc00">More...</a><br/></td></tr> +<tr class="separator:a552e894b75a9a67f00e4ae312a94cc00"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0128c4e7cd5939061ea02780e5fa33ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="subchannel_8c.html#a0128c4e7cd5939061ea02780e5fa33ae">grpc_subchannel_call_process_op</a> (<a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *call, <a class="el" href="structgrpc__transport__stream__op.html">grpc_transport_stream_op</a> *op)</td></tr> +<tr class="memdesc:a0128c4e7cd5939061ea02780e5fa33ae"><td class="mdescLeft"> </td><td class="mdescRight">continue processing a transport op <a href="#a0128c4e7cd5939061ea02780e5fa33ae">More...</a><br/></td></tr> +<tr class="separator:a0128c4e7cd5939061ea02780e5fa33ae"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a class="anchor" id="a004980d48eea483363d061723e95834e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define CHANNEL_STACK_FROM_CONNECTION</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">con</td><td>)</td> + <td>   ((<a class="el" href="structgrpc__channel__stack.html">grpc_channel_stack</a> *)((con) + 1))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a5a6df9d57aa14df8c30325f7b403a6ba"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define CONNECTION_REF_LOCKED</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">r </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   connection_ref_locked((p))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a7511e39882d77270a0e73a6ea6bdbf22"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define CONNECTION_UNREF_LOCKED</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">r </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   connection_unref_locked((p))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ab2916ffabb6e97931795c0cb17d5b1a0"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS   1</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a4a297a5d3477460e802c804a945cfb4e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GRPC_SUBCHANNEL_MIN_CONNECT_TIMEOUT_SECONDS   20</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ad1761b478eb46b24379e6d5a9edd30af"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GRPC_SUBCHANNEL_RECONNECT_BACKOFF_MULTIPLIER   1.6</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a9775a74d61f54cd0537630b9b7118802"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GRPC_SUBCHANNEL_RECONNECT_JITTER   0.2</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ad021f6795743d8163fff68703ffb663b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define GRPC_SUBCHANNEL_RECONNECT_MAX_BACKOFF_SECONDS   120</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a12a25b2a728caf10ef93487e8a41896c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define REF_LOG</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">name, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">p </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div> +<div class="line"> } <span class="keywordflow">while</span> (0)</div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a8b6e7b7a1e9f2434b354c7bae2760ab0"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define REF_PASS_ARGS</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a6f8f2e93f13638c3344bed1c0a810a90"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SUBCHANNEL_CALL_TO_CALL_STACK</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">call</td><td>)</td> + <td>   ((<a class="el" href="structgrpc__call__stack.html">grpc_call_stack</a> *)((call) + 1))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ad1c3bb13282f81c8384752ae3e2d74ad"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SUBCHANNEL_REF_LOCKED</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">r </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   subchannel_ref_locked((p))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac827935703a637a3a74cb54936a49f25"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SUBCHANNEL_UNREF_LOCKED</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">p, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">r </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   subchannel_unref_locked((p))</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a113001b9e3c0ff95ddc62508d3abddaa"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define UNREF_LOG</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">name, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">p </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> +<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div> +<div class="line"> } <span class="keywordflow">while</span> (0)</div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Typedef Documentation</h2> +<a class="anchor" id="a5c5a0a02a82c51b4df27922770a17516"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef struct <a class="el" href="structwaiting__for__connect.html">waiting_for_connect</a> <a class="el" href="structwaiting__for__connect.html">waiting_for_connect</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="ad64aa215ea81487204c6598b4f1572ae"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_add_interested_party </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__pollset.html">grpc_pollset</a> * </td> + <td class="paramname"><em>pollset</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a552e894b75a9a67f00e4ae312a94cc00"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">char* grpc_subchannel_call_get_peer </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> * </td> + <td class="paramname"><em>call</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>continue querying for peer </p> + +</div> +</div> +<a class="anchor" id="a0128c4e7cd5939061ea02780e5fa33ae"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_call_process_op </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> * </td> + <td class="paramname"><em>call</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__transport__stream__op.html">grpc_transport_stream_op</a> * </td> + <td class="paramname"><em>op</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>continue processing a transport op </p> + +</div> +</div> +<a class="anchor" id="abb8369d0ae5d3be4e25e9c300ef50067"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_call_ref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *c </td> + <td class="paramname"><em>GRPC_SUBCHANNEL_REF_EXTRA_ARGS</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a179d2915801ed037ca90a4de0f7ce060"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_call_unref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> *c </td> + <td class="paramname"><em>GRPC_SUBCHANNEL_REF_EXTRA_ARGS</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a92711f9b7c8df9415249685a9c91f2c9"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="grpc_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> grpc_subchannel_check_connectivity </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>c</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>poll the current connectivity state of a channel </p> + +</div> +</div> +<a class="anchor" id="a5220a721bb5ad91bffbddd12045efff8"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a>* grpc_subchannel_create </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__connector.html">grpc_connector</a> * </td> + <td class="paramname"><em>connector</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__args.html">grpc_subchannel_args</a> * </td> + <td class="paramname"><em>args</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>create a subchannel given a connector </p> + +</div> +</div> +<a class="anchor" id="aa6b5c676351c4f7f33b903549edab3b7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_create_call </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__pollset.html">grpc_pollset</a> * </td> + <td class="paramname"><em>pollset</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel__call.html">grpc_subchannel_call</a> ** </td> + <td class="paramname"><em>target</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__iomgr__closure.html">grpc_iomgr_closure</a> * </td> + <td class="paramname"><em>notify</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>construct a call (possibly asynchronously) </p> + +</div> +</div> +<a class="anchor" id="a72bfe59d8ad11465896034281729279b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_del_interested_party </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__pollset.html">grpc_pollset</a> * </td> + <td class="paramname"><em>pollset</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ac2e59a5c3a44ba0827b27ccba866389b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_notify_on_state_change </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>channel</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="grpc_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> * </td> + <td class="paramname"><em>state</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__iomgr__closure.html">grpc_iomgr_closure</a> * </td> + <td class="paramname"><em>notify</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>call notify when the connectivity state of a channel changes from *state. </p> +<p>Updates *state with the new state of the channel </p> + +</div> +</div> +<a class="anchor" id="a9b95251da4779ae913c33f380a1c33c4"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_process_transport_op </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> * </td> + <td class="paramname"><em>c</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structgrpc__transport__op.html">grpc_transport_op</a> * </td> + <td class="paramname"><em>op</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>process a transport level op </p> + +</div> +</div> +<a class="anchor" id="a5c7cfbbc599fe46465b5f0c9952af323"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_ref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c </td> + <td class="paramname"><em>GRPC_SUBCHANNEL_REF_EXTRA_ARGS</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a0afd3a137c42f46e285b7c7d0b7b657f"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void grpc_subchannel_unref </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structgrpc__subchannel.html">grpc_subchannel</a> *c </td> + <td class="paramname"><em>GRPC_SUBCHANNEL_REF_EXTRA_ARGS</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated on Wed Aug 5 2015 08:17:07 for GRPC Core by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.6 +</small></address> +</body> +</html> |