sandesha2_msg_ctx.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016  
00017 #ifndef SANDESHA2_MSG_CTX_H
00018 #define SANDESHA2_MSG_CTX_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axiom_soap_envelope.h>
00028 #include <axis2_msg_ctx.h>
00029 #include <axis2_endpoint_ref.h>
00030 #include <axis2_relates_to.h>
00031 #include <sandesha2_iom_rm_part.h>
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00044 typedef struct sandesha2_msg_ctx_t sandesha2_msg_ctx_t;
00045 
00046 AXIS2_EXTERN sandesha2_msg_ctx_t* AXIS2_CALL
00047 sandesha2_msg_ctx_create(
00048     const axutil_env_t *env, 
00049     axis2_msg_ctx_t *msg_ctx);
00050  
00051 axis2_status_t AXIS2_CALL
00052 sandesha2_msg_ctx_set_msg_ctx(
00053     sandesha2_msg_ctx_t *rm_msg_ctx, 
00054     const axutil_env_t *env, 
00055     axis2_msg_ctx_t *msg_ctx);
00056             
00057 axis2_msg_ctx_t *AXIS2_CALL
00058 sandesha2_msg_ctx_get_msg_ctx(
00059     sandesha2_msg_ctx_t *rm_msg_ctx, 
00060     const axutil_env_t *env);
00061     
00062 axis2_status_t AXIS2_CALL
00063 sandesha2_msg_ctx_add_soap_envelope(
00064     sandesha2_msg_ctx_t *rm_msg_ctx,
00065     const axutil_env_t *env);
00066         
00067 int AXIS2_CALL
00068 sandesha2_msg_ctx_get_msg_type (
00069     sandesha2_msg_ctx_t *rm_msg_ctx,
00070     const axutil_env_t *env);
00071         
00072 axis2_status_t AXIS2_CALL
00073 sandesha2_msg_ctx_set_msg_type (
00074     sandesha2_msg_ctx_t *rm_msg_ctx,
00075     const axutil_env_t *env, 
00076     int msg_type);
00077             
00078 axis2_status_t AXIS2_CALL
00079 sandesha2_msg_ctx_set_msg_part (
00080     sandesha2_msg_ctx_t *rm_msg_ctx,
00081     const axutil_env_t *env, 
00082     int part_id,
00083     sandesha2_iom_rm_part_t *part);
00084         
00085 sandesha2_iom_rm_part_t *AXIS2_CALL
00086 sandesha2_msg_ctx_get_msg_part(
00087     sandesha2_msg_ctx_t *rm_msg_ctx,
00088     const axutil_env_t *env, 
00089     int part_id);
00090     
00091 axis2_endpoint_ref_t *AXIS2_CALL
00092 sandesha2_msg_ctx_get_from(
00093     sandesha2_msg_ctx_t *rm_msg_ctx,
00094     const axutil_env_t *env);
00095 
00096 axis2_status_t AXIS2_CALL
00097 sandesha2_msg_ctx_set_from(
00098     sandesha2_msg_ctx_t *rm_msg_ctx,
00099     const axutil_env_t *env, 
00100     axis2_endpoint_ref_t *from);
00101     
00102 axis2_endpoint_ref_t *AXIS2_CALL
00103 sandesha2_msg_ctx_get_to (
00104     sandesha2_msg_ctx_t *rm_msg_ctx, 
00105     const axutil_env_t *env);
00106 
00107 axis2_status_t AXIS2_CALL
00108 sandesha2_msg_ctx_set_to(
00109     sandesha2_msg_ctx_t *rm_msg_ctx, 
00110     const axutil_env_t *env, 
00111     axis2_endpoint_ref_t *to);
00112     
00113 axis2_endpoint_ref_t *AXIS2_CALL
00114 sandesha2_msg_ctx_get_reply_to(
00115     sandesha2_msg_ctx_t *rm_msg_ctx,
00116     const axutil_env_t *env);
00117 
00118 axis2_status_t AXIS2_CALL
00119 sandesha2_msg_ctx_set_reply_to(
00120     sandesha2_msg_ctx_t *rm_msg_ctx,
00121     const axutil_env_t *env, 
00122     axis2_endpoint_ref_t *reply_to);
00123     
00124 axis2_endpoint_ref_t *AXIS2_CALL
00125 sandesha2_msg_ctx_get_fault_to(
00126     sandesha2_msg_ctx_t *rm_msg_ctx,
00127     const axutil_env_t *env);
00128 
00129 axis2_status_t AXIS2_CALL
00130 sandesha2_msg_ctx_set_fault_to(
00131     sandesha2_msg_ctx_t *rm_msg_ctx,
00132     const axutil_env_t *env, 
00133     axis2_endpoint_ref_t *fault_to);
00134     
00135 axis2_relates_to_t *AXIS2_CALL
00136 sandesha2_msg_ctx_get_relates_to(
00137     sandesha2_msg_ctx_t *rm_msg_ctx,
00138     const axutil_env_t *env);
00139 
00140 axis2_status_t AXIS2_CALL
00141 sandesha2_msg_ctx_set_relates_to(
00142     sandesha2_msg_ctx_t *rm_msg_ctx,
00143     const axutil_env_t *env, 
00144     axis2_relates_to_t *relates_to);
00145     
00146 axis2_char_t *AXIS2_CALL
00147 sandesha2_msg_ctx_get_msg_id(
00148     sandesha2_msg_ctx_t *rm_msg_ctx, 
00149     const axutil_env_t *env);
00150 
00151 axis2_status_t AXIS2_CALL
00152 sandesha2_msg_ctx_set_msg_id(
00153     sandesha2_msg_ctx_t *rm_msg_ctx, 
00154     const axutil_env_t *env, 
00155     axis2_char_t *msg_id);
00156     
00157 axiom_soap_envelope_t *AXIS2_CALL
00158 sandesha2_msg_ctx_get_soap_envelope(
00159     sandesha2_msg_ctx_t *rm_msg_ctx,
00160     const axutil_env_t *env);
00161 
00162 axis2_status_t AXIS2_CALL
00163 sandesha2_msg_ctx_set_soap_envelope(
00164     sandesha2_msg_ctx_t *rm_msg_ctx,
00165     const axutil_env_t *env, 
00166     axiom_soap_envelope_t *soap_envelope);
00167             
00168 axis2_char_t *AXIS2_CALL
00169 sandesha2_msg_ctx_get_wsa_action(
00170     sandesha2_msg_ctx_t *rm_msg_ctx,
00171     const axutil_env_t *env);
00172 
00173 axis2_status_t AXIS2_CALL
00174 sandesha2_msg_ctx_set_wsa_action(
00175     sandesha2_msg_ctx_t *rm_msg_ctx,
00176     const axutil_env_t *env, 
00177     axis2_char_t *action);
00178             
00179 void *AXIS2_CALL
00180 sandesha2_msg_ctx_get_property(
00181     sandesha2_msg_ctx_t *rm_msg_ctx,
00182     const axutil_env_t *env, 
00183     axis2_char_t *key);
00184 
00185 axis2_status_t AXIS2_CALL
00186 sandesha2_msg_ctx_set_property(
00187     sandesha2_msg_ctx_t *rm_msg_ctx,
00188     const axutil_env_t *env, 
00189     axis2_char_t *key, 
00190     void *val);
00191     
00192 axis2_status_t AXIS2_CALL
00193 sandesha2_msg_ctx_set_soap_action(
00194     sandesha2_msg_ctx_t *rm_msg_ctx,
00195     const axutil_env_t *env, 
00196     axutil_string_t *soap_action);
00197     
00198 axis2_status_t AXIS2_CALL
00199 sandesha2_msg_ctx_set_paused(
00200     sandesha2_msg_ctx_t *rm_msg_ctx,
00201     const axutil_env_t *env, 
00202     axis2_bool_t paused);
00203     
00204 axis2_char_t *AXIS2_CALL
00205 sandesha2_msg_ctx_get_rm_ns_val(
00206     sandesha2_msg_ctx_t *rm_msg_ctx,
00207     const axutil_env_t *env);
00208 
00209 axis2_status_t AXIS2_CALL
00210 sandesha2_msg_ctx_set_rm_ns_val(
00211     sandesha2_msg_ctx_t *rm_msg_ctx,
00212     const axutil_env_t *env, 
00213     axis2_char_t *ns_val);
00214     
00215 axis2_char_t *AXIS2_CALL
00216 sandesha2_msg_ctx_get_addr_ns_val(
00217     sandesha2_msg_ctx_t *rm_msg_ctx,
00218     const axutil_env_t *env);
00219 
00220 axis2_status_t AXIS2_CALL
00221 sandesha2_msg_ctx_set_addr_ns_val(
00222     sandesha2_msg_ctx_t *rm_msg_ctx,
00223     const axutil_env_t *env, 
00224     axis2_char_t *ns_val);
00225             
00226 int AXIS2_CALL
00227 sandesha2_msg_ctx_get_flow(
00228     sandesha2_msg_ctx_t *rm_msg_ctx,
00229     const axutil_env_t *env);
00230 
00231 axis2_status_t AXIS2_CALL
00232 sandesha2_msg_ctx_set_flow(
00233     sandesha2_msg_ctx_t *rm_msg_ctx,
00234     const axutil_env_t *env, 
00235     int flow);
00236                         
00237 axis2_char_t *AXIS2_CALL
00238 sandesha2_msg_ctx_get_rm_spec_ver(
00239     sandesha2_msg_ctx_t *rm_msg_ctx,
00240     const axutil_env_t *env);
00241             
00242 axis2_status_t AXIS2_CALL 
00243 sandesha2_msg_ctx_free(
00244     sandesha2_msg_ctx_t *rm_msg_ctx, 
00245     const axutil_env_t *env);                                                           
00246     
00247 AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
00248 sandesha2_msg_ctx_get_transport_out_stream(
00249     sandesha2_msg_ctx_t *rm_msg_ctx,
00250     const axutil_env_t *env);
00251 
00252 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00253 sandesha2_msg_ctx_set_transport_out_stream(
00254     sandesha2_msg_ctx_t *rm_msg_ctx,
00255     const axutil_env_t *env,
00256     axutil_stream_t *stream);
00257 
00258 AXIS2_EXTERN struct axis2_http_out_transport_info *AXIS2_CALL
00259 sandesha2_msg_ctx_get_http_out_transport_info(
00260     sandesha2_msg_ctx_t *rm_msg_ctx,
00261     const axutil_env_t *env);
00262 
00263 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00264 sandesha2_msg_ctx_set_http_out_transport_info(
00265     sandesha2_msg_ctx_t *rm_msg_ctx,
00266     const axutil_env_t *env,
00267     struct axis2_http_out_transport_info *http_out_transport_info);
00268 
00269 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00270 sandesha2_msg_ctx_reset_http_out_transport_info(
00271     sandesha2_msg_ctx_t *rm_msg_ctx,
00272     const axutil_env_t *env);
00273 
00275 #ifdef __cplusplus
00276 }
00277 #endif
00278 
00279 #endif /*SANDESHA2_MSG_CTX_H*/

Generated on Mon Oct 1 17:05:56 2007 for Sandesha2/C by  doxygen 1.5.3