Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axis2_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 AXIS2_MSG_CTX_H
00018 #define AXIS2_MSG_CTX_H
00019 
00020 
00026 #include <axis2_defines.h>
00027 #include <axis2_env.h>
00028 #include <axis2_ctx.h>
00029 #include <axis2_relates_to.h>
00030 #include <axis2_param.h>
00031 #include <axis2_handler_desc.h>
00032 #include <axis2_qname.h>
00033 #include <axis2_msg_info_headers.h>
00034 
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039 
00046 #define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS"
00047 
00048 #define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT"
00049 
00050 #define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN"
00051 
00052 #define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING"
00053 
00054 #define AXIS2_UTF_8 "UTF-8"
00055 
00056 #define AXIS2_UTF_16 "utf-16"
00057 
00058 #define AXIS2_DEFAULT_CHAR_SET_ENCODING "UTF-8"
00059 
00060 #define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED"
00061 /* HTTP Client */
00062 #define AXIS2_HTTP_CLIENT "AXIS2_HTTP_CLIENT"
00063 
00064 #define AXIS2_TRANSPORT_URL "TransportURL"
00065     
00066 typedef struct axis2_msg_ctx_ops axis2_msg_ctx_ops_t;
00067 typedef struct axis2_msg_ctx axis2_msg_ctx_t; 
00068 struct axis2_svc;    
00069 struct axis2_op;
00070     
00071 struct axis2_conf_ctx;
00072 struct axis2_svc_grp_ctx;
00073 struct axis2_svc_ctx;
00074 struct axis2_op_ctx;
00075 struct axis2_conf;
00076 struct axiom_soap_envelope;
00077 struct axis2_options;
00078     
00083 struct axis2_msg_ctx_ops
00084 {
00085     struct axis2_ctx* (AXIS2_CALL *
00086    get_base)(struct axis2_msg_ctx *msg_ctx, 
00087               const axis2_env_t *env);
00088    
00089     
00090     struct axis2_op_ctx* (AXIS2_CALL *
00091    get_parent)(struct axis2_msg_ctx *msg_ctx, 
00092                 const axis2_env_t *env);
00093     
00097     axis2_status_t (AXIS2_CALL *
00098    set_parent)(struct axis2_msg_ctx *msg_ctx, 
00099                 const axis2_env_t *env, 
00100                 struct axis2_op_ctx *parent);
00101                
00102             
00103     
00104     axis2_status_t (AXIS2_CALL *
00105    free)(axis2_msg_ctx_t *msg_ctx,
00106           const axis2_env_t *env);
00111     axis2_status_t (AXIS2_CALL *
00112    init)(struct axis2_msg_ctx *msg_ctx, 
00113           const axis2_env_t *env, 
00114           struct axis2_conf *conf);
00115     
00119     axis2_endpoint_ref_t *(AXIS2_CALL *
00120    get_fault_to)(struct axis2_msg_ctx *msg_ctx, 
00121                   const axis2_env_t *env);
00122     
00126     axis2_endpoint_ref_t *(AXIS2_CALL *
00127    get_from)(struct axis2_msg_ctx *msg_ctx, 
00128               const axis2_env_t *env);
00129     
00130     
00134     axis2_bool_t (AXIS2_CALL *
00135    get_in_fault_flow)(struct axis2_msg_ctx *msg_ctx, 
00136                        const axis2_env_t *env);
00137     
00141     struct axiom_soap_envelope* (AXIS2_CALL *
00142    get_soap_envelope)(struct axis2_msg_ctx *msg_ctx, 
00143                        const axis2_env_t *env);
00144     
00145     struct axiom_soap_envelope* (AXIS2_CALL *
00146    get_fault_soap_envelope)(struct axis2_msg_ctx *msg_ctx, 
00147                        const axis2_env_t *env);
00148     
00152     axis2_char_t* (AXIS2_CALL *
00153    get_msg_id)(struct axis2_msg_ctx *msg_ctx, 
00154                 const axis2_env_t *env);
00155     
00159     axis2_bool_t (AXIS2_CALL *
00160    get_process_fault)(struct axis2_msg_ctx *msg_ctx, 
00161                        const axis2_env_t *env);
00162     
00166     axis2_relates_to_t* (AXIS2_CALL *
00167    get_relates_to)(struct axis2_msg_ctx *msg_ctx, 
00168                     const axis2_env_t *env);    
00169     
00173     axis2_endpoint_ref_t *(AXIS2_CALL *
00174    get_reply_to)(struct axis2_msg_ctx *msg_ctx, 
00175                   const axis2_env_t *env);
00176     
00177     
00181     axis2_bool_t (AXIS2_CALL *
00182    get_response_written)(struct axis2_msg_ctx *msg_ctx, 
00183                           const axis2_env_t *env);
00184     
00188     axis2_bool_t (AXIS2_CALL *
00189    get_server_side)(struct axis2_msg_ctx *msg_ctx, 
00190                      const axis2_env_t *env);
00191     
00195     axis2_endpoint_ref_t* (AXIS2_CALL *
00196    get_to)(struct axis2_msg_ctx *msg_ctx, 
00197             const axis2_env_t *env);
00198     
00202     axis2_status_t (AXIS2_CALL *
00203    set_fault_to)(struct axis2_msg_ctx *msg_ctx, 
00204                   const axis2_env_t *env, 
00205                  axis2_endpoint_ref_t *reference);
00206     
00210     axis2_status_t (AXIS2_CALL *
00211    set_from)(struct axis2_msg_ctx *msg_ctx, 
00212               const axis2_env_t *env, 
00213              axis2_endpoint_ref_t *reference);
00214     
00218     axis2_status_t (AXIS2_CALL *
00219    set_in_fault_flow)(struct axis2_msg_ctx *msg_ctx, 
00220                        const axis2_env_t *env, 
00221                   axis2_bool_t in_fault_flow);
00222     
00226     axis2_status_t (AXIS2_CALL *
00227    set_soap_envelope)(struct axis2_msg_ctx *msg_ctx, 
00228                   const axis2_env_t *env, 
00229                   struct axiom_soap_envelope *soap_envelope);
00230     
00231     axis2_status_t (AXIS2_CALL *
00232    set_fault_soap_envelope)(struct axis2_msg_ctx *msg_ctx, 
00233                   const axis2_env_t *env, 
00234                   struct axiom_soap_envelope *soap_envelope);
00235     
00239     axis2_status_t (AXIS2_CALL *
00240    set_message_id)(struct axis2_msg_ctx *msg_ctx, 
00241                     const axis2_env_t *env, 
00242                axis2_char_t *message_id);
00243     
00247     axis2_status_t (AXIS2_CALL *
00248    set_process_fault)(struct axis2_msg_ctx *msg_ctx, 
00249                        const axis2_env_t *env, 
00250                        axis2_bool_t process_fault);
00251     
00255     axis2_status_t (AXIS2_CALL *
00256    set_relates_to)(struct axis2_msg_ctx *msg_ctx, 
00257                     const axis2_env_t *env, 
00258                     axis2_relates_to_t *reference);
00259     
00263     axis2_status_t (AXIS2_CALL *
00264    set_reply_to)(struct axis2_msg_ctx *msg_ctx, 
00265                   const axis2_env_t *env, 
00266                   axis2_endpoint_ref_t *referance);
00267     
00271     axis2_status_t (AXIS2_CALL *
00272    set_response_written)(struct axis2_msg_ctx *msg_ctx, 
00273                           const axis2_env_t *env, 
00274                           axis2_bool_t response_written);
00275     
00279     axis2_status_t (AXIS2_CALL *
00280    set_server_side)(struct axis2_msg_ctx *msg_ctx, 
00281                      const axis2_env_t *env, 
00282                      axis2_bool_t server_side);
00283     
00287     axis2_status_t (AXIS2_CALL *
00288    set_to)(struct axis2_msg_ctx *msg_ctx, 
00289             const axis2_env_t *env, 
00290             axis2_endpoint_ref_t *referance);
00291     
00295     axis2_bool_t (AXIS2_CALL *
00296    get_new_thread_required)(struct axis2_msg_ctx *msg_ctx, 
00297                              const axis2_env_t *env);
00298     
00302     axis2_status_t (AXIS2_CALL *
00303    set_new_thread_required)(struct axis2_msg_ctx *msg_ctx, 
00304                              const axis2_env_t *env, 
00305                              axis2_bool_t new_thread_required);
00306     
00310     axis2_status_t (AXIS2_CALL *
00311    set_wsa_action)(struct axis2_msg_ctx *msg_ctx, 
00312                     const axis2_env_t *env, 
00313                     const axis2_char_t *action_uri);
00314     
00315     axis2_char_t* (AXIS2_CALL *
00316    get_wsa_action)(struct axis2_msg_ctx *msg_ctx, 
00317                     const axis2_env_t *env);
00318 
00319     axis2_status_t (AXIS2_CALL *
00320    set_wsa_message_id)(struct axis2_msg_ctx *msg_ctx, 
00321                         const axis2_env_t *env, 
00322                         axis2_char_t *message_id);
00323     
00324     axis2_char_t* (AXIS2_CALL *
00325    get_wsa_message_id)(struct axis2_msg_ctx *msg_ctx, 
00326                         const axis2_env_t *env);
00327     
00328     axis2_msg_info_headers_t* (AXIS2_CALL *
00329    get_msg_info_headers)(struct axis2_msg_ctx *msg_ctx, 
00330                           const axis2_env_t *env);
00334     axis2_bool_t (AXIS2_CALL *
00335    get_paused)(struct axis2_msg_ctx *msg_ctx, 
00336                 const axis2_env_t *env);
00337     
00340     axis2_status_t (AXIS2_CALL *
00341    set_paused)(struct axis2_msg_ctx *msg_ctx, 
00342                 const axis2_env_t *env, 
00343                 axis2_bool_t paused);
00344     
00348     struct axis2_transport_in_desc* (AXIS2_CALL *
00349    get_transport_in_desc)(struct axis2_msg_ctx *msg_ctx, 
00350                            const axis2_env_t *env);
00351     
00355     struct axis2_transport_out_desc* (AXIS2_CALL *
00356    get_transport_out_desc)(struct axis2_msg_ctx *msg_ctx, 
00357                             const axis2_env_t *env);
00358     
00362     axis2_status_t (AXIS2_CALL *
00363    set_transport_in_desc)(struct axis2_msg_ctx *msg_ctx, 
00364                            const axis2_env_t *env, 
00365                            struct axis2_transport_in_desc *transport_in_desc);
00366     
00370     axis2_status_t (AXIS2_CALL *
00371    set_transport_out_desc)(struct axis2_msg_ctx *msg_ctx, 
00372                             const axis2_env_t *env, 
00373                             struct axis2_transport_out_desc *transport_out_desc); 
00374     
00375     struct axis2_op_ctx* (AXIS2_CALL *
00376    get_op_ctx)(struct axis2_msg_ctx *msg_ctx, 
00377                 const axis2_env_t *env);
00378     
00382     axis2_status_t (AXIS2_CALL *
00383    set_op_ctx)(struct axis2_msg_ctx *msg_ctx, 
00384                 const axis2_env_t *env, 
00385                 struct axis2_op_ctx * op_ctx);
00386     
00390     axis2_bool_t (AXIS2_CALL *
00391    get_output_written)(struct axis2_msg_ctx *msg_ctx, 
00392                         const axis2_env_t *env);
00393     
00397     axis2_status_t (AXIS2_CALL *
00398    set_output_written)(struct axis2_msg_ctx *msg_ctx, 
00399                         const axis2_env_t *env,
00400                         axis2_bool_t output_written);
00401     
00405     axis2_char_t* (AXIS2_CALL *
00406    get_svc_ctx_id)(struct axis2_msg_ctx *msg_ctx, 
00407                     const axis2_env_t *env);
00408     
00412     axis2_status_t (AXIS2_CALL *
00413    set_svc_ctx_id)(struct axis2_msg_ctx *msg_ctx, 
00414                     const axis2_env_t *env,
00415                     axis2_char_t *svc_ctx_id);
00416     
00417     struct axis2_conf_ctx* (AXIS2_CALL *
00418    get_conf_ctx)(struct axis2_msg_ctx *msg_ctx, 
00419                   const axis2_env_t *env);
00420     
00424     struct axis2_svc_ctx* (AXIS2_CALL *
00425    get_svc_ctx)(struct axis2_msg_ctx *msg_ctx, 
00426                  const axis2_env_t *env);
00427     
00431     axis2_status_t (AXIS2_CALL *
00432    set_conf_ctx)(struct axis2_msg_ctx *msg_ctx, 
00433                   const axis2_env_t *env,
00434                   struct axis2_conf_ctx *conf_ctx);
00435     
00439     axis2_status_t (AXIS2_CALL *
00440    set_svc_ctx)(struct axis2_msg_ctx *msg_ctx, 
00441                  const axis2_env_t *env, 
00442                  struct axis2_svc_ctx *svc_ctx);
00443     
00447     axis2_status_t (AXIS2_CALL *
00448    set_msg_info_headers)(struct axis2_msg_ctx *msg_ctx, 
00449                           const axis2_env_t *env, 
00450                           axis2_msg_info_headers_t *msg_info_headers);
00451                                                 
00464     axis2_param_t* (AXIS2_CALL *
00465    get_parameter)(struct axis2_msg_ctx *msg_ctx, 
00466                    const axis2_env_t *env, 
00467                   const axis2_char_t *key);
00468     
00491     axis2_param_t* (AXIS2_CALL *
00492    get_module_parameter)(struct axis2_msg_ctx *msg_ctx, 
00493                      const axis2_env_t *env, 
00494                      axis2_char_t *key, 
00495                      axis2_char_t *module_name, 
00496                      axis2_handler_desc_t *handler_desc);
00497 
00507     axis2_property_t *(AXIS2_CALL *
00508     get_property)(
00509         struct axis2_msg_ctx *msg_ctx, 
00510         const axis2_env_t *env, 
00511         const axis2_char_t *key, 
00512         const axis2_bool_t persistent);
00513 
00514     axis2_status_t (AXIS2_CALL *
00515    set_property)(struct axis2_msg_ctx *msg_ctx, 
00516                const axis2_env_t *env, 
00517                const axis2_char_t *key, 
00518                axis2_property_t *value,
00519                axis2_bool_t persistent);
00523     axis2_qname_t* (AXIS2_CALL *
00524    get_paused_handler_name)(struct axis2_msg_ctx *msg_ctx, 
00525                              const axis2_env_t *env);
00526     
00530     axis2_char_t* (AXIS2_CALL *
00531    get_paused_phase_name)(struct axis2_msg_ctx *msg_ctx, 
00532                            const axis2_env_t *env);
00533     
00537     axis2_status_t (AXIS2_CALL *
00538    set_paused_phase_name)(struct axis2_msg_ctx *msg_ctx, 
00539                            const axis2_env_t *env, 
00540                            axis2_char_t *paused_phase_name);
00541     
00545     axis2_char_t* (AXIS2_CALL *
00546    get_soap_action)(struct axis2_msg_ctx *msg_ctx, 
00547                      const axis2_env_t *env);
00548     
00552     axis2_status_t (AXIS2_CALL *
00553    set_soap_action)(struct axis2_msg_ctx *msg_ctx, 
00554                      const axis2_env_t *env,
00555                      axis2_char_t *soap_action);
00556     
00560     axis2_bool_t (AXIS2_CALL *
00561    get_doing_mtom)(struct axis2_msg_ctx *msg_ctx, 
00562                     const axis2_env_t *env);
00563     
00567     axis2_status_t (AXIS2_CALL *
00568    set_doing_mtom)(struct axis2_msg_ctx *msg_ctx, 
00569                     const axis2_env_t *env,
00570                     axis2_bool_t doing_mtom);
00571     
00575     axis2_bool_t (AXIS2_CALL *
00576    get_doing_rest)(struct axis2_msg_ctx *msg_ctx, 
00577                     const axis2_env_t *env);
00578     
00582     axis2_status_t (AXIS2_CALL *
00583    set_doing_rest)(struct axis2_msg_ctx *msg_ctx, 
00584                     const axis2_env_t *env, 
00585                    axis2_bool_t doing_rest);
00586     
00587     axis2_status_t (AXIS2_CALL *
00588    set_do_rest_through_post)(struct axis2_msg_ctx *msg_ctx, 
00589                               const axis2_env_t *env, 
00590                               axis2_bool_t do_rest_through_post);
00591    
00592     
00593     axis2_bool_t (AXIS2_CALL *
00594    get_do_rest_through_post)(struct axis2_msg_ctx *msg_ctx, 
00595                               const axis2_env_t *env);
00596     
00597     axis2_bool_t (AXIS2_CALL *
00598    get_is_soap_11)(struct axis2_msg_ctx *msg_ctx, 
00599                     const axis2_env_t *env);
00600     
00601     axis2_status_t (AXIS2_CALL *
00602     set_is_soap_11)(struct axis2_msg_ctx *msg_ctx, 
00603                                 const axis2_env_t *env,
00604                                 axis2_bool_t is_soap11);
00605 
00606     struct axis2_svc_grp_ctx* (AXIS2_CALL *
00607    get_svc_grp_ctx)(struct axis2_msg_ctx *msg_ctx, 
00608                      const axis2_env_t *env);
00609     
00610     axis2_status_t (AXIS2_CALL *
00611    set_svc_grp_ctx)(struct axis2_msg_ctx *msg_ctx, 
00612                      const axis2_env_t *env, 
00613                      struct axis2_svc_grp_ctx *svc_grp_ctx);
00614     
00615     
00616     struct axis2_op* (AXIS2_CALL *
00617    get_op)(struct axis2_msg_ctx *msg_ctx, 
00618             const axis2_env_t *env);
00619     
00620    
00621     axis2_status_t (AXIS2_CALL *
00622    set_op)(struct axis2_msg_ctx *msg_ctx, 
00623             const axis2_env_t *env, 
00624             struct axis2_op *op);
00625             
00626     
00627     struct axis2_svc* (AXIS2_CALL *
00628    get_svc)(struct axis2_msg_ctx *msg_ctx, 
00629              const axis2_env_t *env);
00630     
00631    
00632     axis2_status_t (AXIS2_CALL *
00633    set_svc)(struct axis2_msg_ctx *msg_ctx, 
00634              const axis2_env_t *env, 
00635           struct axis2_svc *svc);
00636              
00637     
00638     struct axis2_svc_grp* (AXIS2_CALL *
00639    get_svc_grp)(struct axis2_msg_ctx *msg_ctx, 
00640                  const axis2_env_t *env);
00641     
00642     axis2_status_t (AXIS2_CALL *
00643    set_svc_grp)(struct axis2_msg_ctx *msg_ctx, 
00644                  const axis2_env_t *env, 
00645                  struct axis2_svc_grp *svc_grp);
00646     
00647              
00648     axis2_char_t* (AXIS2_CALL *
00649    get_svc_grp_ctx_id)(struct axis2_msg_ctx *msg_ctx, 
00650                         const axis2_env_t *env);
00651     
00652     axis2_status_t (AXIS2_CALL *
00653    set_svc_grp_ctx_id)(struct axis2_msg_ctx *msg_ctx, 
00654                         const axis2_env_t *env,
00655                         axis2_char_t *svc_grp_ctx_id);
00656 
00663     struct axis2_svc* (AXIS2_CALL *
00664    find_svc)(axis2_msg_ctx_t *msg_ctx, 
00665               const axis2_env_t *env);
00673     struct axis2_op* (AXIS2_CALL *
00674    find_op)(axis2_msg_ctx_t *msg_ctx,
00675              const axis2_env_t *env,
00676              struct axis2_svc *svc);
00677 
00681     axis2_bool_t (AXIS2_CALL *
00682    is_paused) (axis2_msg_ctx_t *msg_ctx,
00683                 const axis2_env_t *env);
00684              
00685     axis2_status_t (AXIS2_CALL *
00686    set_options )(
00687         axis2_msg_ctx_t *msg_ctx,
00688         const axis2_env_t *env,
00689         struct axis2_options *options);
00690 };
00691 
00696 struct axis2_msg_ctx
00697 {
00698     axis2_msg_ctx_ops_t *ops;    
00699 };
00700 
00701 
00702 AXIS2_EXTERN axis2_msg_ctx_t * AXIS2_CALL 
00703 axis2_msg_ctx_create (const axis2_env_t *env,
00704                         struct axis2_conf_ctx *conf_ctx,
00705                         struct axis2_transport_in_desc *transport_in_desc,
00706                         struct axis2_transport_out_desc *transport_out_des);
00707     
00708 /************************** Start of function macros **************************/
00709 
00710 
00711 #define AXIS2_MSG_CTX_GET_BASE(msg_ctx, env) \
00712       ((msg_ctx)->ops->get_base(msg_ctx, env))
00713                   
00714 #define AXIS2_MSG_CTX_GET_PARENT(msg_ctx, env) \
00715       ((msg_ctx)->ops->get_parent(msg_ctx, env))
00716                   
00717 #define AXIS2_MSG_CTX_SET_PARENT(msg_ctx, env, parent) \
00718       ((msg_ctx)->ops->get_parent(msg_ctx, env, parent))
00719         
00720 #define AXIS2_MSG_CTX_FREE(msg_ctx, env) \
00721       ((msg_ctx)->ops->free(msg_ctx, env))
00722                   
00723 #define AXIS2_MSG_CTX_INIT(msg_ctx, env, conf) \
00724       ((msg_ctx)->ops->init(msg_ctx, env, conf))
00725 
00726 #define AXIS2_MSG_CTX_GET_FAULT_TO(msg_ctx, env) \
00727       ((msg_ctx)->ops->get_fault_to(msg_ctx, env))
00728       
00729 #define AXIS2_MSG_CTX_GET_FROM(msg_ctx, env) \
00730       ((msg_ctx)->ops->get_from(msg_ctx, env))
00731         
00732 #define AXIS2_MSG_CTX_GET_IN_FAULT_FLOW(msg_ctx, env) \
00733       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env))
00734       
00735 #define AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env) \
00736       ((msg_ctx)->ops->get_soap_envelope(msg_ctx, env))
00737       
00738 #define AXIS2_MSG_CTX_GET_FAULT_SOAP_ENVELOPE(msg_ctx, env) \
00739       ((msg_ctx)->ops->get_fault_soap_envelope(msg_ctx, env))
00740       
00741 #define AXIS2_MSG_CTX_GET_MSG_ID(msg_ctx, env) \
00742       ((msg_ctx)->ops->get_msg_id(msg_ctx, env))
00743       
00744 #define AXIS2_MSG_CTX_GET_PROCESS_FAULT(msg_ctx, env) \
00745       ((msg_ctx)->ops->get_process_fault(msg_ctx, env))
00746       
00747 #define AXIS2_MSG_CTX_GET_RELATES_TO(msg_ctx, env) \
00748       ((msg_ctx)->ops->get_relates_to(msg_ctx, env))
00749       
00750 #define AXIS2_MSG_CTX_GET_REPLY_TO(msg_ctx, env) \
00751       ((msg_ctx)->ops->get_reply_to(msg_ctx, env))
00752       
00753 #define AXIS2_MSG_CTX_GET_RESPONSE_WRITTEN(msg_ctx, env) \
00754       ((msg_ctx)->ops->get_response_written(msg_ctx, env))
00755       
00756 #define AXIS2_MSG_CTX_GET_SERVER_SIDE(msg_ctx, env) \
00757       ((msg_ctx)->ops->get_server_side(msg_ctx, env))
00758       
00759 #define AXIS2_MSG_CTX_GET_TO(msg_ctx, env) \
00760       ((msg_ctx)->ops->get_to(msg_ctx, env))
00761       
00762 #define AXIS2_MSG_CTX_SET_FAULT_TO(msg_ctx, env, reference) \
00763       ((msg_ctx)->ops->set_fault_to(msg_ctx, env, reference))
00764       
00765 #define AXIS2_MSG_CTX_SET_FROM(msg_ctx, env, reference) \
00766       ((msg_ctx)->ops->set_from(msg_ctx, env, reference))
00767       
00768 #define AXIS2_MSG_CTX_SET_IN_FAULT_FLOW(msg_ctx, env, in_fault_flow) \
00769       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env, in_fault_flow))
00770       
00771 #define AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
00772       ((msg_ctx)->ops->set_soap_envelope(msg_ctx, env, soap_envelope))
00773       
00774 #define AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
00775       ((msg_ctx)->ops->set_fault_soap_envelope(msg_ctx, env, soap_envelope))
00776       
00777 #define AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id) \
00778       ((msg_ctx)->ops->set_message_id(msg_ctx, env, message_id))
00779       
00780 #define AXIS2_MSG_CTX_SET_PROCESS_FAULT(msg_ctx, env, process_fault) \
00781       ((msg_ctx)->ops->set_process_fault(msg_ctx, env, process_fault))
00782       
00783 #define AXIS2_MSG_CTX_SET_RELATES_TO(msg_ctx, env, reference) \
00784       ((msg_ctx)->ops->set_relates_to(msg_ctx, env, reference))
00785       
00786 #define AXIS2_MSG_CTX_SET_REPLY_TO(msg_ctx, env, reference) \
00787       ((msg_ctx)->ops->set_reply_to(msg_ctx, env, reference))
00788       
00789 #define AXIS2_MSG_CTX_SET_RESPONSE_WRITTEN(msg_ctx, env, response_written) \
00790       ((msg_ctx)->ops->set_response_written(msg_ctx, env, response_written))
00791       
00792 #define AXIS2_MSG_CTX_SET_SERVER_SIDE(msg_ctx, env, server_side) \
00793       ((msg_ctx)->ops->set_server_side(msg_ctx, env, server_side))
00794       
00795 #define AXIS2_MSG_CTX_SET_TO(msg_ctx, env, reference) \
00796       ((msg_ctx)->ops->set_to(msg_ctx, env, reference))
00797       
00798 #define AXIS2_MSG_CTX_GET_NEW_THREAD_REQUIRED(msg_ctx, env) \
00799       ((msg_ctx)->ops->set_response_written(msg_ctx, env))
00800       
00801 #define AXIS2_MSG_CTX_SET_NEW_THREAD_REQUIRED(msg_ctx, env, new_thread_required) \
00802       ((msg_ctx)->ops->set_response_written(msg_ctx, env, new_thread_required))
00803       
00804 #define AXIS2_MSG_CTX_SET_WSA_ACTION(msg_ctx, env, action_uri) \
00805       ((msg_ctx)->ops->set_wsa_action(msg_ctx, env, action_uri))
00806       
00807 #define AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env) \
00808       ((msg_ctx)->ops->get_wsa_action(msg_ctx, env))
00809       
00810 #define AXIS2_MSG_CTX_SET_WSA_MESSAGE_ID(msg_ctx, env, message_id) \
00811       ((msg_ctx)->ops->set_wsa_message_id(msg_ctx, env, message_id))
00812       
00813 #define AXIS2_MSG_CTX_GET_WSA_MESSAGE_ID(msg_ctx, env) \
00814       ((msg_ctx)->ops->get_wsa_message_id(msg_ctx, env))
00815       
00816 #define AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS(msg_ctx, env) \
00817       ((msg_ctx)->ops->get_msg_info_headers(msg_ctx, env))
00818       
00819 #define AXIS2_MSG_CTX_GET_PAUSED(msg_ctx, env) \
00820       ((msg_ctx)->ops->get_paused(msg_ctx, env))
00821       
00822 #define AXIS2_MSG_CTX_SET_PAUSED(msg_ctx, env, paused) \
00823       ((msg_ctx)->ops->set_paused(msg_ctx, env, paused))
00824       
00825 #define AXIS2_MSG_CTX_GET_TRANSPORT_IN_DESC(msg_ctx, env) \
00826       ((msg_ctx)->ops->get_transport_in_desc(msg_ctx, env))
00827       
00828 #define AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC(msg_ctx, env) \
00829       ((msg_ctx)->ops->get_transport_out_desc(msg_ctx, env))
00830       
00831 #define AXIS2_MSG_CTX_SET_TRANSPORT_IN_DESC(msg_ctx, env, transport_in_desc) \
00832       ((msg_ctx)->ops->set_transport_in_desc(msg_ctx, env, transport_in_desc))
00833       
00834 #define AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env, transport_out_desc) \
00835       ((msg_ctx)->ops->set_transport_out_desc(msg_ctx, env, transport_out_desc))
00836       
00837 #define AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env) \
00838       ((msg_ctx)->ops->get_op_ctx(msg_ctx, env))
00839       
00840 #define AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, op_ctx) \
00841       ((msg_ctx)->ops->set_op_ctx(msg_ctx, env, op_ctx))
00842       
00843 #define AXIS2_MSG_CTX_GET_OUTPUT_WRITTEN(msg_ctx, env) \
00844       ((msg_ctx)->ops->get_output_written(msg_ctx, env))
00845       
00846 #define AXIS2_MSG_CTX_SET_OUTPUT_WRITTEN(msg_ctx, env, output_written) \
00847       ((msg_ctx)->ops->set_output_written(msg_ctx, env, output_written))
00848       
00849 #define AXIS2_MSG_CTX_GET_SVC_CTX_ID(msg_ctx, env) \
00850       ((msg_ctx)->ops->get_svc_ctx_id(msg_ctx, env))
00851       
00852 #define AXIS2_MSG_CTX_SET_SVC_CTX_ID(msg_ctx, env, svc_ctx_id) \
00853       ((msg_ctx)->ops->set_svc_ctx_id(msg_ctx, env, svc_ctx_id))
00854       
00855 #define AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env) \
00856       ((msg_ctx)->ops->get_conf_ctx(msg_ctx, env))
00857       
00858 #define AXIS2_MSG_CTX_SET_CONF_CTX(msg_ctx, env, conf_ctx) \
00859       ((msg_ctx)->ops->set_conf_ctx(msg_ctx, env, conf_ctx))
00860       
00861 #define AXIS2_MSG_CTX_GET_SVC_CTX(msg_ctx, env) \
00862       ((msg_ctx)->ops->get_svc_ctx(msg_ctx, env))
00863       
00864 #define AXIS2_MSG_CTX_SET_SVC_CTX(msg_ctx, env, svc_ctx) \
00865       ((msg_ctx)->ops->set_svc_ctx(msg_ctx, env, svc_ctx))
00866       
00867 #define AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env, msg_info_headers) \
00868       ((msg_ctx)->ops->set_msg_info_headers(msg_ctx, env, msg_info_headers))
00869       
00870 #define AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, env, key) \
00871       ((msg_ctx)->ops->get_parameter(msg_ctx, env, key))
00872       
00873 #define AXIS2_MSG_CTX_GET_MODULE_PARAMETER(msg_ctx, env, key, module_name, handler_desc) \
00874       ((msg_ctx)->ops->get_module_parameter(msg_ctx, env, key, module_name, handler_desc))
00875       
00876 #define AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env, key, persistent) \
00877       ((msg_ctx)->ops->get_property(msg_ctx, env, key, persistent))
00878       
00879 #define AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env, key, value, persistent) \
00880       ((msg_ctx)->ops->set_property(msg_ctx, env, key, value, persistent))
00881       
00882 #define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_NAME(msg_ctx, env) \
00883       ((msg_ctx)->ops->get_paused_handler_name(msg_ctx, env))
00884       
00885 #define AXIS2_MSG_CTX_GET_PAUSED_PHASE_NAME(msg_ctx, env) \
00886       ((msg_ctx)->ops->get_paused_phase_name(msg_ctx, env))
00887       
00888 #define AXIS2_MSG_CTX_SET_PAUSED_PHASE_NAME(msg_ctx, env, paused_phase_name) \
00889       ((msg_ctx)->ops->set_paused_phase_name(msg_ctx, env, paused_phase_name))
00890       
00891 #define AXIS2_MSG_CTX_GET_SOAP_ACTION(msg_ctx, env) \
00892       ((msg_ctx)->ops->get_soap_action(msg_ctx, env))
00893       
00894 #define AXIS2_MSG_CTX_SET_SOAP_ACTION(msg_ctx, env, soap_action) \
00895       ((msg_ctx)->ops->set_soap_action(msg_ctx, env, soap_action))
00896       
00897 #define AXIS2_MSG_CTX_GET_DOING_MTOM(msg_ctx, env) \
00898       ((msg_ctx)->ops->get_doing_mtom(msg_ctx, env))
00899       
00900 #define AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx, env, doing_mtom) \
00901       ((msg_ctx)->ops->set_doing_mtom(msg_ctx, env, doing_mtom))
00902       
00903 #define AXIS2_MSG_CTX_GET_DOING_REST(msg_ctx, env) \
00904       ((msg_ctx)->ops->get_doing_rest(msg_ctx, env))
00905       
00906 #define AXIS2_MSG_CTX_SET_DOING_REST(msg_ctx, env, doing_rest) \
00907       ((msg_ctx)->ops->set_doing_rest(msg_ctx, env, doing_rest))
00908       
00909 #define AXIS2_MSG_CTX_SET_DO_REST_THROUGH_POST(msg_ctx, env, do_rest_through_post) \
00910       ((msg_ctx)->ops->set_do_rest_through_post(msg_ctx, env, do_rest_through_post))
00911       
00912 #define AXIS2_MSG_CTX_GET_IS_SOAP_11(msg_ctx, env) \
00913       ((msg_ctx)->ops->get_is_soap_11(msg_ctx, env))
00914       
00915 #define AXIS2_MSG_CTX_SET_IS_SOAP_11(msg_ctx, env, is_soap11) \
00916       ((msg_ctx)->ops->set_is_soap_11(msg_ctx, env, is_soap11))
00917       
00918 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX(msg_ctx, env) \
00919       ((msg_ctx)->ops->get_svc_grp_ctx(msg_ctx, env))
00920       
00921 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX(msg_ctx, env, svc_grp_ctx) \
00922       ((msg_ctx)->ops->set_svc_grp_ctx(msg_ctx, env, svc_grp_ctx))
00923       
00924 #define AXIS2_MSG_CTX_GET_OP(msg_ctx, env) \
00925       ((msg_ctx)->ops->get_op(msg_ctx, env))
00926       
00927 #define AXIS2_MSG_CTX_SET_OP(msg_ctx, env, op) \
00928       ((msg_ctx)->ops->set_op(msg_ctx, env, op))
00929       
00930 #define AXIS2_MSG_CTX_GET_SVC(msg_ctx, env) \
00931       ((msg_ctx)->ops->get_svc(msg_ctx, env))
00932       
00933 #define AXIS2_MSG_CTX_SET_SVC(msg_ctx, env, svc) \
00934       ((msg_ctx)->ops->set_svc(msg_ctx, env, svc))
00935       
00936 #define AXIS2_MSG_CTX_GET_SVC_GRP(msg_ctx, env) \
00937       ((msg_ctx)->ops->get_svc_grp(msg_ctx, env))
00938       
00939 #define AXIS2_MSG_CTX_SET_SVC_GRP(msg_ctx, env, svc_grp) \
00940       ((msg_ctx)->ops->set_svc_grp(msg_ctx, env, svc_grp))
00941       
00942 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX_ID(msg_ctx, env) \
00943       ((msg_ctx)->ops->get_svc_grp_ctx_id(msg_ctx, env))
00944       
00945 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX_ID(msg_ctx, env, svc_grp_ctx_id) \
00946       ((msg_ctx)->ops->set_svc_grp_ctx_id(msg_ctx, env, svc_grp_ctx_id))
00947       
00948 #define AXIS2_MSG_CTX_IS_PAUSED(msg_ctx, env) \
00949       ((msg_ctx)->ops->is_paused(msg_ctx, env))
00950       
00951 #define AXIS2_MSG_CTX_FIND_SVC(msg_ctx, env) \
00952       ((msg_ctx)->ops->find_svc(msg_ctx, env))
00953       
00954 #define AXIS2_MSG_CTX_FIND_OP(msg_ctx, env, svc) \
00955       ((msg_ctx)->ops->find_op(msg_ctx, env, svc))
00956       
00957 #define AXIS2_MSG_CTX_SET_OPTIONS(msg_ctx, env, options) \
00958       ((msg_ctx)->ops->set_options(msg_ctx, env, options))
00959 
00960 /************************** End of function macros ****************************/    
00961 
00963 #ifdef __cplusplus
00964 }
00965 #endif
00966 
00967 #endif                          /* AXIS2_MSG_CTX_H */

Generated on Fri Jun 16 18:02:31 2006 for Axis2/C by  doxygen 1.4.2