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_create_seq.h>
00032 #include <sandesha2_create_seq_res.h>
00033 #include <sandesha2_close_seq.h>
00034 #include <sandesha2_close_seq_res.h>
00035 #include <sandesha2_terminate_seq.h>
00036 #include <sandesha2_terminate_seq_res.h>
00037 #include <sandesha2_make_connection.h>
00038 #include <sandesha2_msg_pending.h>
00039 #include <sandesha2_seq.h>
00040 #include <sandesha2_seq_ack.h>
00041 #include <sandesha2_ack_requested.h>
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00053 typedef struct sandesha2_msg_ctx_t sandesha2_msg_ctx_t;
00054 
00055 AXIS2_EXTERN sandesha2_msg_ctx_t* AXIS2_CALL
00056 sandesha2_msg_ctx_create(
00057     const axutil_env_t *env, 
00058     axis2_msg_ctx_t *msg_ctx);
00059  
00060 axis2_status_t AXIS2_CALL
00061 sandesha2_msg_ctx_set_msg_ctx(
00062     sandesha2_msg_ctx_t *rm_msg_ctx, 
00063     const axutil_env_t *env, 
00064     axis2_msg_ctx_t *msg_ctx);
00065             
00066 axis2_msg_ctx_t *AXIS2_CALL
00067 sandesha2_msg_ctx_get_msg_ctx(
00068     sandesha2_msg_ctx_t *rm_msg_ctx, 
00069     const axutil_env_t *env);
00070     
00071 axis2_status_t AXIS2_CALL
00072 sandesha2_msg_ctx_add_soap_envelope(
00073     sandesha2_msg_ctx_t *rm_msg_ctx,
00074     const axutil_env_t *env);
00075         
00076 int AXIS2_CALL
00077 sandesha2_msg_ctx_get_msg_type (
00078     sandesha2_msg_ctx_t *rm_msg_ctx,
00079     const axutil_env_t *env);
00080         
00081 axis2_status_t AXIS2_CALL
00082 sandesha2_msg_ctx_set_msg_type (
00083     sandesha2_msg_ctx_t *rm_msg_ctx,
00084     const axutil_env_t *env, 
00085     int msg_type);
00086             
00087 axis2_endpoint_ref_t *AXIS2_CALL
00088 sandesha2_msg_ctx_get_from(
00089     sandesha2_msg_ctx_t *rm_msg_ctx,
00090     const axutil_env_t *env);
00091 
00092 axis2_status_t AXIS2_CALL
00093 sandesha2_msg_ctx_set_from(
00094     sandesha2_msg_ctx_t *rm_msg_ctx,
00095     const axutil_env_t *env, 
00096     axis2_endpoint_ref_t *from);
00097     
00098 axis2_endpoint_ref_t *AXIS2_CALL
00099 sandesha2_msg_ctx_get_to (
00100     sandesha2_msg_ctx_t *rm_msg_ctx, 
00101     const axutil_env_t *env);
00102 
00103 axis2_status_t AXIS2_CALL
00104 sandesha2_msg_ctx_set_to(
00105     sandesha2_msg_ctx_t *rm_msg_ctx, 
00106     const axutil_env_t *env, 
00107     axis2_endpoint_ref_t *to);
00108     
00109 axis2_endpoint_ref_t *AXIS2_CALL
00110 sandesha2_msg_ctx_get_reply_to(
00111     sandesha2_msg_ctx_t *rm_msg_ctx,
00112     const axutil_env_t *env);
00113 
00114 axis2_status_t AXIS2_CALL
00115 sandesha2_msg_ctx_set_reply_to(
00116     sandesha2_msg_ctx_t *rm_msg_ctx,
00117     const axutil_env_t *env, 
00118     axis2_endpoint_ref_t *reply_to);
00119     
00120 axis2_endpoint_ref_t *AXIS2_CALL
00121 sandesha2_msg_ctx_get_fault_to(
00122     sandesha2_msg_ctx_t *rm_msg_ctx,
00123     const axutil_env_t *env);
00124 
00125 axis2_status_t AXIS2_CALL
00126 sandesha2_msg_ctx_set_fault_to(
00127     sandesha2_msg_ctx_t *rm_msg_ctx,
00128     const axutil_env_t *env, 
00129     axis2_endpoint_ref_t *fault_to);
00130     
00131 axis2_relates_to_t *AXIS2_CALL
00132 sandesha2_msg_ctx_get_relates_to(
00133     sandesha2_msg_ctx_t *rm_msg_ctx,
00134     const axutil_env_t *env);
00135 
00136 axis2_status_t AXIS2_CALL
00137 sandesha2_msg_ctx_set_relates_to(
00138     sandesha2_msg_ctx_t *rm_msg_ctx,
00139     const axutil_env_t *env, 
00140     axis2_relates_to_t *relates_to);
00141     
00142 axis2_char_t *AXIS2_CALL
00143 sandesha2_msg_ctx_get_msg_id(
00144     sandesha2_msg_ctx_t *rm_msg_ctx, 
00145     const axutil_env_t *env);
00146 
00147 axis2_status_t AXIS2_CALL
00148 sandesha2_msg_ctx_set_msg_id(
00149     sandesha2_msg_ctx_t *rm_msg_ctx, 
00150     const axutil_env_t *env, 
00151     axis2_char_t *msg_id);
00152     
00153 axiom_soap_envelope_t *AXIS2_CALL
00154 sandesha2_msg_ctx_get_soap_envelope(
00155     sandesha2_msg_ctx_t *rm_msg_ctx,
00156     const axutil_env_t *env);
00157 
00158 axis2_status_t AXIS2_CALL
00159 sandesha2_msg_ctx_set_soap_envelope(
00160     sandesha2_msg_ctx_t *rm_msg_ctx,
00161     const axutil_env_t *env, 
00162     axiom_soap_envelope_t *soap_envelope);
00163             
00164 axis2_char_t *AXIS2_CALL
00165 sandesha2_msg_ctx_get_wsa_action(
00166     sandesha2_msg_ctx_t *rm_msg_ctx,
00167     const axutil_env_t *env);
00168 
00169 axis2_status_t AXIS2_CALL
00170 sandesha2_msg_ctx_set_wsa_action(
00171     sandesha2_msg_ctx_t *rm_msg_ctx,
00172     const axutil_env_t *env, 
00173     axis2_char_t *action);
00174             
00175 void *AXIS2_CALL
00176 sandesha2_msg_ctx_get_property(
00177     sandesha2_msg_ctx_t *rm_msg_ctx,
00178     const axutil_env_t *env, 
00179     axis2_char_t *key);
00180 
00181 axis2_status_t AXIS2_CALL
00182 sandesha2_msg_ctx_set_property(
00183     sandesha2_msg_ctx_t *rm_msg_ctx,
00184     const axutil_env_t *env, 
00185     axis2_char_t *key, 
00186     void *val);
00187     
00188 axis2_status_t AXIS2_CALL
00189 sandesha2_msg_ctx_set_soap_action(
00190     sandesha2_msg_ctx_t *rm_msg_ctx,
00191     const axutil_env_t *env, 
00192     axutil_string_t *soap_action);
00193     
00194 axis2_status_t AXIS2_CALL
00195 sandesha2_msg_ctx_set_paused(
00196     sandesha2_msg_ctx_t *rm_msg_ctx,
00197     const axutil_env_t *env, 
00198     axis2_bool_t paused);
00199     
00200 axis2_char_t *AXIS2_CALL
00201 sandesha2_msg_ctx_get_rm_ns_val(
00202     sandesha2_msg_ctx_t *rm_msg_ctx,
00203     const axutil_env_t *env);
00204 
00205 axis2_status_t AXIS2_CALL
00206 sandesha2_msg_ctx_set_rm_ns_val(
00207     sandesha2_msg_ctx_t *rm_msg_ctx,
00208     const axutil_env_t *env, 
00209     axis2_char_t *ns_val);
00210     
00211 axis2_char_t *AXIS2_CALL
00212 sandesha2_msg_ctx_get_addr_ns_val(
00213     sandesha2_msg_ctx_t *rm_msg_ctx,
00214     const axutil_env_t *env);
00215 
00216 axis2_status_t AXIS2_CALL
00217 sandesha2_msg_ctx_set_addr_ns_val(
00218     sandesha2_msg_ctx_t *rm_msg_ctx,
00219     const axutil_env_t *env, 
00220     axis2_char_t *ns_val);
00221             
00222 int AXIS2_CALL
00223 sandesha2_msg_ctx_get_flow(
00224     sandesha2_msg_ctx_t *rm_msg_ctx,
00225     const axutil_env_t *env);
00226 
00227 axis2_status_t AXIS2_CALL
00228 sandesha2_msg_ctx_set_flow(
00229     sandesha2_msg_ctx_t *rm_msg_ctx,
00230     const axutil_env_t *env, 
00231     int flow);
00232                         
00233 axis2_char_t *AXIS2_CALL
00234 sandesha2_msg_ctx_get_rm_spec_ver(
00235     sandesha2_msg_ctx_t *rm_msg_ctx,
00236     const axutil_env_t *env);
00237             
00238 axis2_status_t AXIS2_CALL 
00239 sandesha2_msg_ctx_free(
00240     sandesha2_msg_ctx_t *rm_msg_ctx, 
00241     const axutil_env_t *env);                                                           
00242     
00243 AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
00244 sandesha2_msg_ctx_get_transport_out_stream(
00245     sandesha2_msg_ctx_t *rm_msg_ctx,
00246     const axutil_env_t *env);
00247 
00248 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00249 sandesha2_msg_ctx_set_transport_out_stream(
00250     sandesha2_msg_ctx_t *rm_msg_ctx,
00251     const axutil_env_t *env,
00252     axutil_stream_t *stream);
00253 
00254 AXIS2_EXTERN struct axis2_out_transport_info *AXIS2_CALL
00255 sandesha2_msg_ctx_get_out_transport_info(
00256     sandesha2_msg_ctx_t *rm_msg_ctx,
00257     const axutil_env_t *env);
00258 
00259 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00260 sandesha2_msg_ctx_set_out_transport_info(
00261     sandesha2_msg_ctx_t *rm_msg_ctx,
00262     const axutil_env_t *env,
00263     struct axis2_out_transport_info *http_out_transport_info);
00264 
00265 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00266 sandesha2_msg_ctx_reset_out_transport_info(
00267     sandesha2_msg_ctx_t *rm_msg_ctx,
00268     const axutil_env_t *env);
00269 
00270 axis2_status_t AXIS2_CALL
00271 sandesha2_msg_ctx_set_create_seq(
00272     sandesha2_msg_ctx_t *rm_msg_ctx,
00273     const axutil_env_t *env,
00274     sandesha2_create_seq_t *create_seq);
00275 
00276 sandesha2_create_seq_t *AXIS2_CALL
00277 sandesha2_msg_ctx_get_create_seq(
00278     sandesha2_msg_ctx_t *rm_msg_ctx,
00279     const axutil_env_t *env);
00280 
00281 axis2_status_t AXIS2_CALL
00282 sandesha2_msg_ctx_set_create_seq_res(
00283     sandesha2_msg_ctx_t *rm_msg_ctx,
00284     const axutil_env_t *env,
00285     sandesha2_create_seq_res_t *create_seq_res);
00286 
00287 sandesha2_create_seq_res_t *AXIS2_CALL
00288 sandesha2_msg_ctx_get_create_seq_res(
00289     sandesha2_msg_ctx_t *rm_msg_ctx,
00290     const axutil_env_t *env);
00291 
00292 axis2_status_t AXIS2_CALL
00293 sandesha2_msg_ctx_set_close_seq(
00294     sandesha2_msg_ctx_t *rm_msg_ctx,
00295     const axutil_env_t *env,
00296     sandesha2_close_seq_t *close_seq);
00297 
00298 sandesha2_close_seq_t *AXIS2_CALL
00299 sandesha2_msg_ctx_get_close_seq(
00300     sandesha2_msg_ctx_t *rm_msg_ctx,
00301     const axutil_env_t *env);
00302 
00303 axis2_status_t AXIS2_CALL
00304 sandesha2_msg_ctx_set_close_seq_res(
00305     sandesha2_msg_ctx_t *rm_msg_ctx,
00306     const axutil_env_t *env,
00307     sandesha2_close_seq_res_t *close_seq_res);
00308 
00309 sandesha2_close_seq_res_t *AXIS2_CALL
00310 sandesha2_msg_ctx_get_close_seq_res(
00311     sandesha2_msg_ctx_t *rm_msg_ctx,
00312     const axutil_env_t *env);
00313 
00314 axis2_status_t AXIS2_CALL
00315 sandesha2_msg_ctx_set_terminate_seq(
00316     sandesha2_msg_ctx_t *rm_msg_ctx,
00317     const axutil_env_t *env,
00318     sandesha2_terminate_seq_t *terminate_seq);
00319 
00320 sandesha2_terminate_seq_t *AXIS2_CALL
00321 sandesha2_msg_ctx_get_terminate_seq(
00322     sandesha2_msg_ctx_t *rm_msg_ctx,
00323     const axutil_env_t *env);
00324 
00325 axis2_status_t AXIS2_CALL
00326 sandesha2_msg_ctx_set_terminate_seq_res(
00327     sandesha2_msg_ctx_t *rm_msg_ctx,
00328     const axutil_env_t *env,
00329     sandesha2_terminate_seq_res_t *terminate_seq_res);
00330 
00331 sandesha2_terminate_seq_res_t *AXIS2_CALL
00332 sandesha2_msg_ctx_get_terminate_seq_res(
00333     sandesha2_msg_ctx_t *rm_msg_ctx,
00334     const axutil_env_t *env);
00335 
00336 axis2_status_t AXIS2_CALL
00337 sandesha2_msg_ctx_set_make_connection(
00338     sandesha2_msg_ctx_t *rm_msg_ctx,
00339     const axutil_env_t *env,
00340     sandesha2_make_connection_t *make_connection);
00341 
00342 sandesha2_make_connection_t *AXIS2_CALL
00343 sandesha2_msg_ctx_get_make_connection(
00344     sandesha2_msg_ctx_t *rm_msg_ctx,
00345     const axutil_env_t *env);
00346 
00347 axis2_status_t AXIS2_CALL
00348 sandesha2_msg_ctx_set_msg_pending(
00349     sandesha2_msg_ctx_t *rm_msg_ctx,
00350     const axutil_env_t *env,
00351     sandesha2_msg_pending_t *msg_pending);
00352 
00353 sandesha2_msg_pending_t *AXIS2_CALL
00354 sandesha2_msg_ctx_get_msg_pending(
00355     sandesha2_msg_ctx_t *rm_msg_ctx,
00356     const axutil_env_t *env);
00357 
00358 axis2_status_t AXIS2_CALL
00359 sandesha2_msg_ctx_set_sequence(
00360     sandesha2_msg_ctx_t *rm_msg_ctx,
00361     const axutil_env_t *env,
00362     sandesha2_seq_t *seq);
00363 
00364 sandesha2_seq_t *AXIS2_CALL
00365 sandesha2_msg_ctx_get_sequence(
00366     sandesha2_msg_ctx_t *rm_msg_ctx,
00367     const axutil_env_t *env);
00368 
00369 axis2_status_t AXIS2_CALL
00370 sandesha2_msg_ctx_set_seq_ack(
00371     sandesha2_msg_ctx_t *rm_msg_ctx,
00372     const axutil_env_t *env,
00373     sandesha2_seq_ack_t *seq_ack);
00374 
00375 sandesha2_seq_ack_t *AXIS2_CALL
00376 sandesha2_msg_ctx_get_seq_ack(
00377     sandesha2_msg_ctx_t *rm_msg_ctx,
00378     const axutil_env_t *env);
00379 
00380 axis2_status_t AXIS2_CALL
00381 sandesha2_msg_ctx_set_ack_requested(
00382     sandesha2_msg_ctx_t *rm_msg_ctx,
00383     const axutil_env_t *env,
00384     sandesha2_ack_requested_t *ack_requested);
00385  
00386 sandesha2_ack_requested_t *AXIS2_CALL
00387 sandesha2_msg_ctx_get_ack_requested(
00388     sandesha2_msg_ctx_t *rm_msg_ctx,
00389     const axutil_env_t *env);
00390 
00391 axis2_bool_t AXIS2_CALL
00392 sandesha2_msg_ctx_get_server_side(
00393     const sandesha2_msg_ctx_t * rm_msg_ctx,
00394     const axutil_env_t * env);
00395 
00396 axis2_status_t AXIS2_CALL
00397 sandesha2_msg_ctx_set_server_side(
00398     const sandesha2_msg_ctx_t * rm_msg_ctx,
00399     const axutil_env_t * env,
00400     const axis2_bool_t server_side);
00401 
00403 #ifdef __cplusplus
00404 }
00405 #endif
00406 
00407 #endif /*SANDESHA2_MSG_CTX_H*/

Generated on Wed Oct 14 01:02:17 2009 for Sandesha2/C by  doxygen 1.5.7.1