blob: a49f07dd81cf50e6792dce434bfc78455ce614df [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_sender_mgr.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_sender_mgr_h"></a><h2>sandesha2_sender_mgr.h</h2><p><a href="sandesha2__sender__mgr_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_SENDER_MGR_H</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define SANDESHA2_SENDER_MGR_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;axis2_ctx.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;axutil_array_list.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;sandesha2_sender_bean.h&gt;</span>
<a name="l00033"></a>00033
<a name="l00034"></a>00034 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 <span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="keyword">typedef</span> <span class="keyword">struct </span>sandesha2_sender_mgr sandesha2_sender_mgr_t;
<a name="l00040"></a>00040 <span class="keyword">typedef</span> <span class="keyword">struct </span>sandesha2_sender_mgr_ops sandesha2_sender_mgr_ops_t;
<a name="l00041"></a>00041
<a name="l00046"></a>00046 AXIS2_DECLARE_DATA <span class="keyword">struct </span>sandesha2_sender_mgr_ops
<a name="l00047"></a>00047 {
<a name="l00052"></a>00052 void (AXIS2_CALL *
<a name="l00053"></a>00053 free)(
<a name="l00054"></a>00054 sandesha2_sender_mgr_t *sender,
<a name="l00055"></a>00055 <span class="keyword">const</span> axutil_env_t *env);
<a name="l00056"></a>00056
<a name="l00057"></a>00057 axis2_bool_t (AXIS2_CALL *
<a name="l00058"></a>00058 insert)(
<a name="l00059"></a>00059 sandesha2_sender_mgr_t *sender,
<a name="l00060"></a>00060 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00061"></a>00061 sandesha2_sender_bean_t *bean);
<a name="l00062"></a>00062
<a name="l00063"></a>00063 axis2_bool_t (AXIS2_CALL *
<a name="l00064"></a>00064 <span class="keyword">remove</span>)(
<a name="l00065"></a>00065 sandesha2_sender_mgr_t *sender,
<a name="l00066"></a>00066 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00067"></a>00067 axis2_char_t *msg_id);
<a name="l00068"></a>00068
<a name="l00069"></a>00069 sandesha2_sender_bean_t *(AXIS2_CALL *
<a name="l00070"></a>00070 retrieve)(
<a name="l00071"></a>00071 sandesha2_sender_mgr_t *sender,
<a name="l00072"></a>00072 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00073"></a>00073 axis2_char_t *msg_id);
<a name="l00074"></a>00074
<a name="l00075"></a>00075 axis2_bool_t (AXIS2_CALL *
<a name="l00076"></a>00076 update)(
<a name="l00077"></a>00077 sandesha2_sender_mgr_t *sender,
<a name="l00078"></a>00078 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00079"></a>00079 sandesha2_sender_bean_t *bean);
<a name="l00080"></a>00080
<a name="l00081"></a>00081 axutil_array_list_t *(AXIS2_CALL *
<a name="l00082"></a>00082 find_by_internal_seq_id)(
<a name="l00083"></a>00083 sandesha2_sender_mgr_t *sender,
<a name="l00084"></a>00084 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00085"></a>00085 axis2_char_t *internal_seq_id);
<a name="l00086"></a>00086
<a name="l00087"></a>00087 axutil_array_list_t *(AXIS2_CALL *
<a name="l00088"></a>00088 find_by_sender_bean)(
<a name="l00089"></a>00089 sandesha2_sender_mgr_t *sender,
<a name="l00090"></a>00090 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00091"></a>00091 sandesha2_sender_bean_t *bean);
<a name="l00092"></a>00092
<a name="l00093"></a>00093 sandesha2_sender_bean_t *(AXIS2_CALL *
<a name="l00094"></a>00094 find_unique)(
<a name="l00095"></a>00095 sandesha2_sender_mgr_t *sender,
<a name="l00096"></a>00096 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00097"></a>00097 sandesha2_sender_bean_t *bean);
<a name="l00098"></a>00098
<a name="l00099"></a>00099 sandesha2_sender_bean_t *(AXIS2_CALL *
<a name="l00100"></a>00100 get_next_msg_to_send)(
<a name="l00101"></a>00101 sandesha2_sender_mgr_t *sender,
<a name="l00102"></a>00102 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00103"></a>00103 <span class="keyword">const</span> axis2_char_t *seq_id);
<a name="l00104"></a>00104 };
<a name="l00105"></a>00105
<a name="l00106"></a>00106 AXIS2_DECLARE_DATA <span class="keyword">struct </span>sandesha2_sender_mgr
<a name="l00107"></a>00107 {
<a name="l00108"></a>00108 sandesha2_sender_mgr_ops_t ops;
<a name="l00109"></a>00109 };
<a name="l00110"></a>00110
<a name="l00111"></a>00111 AXIS2_EXTERN sandesha2_sender_mgr_t * AXIS2_CALL
<a name="l00112"></a>00112 sandesha2_sender_mgr_create(
<a name="l00113"></a>00113 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00114"></a>00114 axis2_ctx_t *ctx);
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="keywordtype">void</span> AXIS2_CALL
<a name="l00117"></a>00117 sandesha2_sender_mgr_free(
<a name="l00118"></a>00118 sandesha2_sender_mgr_t *sender,
<a name="l00119"></a>00119 <span class="keyword">const</span> axutil_env_t *envv);
<a name="l00120"></a>00120
<a name="l00121"></a>00121 axis2_bool_t AXIS2_CALL
<a name="l00122"></a>00122 sandesha2_sender_mgr_insert(
<a name="l00123"></a>00123 sandesha2_sender_mgr_t *sender,
<a name="l00124"></a>00124 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00125"></a>00125 sandesha2_sender_bean_t *bean);
<a name="l00126"></a>00126
<a name="l00127"></a>00127 axis2_bool_t AXIS2_CALL
<a name="l00128"></a>00128 sandesha2_sender_mgr_remove(
<a name="l00129"></a>00129 sandesha2_sender_mgr_t *sender,
<a name="l00130"></a>00130 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00131"></a>00131 axis2_char_t *msg_id);
<a name="l00132"></a>00132
<a name="l00133"></a>00133 sandesha2_sender_bean_t *AXIS2_CALL
<a name="l00134"></a>00134 sandesha2_sender_mgr_retrieve(
<a name="l00135"></a>00135 sandesha2_sender_mgr_t *sender,
<a name="l00136"></a>00136 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00137"></a>00137 axis2_char_t *msg_id);
<a name="l00138"></a>00138
<a name="l00139"></a>00139 axis2_bool_t AXIS2_CALL
<a name="l00140"></a>00140 sandesha2_sender_mgr_update(
<a name="l00141"></a>00141 sandesha2_sender_mgr_t *sender,
<a name="l00142"></a>00142 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00143"></a>00143 sandesha2_sender_bean_t *bean);
<a name="l00144"></a>00144
<a name="l00145"></a>00145 axutil_array_list_t *AXIS2_CALL
<a name="l00146"></a>00146 sandesha2_sender_mgr_find_by_internal_seq_id(
<a name="l00147"></a>00147 sandesha2_sender_mgr_t *sender,
<a name="l00148"></a>00148 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00149"></a>00149 axis2_char_t *internal_seq_id);
<a name="l00150"></a>00150
<a name="l00151"></a>00151 axutil_array_list_t *AXIS2_CALL
<a name="l00152"></a>00152 sandesha2_sender_mgr_find_by_sender_bean(
<a name="l00153"></a>00153 sandesha2_sender_mgr_t *sender,
<a name="l00154"></a>00154 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00155"></a>00155 sandesha2_sender_bean_t *bean);
<a name="l00156"></a>00156
<a name="l00157"></a>00157 sandesha2_sender_bean_t *AXIS2_CALL
<a name="l00158"></a>00158 sandesha2_sender_mgr_find_unique(
<a name="l00159"></a>00159 sandesha2_sender_mgr_t *sender,
<a name="l00160"></a>00160 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00161"></a>00161 sandesha2_sender_bean_t *bean);
<a name="l00162"></a>00162
<a name="l00163"></a>00163 sandesha2_sender_bean_t *AXIS2_CALL
<a name="l00164"></a>00164 sandesha2_sender_mgr_get_next_msg_to_send(
<a name="l00165"></a>00165 sandesha2_sender_mgr_t *sender,
<a name="l00166"></a>00166 <span class="keyword">const</span> axutil_env_t *env,
<a name="l00167"></a>00167 <span class="keyword">const</span> axis2_char_t *seq_id);
<a name="l00168"></a>00168
<a name="l00170"></a>00170 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00171"></a>00171 <span class="preprocessor"></span>}
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* SANDESHA2_SENDER_MGR_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>