blob: 842690072b5aa17b8ff0aaf852a0f57c0303ee22 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Apache Sandesha2/C - Sandesha2/C: sandesha2_client.h Source File</title><style type="text/css" media="all">
@import url("../../style/maven-base.css");
@import url("../../style/maven-classic.css");</style><link rel="stylesheet" href="../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/sandesha2/c" id="projectLogo"><img alt="Apache Sandesha2/C" src="http://ws.apache.org/sandesha2/c/images/sandesha2c_logo.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
Last published: 05 October 2007
| Doc for 0.91</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Sandesha2_C"><h5>Apache Sandesha2/C</h5><ul><li class="none"><a href="../../index.html">Apache Sandesha2/C Home</a></li><li class="expanded"><a href="../../download.cgi">Download Sandesha2/C</a><ul><li class="none"><a href="../../download.cgi">Releases</a></li></ul></li><li class="expanded"><a href="../../docs/index.html">Documentation</a><ul><li class="none"><a href="../../docs/installationguide.html">Installation Guide</a></li><li class="none"><a href="../../docs/sandesha2c_manual.html">Sandesha2/C manual</a></li></ul></li><li class="expanded"><a href="../../lists_issues.html">Get Involved</a><ul><li class="none"><a href="../../lists_issues.html">Mailing Lists &amp; Issue Tracking</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../coding_conventions.html">Developer Guidelines</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Convention</a></li><li class="none"><a href="../../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a href="../../team-list.html">Project Information</a><ul><li class="none"><a href="../../team-list.html">Project Team</a></li><li class="none"><a href="http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/" class="externalLink" title="External Link">Source Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><p>
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div><div class="nav">
<a class="el" href="dir_16487952adfeac4b2b9df719b49efdb6.html">include</a></div></p></div><div class="section"><a name="sandesha2_client_h"></a><h2>sandesha2_client.h</h2><p><a href="sandesha2__client_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright 2004,2005 The Apache Software Foundation.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
<a name="l00005"></a>00005 <span class="comment"> * you may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment"> * You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef SANDESHA2_CLIENT_H</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define SANDESHA2_CLIENT_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;axutil_allocator.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;axutil_env.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;axutil_error.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;axutil_string.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;axutil_utils.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;axutil_hash.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;axutil_uri.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;axutil_array_list.h&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;axis2_svc_client.h&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;axis2_callback.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;axis2_listener_manager.h&gt;</span>
<a name="l00036"></a>00036
<a name="l00037"></a>00037 <span class="preprocessor">#include &lt;<a class="code" href="sandesha2__seq__report_8h.html" title="Sandesha Sequence Report Interface.">sandesha2_seq_report.h</a>&gt;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include &lt;<a class="code" href="sandesha2__report_8h.html" title="Sandesha Report Interface.">sandesha2_report.h</a>&gt;</span>
<a name="l00039"></a>00039
<a name="l00040"></a>00040 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span>
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043 <span class="preprocessor">#endif</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00049"></a>00049 AXIS2_EXTERN sandesha2_seq_report_t *AXIS2_CALL
<a name="l00050"></a>00050 sandesha2_client_get_outgoing_seq_report_with_svc_client(
<a name="l00051"></a>00051 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00052"></a>00052 axis2_svc_client_t *svc_client);
<a name="l00053"></a>00053
<a name="l00054"></a>00054 AXIS2_EXTERN sandesha2_seq_report_t *AXIS2_CALL
<a name="l00055"></a>00055 sandesha2_client_get_outgoing_seq_report_with_seq_key(
<a name="l00056"></a>00056 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00057"></a>00057 axis2_char_t *to,
<a name="l00058"></a>00058 axis2_char_t *seq_key,
<a name="l00059"></a>00059 axis2_conf_ctx_t *conf_ctx);
<a name="l00060"></a>00060
<a name="l00061"></a>00061 AXIS2_EXTERN sandesha2_seq_report_t *AXIS2_CALL
<a name="l00062"></a>00062 sandesha2_client_get_outgoing_seq_report_with_internal_seq_id(
<a name="l00063"></a>00063 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00064"></a>00064 axis2_char_t *internal_seq_id,
<a name="l00065"></a>00065 axis2_conf_ctx_t *conf_ctx);
<a name="l00066"></a>00066
<a name="l00075"></a>00075 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
<a name="l00076"></a>00076 <a class="code" href="group__sandesha2__client.html#gcddb126198dd776e6fe3510af05c9c83">sandesha2_client_get_incoming_seq_reports</a>(
<a name="l00077"></a>00077 axutil_env_t *env,
<a name="l00078"></a>00078 axis2_conf_ctx_t *conf_ctx);
<a name="l00079"></a>00079
<a name="l00088"></a>00088 AXIS2_EXTERN sandesha2_report_t *AXIS2_CALL
<a name="l00089"></a>00089 <a class="code" href="group__sandesha2__client.html#gf3209f1304cac5b886967effdca46d19">sandesha2_client_get_report</a>(
<a name="l00090"></a>00090 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00091"></a>00091 axis2_conf_ctx_t *conf_ctx);
<a name="l00092"></a>00092
<a name="l00093"></a>00093 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00094"></a>00094 sandesha2_client_create_seq_with_svc_client(
<a name="l00095"></a>00095 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00096"></a>00096 axis2_svc_client_t *svc_client,
<a name="l00097"></a>00097 axis2_bool_t offer);
<a name="l00098"></a>00098
<a name="l00099"></a>00099 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00100"></a>00100 sandesha2_client_create_seq_with_svc_client_and_seq_key(
<a name="l00101"></a>00101 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00102"></a>00102 axis2_svc_client_t *svc_client,
<a name="l00103"></a>00103 axis2_bool_t offer,
<a name="l00104"></a>00104 axis2_char_t *seq_key);
<a name="l00105"></a>00105
<a name="l00111"></a>00111 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00112"></a>00112 <a class="code" href="group__sandesha2__client.html#g919ba77611b4567ec4df690c30511346">sandesha2_client_terminate_seq_with_svc_client</a>(
<a name="l00113"></a>00113 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00114"></a>00114 axis2_svc_client_t *svc_client,
<a name="l00115"></a>00115 axis2_callback_t *callback,
<a name="l00116"></a>00116 axis2_listener_manager_t *listener_manager);
<a name="l00117"></a>00117
<a name="l00118"></a>00118 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00119"></a>00119 sandesha2_client_terminate_seq_with_svc_client_and_seq_key(
<a name="l00120"></a>00120 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00121"></a>00121 axis2_svc_client_t *svc_client,
<a name="l00122"></a>00122 axis2_char_t *seq_key);
<a name="l00123"></a>00123
<a name="l00129"></a>00129 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00130"></a>00130 <a class="code" href="group__sandesha2__client.html#ga87fe4d4d6acb961ec9e0baa1b922aa3">sandesha2_client_close_seq_with_svc_client</a>(
<a name="l00131"></a>00131 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00132"></a>00132 axis2_svc_client_t *svc_client);
<a name="l00133"></a>00133
<a name="l00134"></a>00134 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00135"></a>00135 sandesha2_client_close_seq_with_svc_client_and_seq_key(
<a name="l00136"></a>00136 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00137"></a>00137 axis2_svc_client_t *svc_client,
<a name="l00138"></a>00138 axis2_char_t *seq_key);
<a name="l00139"></a>00139
<a name="l00145"></a>00145 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00146"></a>00146 <a class="code" href="group__sandesha2__client.html#g363cad2a393e6b96eb7d01fe0f1c51a2">sandesha2_client_wait_until_seq_completed_with_svc_client</a>(
<a name="l00147"></a>00147 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00148"></a>00148 axis2_svc_client_t *svc_client);
<a name="l00149"></a>00149
<a name="l00150"></a>00150 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00151"></a>00151 sandesha2_client_wait_until_seq_completed_with_svc_client_and_seq_key(
<a name="l00152"></a>00152 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00153"></a>00153 axis2_svc_client_t *svc_client,
<a name="l00154"></a>00154 axis2_char_t *seq_key);
<a name="l00155"></a>00155
<a name="l00163"></a>00163 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00164"></a>00164 <a class="code" href="group__sandesha2__client.html#g5c16e3e0e3e3ff86244af2f09ddf8ab0">sandesha2_client_wait_until_seq_completed_with_svc_client_and_max_waiting_time</a>(
<a name="l00165"></a>00165 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00166"></a>00166 axis2_svc_client_t *svc_client,
<a name="l00167"></a>00167 <span class="keywordtype">long</span> max_waiting_time);
<a name="l00168"></a>00168
<a name="l00169"></a>00169 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00170"></a>00170 sandesha2_client_wait_until_seq_completed_with_svc_client_and_max_waiting_time_and_seq_key(
<a name="l00171"></a>00171 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00172"></a>00172 axis2_svc_client_t *svc_client,
<a name="l00173"></a>00173 <span class="keywordtype">long</span> max_waiting_time,
<a name="l00174"></a>00174 axis2_char_t *seq_key);
<a name="l00175"></a>00175
<a name="l00176"></a>00176 <span class="comment">/* </span>
<a name="l00177"></a>00177 <span class="comment"> * gives the out seqID if CS/CSR exchange is done. Otherwise an error</span>
<a name="l00178"></a>00178 <span class="comment"> */</span>
<a name="l00179"></a>00179 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
<a name="l00180"></a>00180 sandesha2_client_get_seq_id(
<a name="l00181"></a>00181 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00182"></a>00182 axis2_svc_client_t *svc_client);
<a name="l00183"></a>00183
<a name="l00184"></a>00184 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00185"></a>00185 sandesha2_client_send_ack_request_with_svc_client(
<a name="l00186"></a>00186 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00187"></a>00187 axis2_svc_client_t *svc_client);
<a name="l00188"></a>00188
<a name="l00189"></a>00189 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00190"></a>00190 sandesha2_client_send_ack_request_with_svc_client_and_seq_key(
<a name="l00191"></a>00191 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00192"></a>00192 axis2_svc_client_t *svc_client,
<a name="l00193"></a>00193 axis2_char_t *seq_key);
<a name="l00194"></a>00194
<a name="l00195"></a>00195 AXIS2_EXTERN axis2_status_t AXIS2_CALL
<a name="l00196"></a>00196 sandesha2_client_send_non_blocking(
<a name="l00197"></a>00197 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00198"></a>00198 axis2_svc_client_t *svc_client,
<a name="l00199"></a>00199 axis2_options_t *options,
<a name="l00200"></a>00200 axutil_qname_t *op_qname,
<a name="l00201"></a>00201 axis2_callback_t *callback,
<a name="l00202"></a>00202 axiom_node_t *payload,
<a name="l00203"></a>00203 axis2_listener_manager_t *listener_manager);
<a name="l00204"></a>00204
<a name="l00205"></a>00205 AXIS2_EXTERN <span class="keywordtype">void</span> AXIS2_CALL
<a name="l00206"></a>00206 sandesha2_client_fire_and_forget(
<a name="l00207"></a>00207 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00208"></a>00208 axis2_svc_client_t *svc_client,
<a name="l00209"></a>00209 axis2_options_t *options,
<a name="l00210"></a>00210 axutil_qname_t *op_qname,
<a name="l00211"></a>00211 axis2_callback_t *callback,
<a name="l00212"></a>00212 axiom_node_t *payload,
<a name="l00213"></a>00213 axis2_listener_manager_t *listener_manager);
<a name="l00214"></a>00214
<a name="l00224"></a>00224 axiom_node_t *AXIS2_CALL
<a name="l00225"></a>00225 <a class="code" href="group__sandesha2__client.html#g4b4b151e4b9ae41ae37b4621210cee55">sandesha2_client_get_response_envelope</a>(
<a name="l00226"></a>00226 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00227"></a>00227 axis2_conf_ctx_t *conf_ctx,
<a name="l00228"></a>00228 axis2_svc_client_t *svc_client,
<a name="l00229"></a>00229 <span class="keywordtype">int</span> msg_no);
<a name="l00230"></a>00230
<a name="l00231"></a>00231 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00232"></a>00232 <span class="preprocessor"></span>}
<a name="l00233"></a>00233 <span class="preprocessor">#endif</span>
<a name="l00234"></a>00234 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* SANDESHA2_CLIENT_H */</span>
</pre></div></p></div><div class="section"><address style="text-align: right;"><small>Generated on Mon Oct 1 17:19:03 2007 for Sandesha2/C by 
<a href="http://www.doxygen.org/index.html" class="externalLink" title="External Link">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></img></a> 1.5.3 </small></address></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2007, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>